Line Coverage for Module :
prim_mubi8_sync
| Line No. | Total | Covered | Percent |
TOTAL | | 6 | 6 | 100.00 |
CONT_ASSIGN | 124 | 1 | 1 | 100.00 |
ALWAYS | 128 | 1 | 1 | 100.00 |
CONT_ASSIGN | 168 | 1 | 1 | 100.00 |
CONT_ASSIGN | 168 | 1 | 1 | 100.00 |
CONT_ASSIGN | 168 | 1 | 1 | 100.00 |
CONT_ASSIGN | 168 | 1 | 1 | 100.00 |
123 end else begin : gen_no_stable_chks
124 1/1 assign mubi = mubi_sync;
Tests: T1 T2 T3
125 `ifdef INC_ASSERT
126 mubi8_t mubi_in_sva_q;
127 always_ff @(posedge clk_i) begin
128 1/1 mubi_in_sva_q <= mubi_i;
Tests: T1 T2 T3
129 end
130 `ASSERT(OutputDelay_A,
131 rst_ni |-> ##3 (mubi_o == {NumCopies{$past(mubi_in_sva_q, 2)}} ||
132 $past(mubi_in_sva_q, 2) != $past(mubi_in_sva_q, 1)))
133 `endif
134 end
135 end else begin : gen_no_flops
136
137 //VCS coverage off
138 // pragma coverage off
139
140 // This unused companion logic helps remove lint errors
141 // for modules where clock and reset are used for assertions only
142 // This logic will be removed for synthesis since it is unloaded.
143 mubi8_t unused_logic;
144 always_ff @(posedge clk_i or negedge rst_ni) begin
145 if (!rst_ni) begin
146 unused_logic <= MuBi8False;
147 end else begin
148 unused_logic <= mubi_i;
149 end
150 end
151
152 //VCS coverage on
153 // pragma coverage on
154
155 assign mubi = MuBi8Width'(mubi_i);
156
157 `ASSERT(OutputDelay_A, mubi_o == {NumCopies{mubi_i}})
158 end
159
160 for (genvar j = 0; j < NumCopies; j++) begin : gen_buffs
161 logic [MuBi8Width-1:0] mubi_out;
162 for (genvar k = 0; k < MuBi8Width; k++) begin : gen_bits
163 prim_buf u_prim_buf (
164 .in_i(mubi[k]),
165 .out_o(mubi_out[k])
166 );
167 end
168 4/4 assign mubi_o[j] = mubi8_t'(mubi_out);
Tests: T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3
Assert Coverage for Module :
prim_mubi8_sync
Assertion Details
NumCopiesMustBeGreaterZero_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
250 |
250 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T6 |
1 |
1 |
0 |
0 |
T12 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T23 |
1 |
1 |
0 |
0 |
T48 |
1 |
1 |
0 |
0 |
T49 |
1 |
1 |
0 |
0 |
T50 |
1 |
1 |
0 |
0 |
OutputsKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
53568015 |
53515363 |
0 |
0 |
T1 |
10625 |
10527 |
0 |
0 |
T2 |
11112 |
11036 |
0 |
0 |
T3 |
26803 |
26713 |
0 |
0 |
T6 |
8131 |
8076 |
0 |
0 |
T12 |
7468 |
7418 |
0 |
0 |
T17 |
20064 |
19990 |
0 |
0 |
T23 |
14278 |
14209 |
0 |
0 |
T48 |
6490 |
6430 |
0 |
0 |
T49 |
50558 |
49214 |
0 |
0 |
T50 |
3291 |
3229 |
0 |
0 |
gen_flops.gen_no_stable_chks.OutputDelay_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
53568015 |
53513203 |
0 |
750 |
T1 |
10625 |
10524 |
0 |
3 |
T2 |
11112 |
11033 |
0 |
3 |
T3 |
26803 |
26710 |
0 |
3 |
T6 |
8131 |
8073 |
0 |
3 |
T12 |
7468 |
7415 |
0 |
3 |
T17 |
20064 |
19987 |
0 |
3 |
T23 |
14278 |
14206 |
0 |
3 |
T48 |
6490 |
6427 |
0 |
3 |
T49 |
50558 |
49151 |
0 |
3 |
T50 |
3291 |
3226 |
0 |
3 |