You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hw/ip_templates/pwm/dv/README.md.tpl
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ that are common across the project:
40
40
41
41
${"###"} Global types & methods
42
42
All common types and methods defined at the package level can be found in
43
-
`pwm_env_pkg`. Some of them in use are:
43
+
`${module_instance_name}_env_pkg`. Some of them in use are:
44
44
```systemverilog
45
45
parameter uint NUM_PWM_CHANNELS = 6;
46
46
@@ -96,8 +96,8 @@ It can be created manually by invoking [`regtool`](../../../../../util/reggen/do
96
96
${"###"} Stimulus strategy
97
97
${"####"} Test sequences
98
98
All test sequences reside in `hw/ip/pwm/dv/env/seq_lib`.
99
-
The `pwm_base_vseq` virtual sequence is extended from `cip_base_vseq` and serves as a starting point.
100
-
All test sequences are extended from `pwm_base_vseq`.
99
+
The `${module_instance_name}_base_vseq` virtual sequence is extended from `cip_base_vseq` and serves as a starting point.
100
+
All test sequences are extended from `${module_instance_name}_base_vseq`.
101
101
It provides commonly-used handles, variables, functions and tasks that the test sequences can simple use / call.
102
102
103
103
Some of the most commonly-used tasks / functions are as follows:
@@ -115,7 +115,7 @@ The functional coverage plan can be found here: [coverageplan](#testplan)
115
115
116
116
${"###"} Self-checking strategy
117
117
${"####"} Scoreboard
118
-
The `pwm_scoreboard` is primarily used for transaction-by-transaction checking.
118
+
The `${module_instance_name}_scoreboard` is primarily used for transaction-by-transaction checking.
119
119
It creates the following analysis ports to retrieve the data monitored by corresponding interface agents:
120
120
* item_fifo[NUM_PWM_CHANNELS]: the FIFO w.r.t channels receives the dut items sent by the pwm_monitor
121
121
* exp_item : It is used to store the expected item constructed from tl address and data channels.
@@ -131,7 +131,7 @@ For blink and heart beat mode after an item is compared successfully the scorebo
131
131
If an error is found the scoreboard will throw an error.
132
132
133
133
${"####"} Assertions
134
-
* TLUL assertions: The `tb/pwm_bind.sv` binds the `tlul_assert` [assertions](../../../../ip/tlul/doc/TlulProtocolChecker.md) to the IP to ensure TileLink interface protocol compliance.
134
+
* TLUL assertions: The `tb/${module_instance_name}_bind.sv` binds the `tlul_assert` [assertions](../../../../ip/tlul/doc/TlulProtocolChecker.md) to the IP to ensure TileLink interface protocol compliance.
135
135
* Unknown checks on DUT outputs: The RTL has assertions to ensure all outputs are initialized to known values after coming out of reset.
0 commit comments