@@ -1153,8 +1153,8 @@ fold TB_TOP_LIB.TB_TOP.DUT.I_CPU_DATAPATH.I_INSTR_CACHE UNIT_TEST_LIB.CACHE_UNIT
1153
1153
.Ss Code coverage limitations
1154
1154
When part of the design hierarchy is formed by an if-generate-else or
1155
1155
case-generate statement, the hierarchical path of implicit block statements
1156
- for each of the if-else branches / case choices is the same unless
1157
- user uses alternative label for the branch or choice. Therefore code
1156
+ for each of the if-else branches / case choices is the same ( unless
1157
+ user uses alternative label for the branch or choice) . Therefore, code
1158
1158
coverage items in such distinc blocks will have equal hierarchical path.
1159
1159
Consider following example:
1160
1160
.Bd -literal -offset indent
@@ -1171,7 +1171,7 @@ When merging code coverage and generating code coverage report, NVC recognizes
1171
1171
these two coverage items are distinc despite their equal hierarchical path.
1172
1172
NVC distinguishes these two coverage items based on different location in the
1173
1173
source code. NVC does not merge such two items, and displays them separately
1174
- in the code coverage items (no aliasing will occur). However, since these two
1174
+ in the code coverage report (no aliasing will occur). However, since these two
1175
1175
coverage items have equal hierarchical paths, it is not possible to distinguish
1176
1176
them in the exclude file. Either both or none can be excluded.
1177
1177
Consider another example:
@@ -1184,10 +1184,10 @@ when op_sub => my_inst : entity work.ent
1184
1184
end generate my_gen;
1185
1185
.Ed
1186
1186
The two instances will have completely equal hierarchical paths. Since
1187
- they are both implemented by the same entity, all coverage items between
1188
- the two of them will have equal hierarchical paths as well as locations
1187
+ they are both implemented by the same entity, coverage items in these two
1188
+ instances will have equal hierarchical paths as well as locations
1189
1189
in the source code. Coverage data from these two instances will alias
1190
- and NVC will merge them together. To guarantee fine-grained exlude possibility
1190
+ and NVC will merge them together. To allow fine-grained control of exlcusions
1191
1191
or prevent aliasing in corner-cases, it is recommended to use alternative
1192
1192
labels for branches / choices of if-generage-else and case-generate
1193
1193
statements.
0 commit comments