@@ -1106,8 +1106,8 @@ fold TB_TOP_LIB.TB_TOP.DUT.I_CPU_DATAPATH.I_INSTR_CACHE UNIT_TEST_LIB.CACHE_UNIT
1106
1106
.Ss Code coverage limitations
1107
1107
When part of the design hierarchy is formed by an if-generate-else or
1108
1108
case-generate statement, the hierarchical path of implicit block statements
1109
- for each of the if-else branches / case choices is the same unless
1110
- user uses alternative label for the branch or choice. Therefore code
1109
+ for each of the if-else branches / case choices is the same ( unless
1110
+ user uses alternative label for the branch or choice) . Therefore, code
1111
1111
coverage items in such distinc blocks will have equal hierarchical path.
1112
1112
Consider following example:
1113
1113
.Bd -literal -offset indent
@@ -1124,7 +1124,7 @@ When merging code coverage and generating code coverage report, NVC recognizes
1124
1124
these two coverage items are distinc despite their equal hierarchical path.
1125
1125
NVC distinguishes these two coverage items based on different location in the
1126
1126
source code. NVC does not merge such two items, and displays them separately
1127
- in the code coverage items (no aliasing will occur). However, since these two
1127
+ in the code coverage report (no aliasing will occur). However, since these two
1128
1128
coverage items have equal hierarchical paths, it is not possible to distinguish
1129
1129
them in the exclude file. Either both or none can be excluded.
1130
1130
Consider another example:
@@ -1137,10 +1137,10 @@ when op_sub => my_inst : entity work.ent
1137
1137
end generate my_gen;
1138
1138
.Ed
1139
1139
The two instances will have completely equal hierarchical paths. Since
1140
- they are both implemented by the same entity, all coverage items between
1141
- the two of them will have equal hierarchical paths as well as locations
1140
+ they are both implemented by the same entity, coverage items in these two
1141
+ instances will have equal hierarchical paths as well as locations
1142
1142
in the source code. Coverage data from these two instances will alias
1143
- and NVC will merge them together. To guarantee fine-grained exlude possibility
1143
+ and NVC will merge them together. To allow fine-grained control of exlcusions
1144
1144
or prevent aliasing in corner-cases, it is recommended to use alternative
1145
1145
labels for branches / choices of if-generage-else and case-generate
1146
1146
statements.
0 commit comments