Line Coverage for Module :
alert_handler_accu
| Line No. | Total | Covered | Percent |
TOTAL | | 3 | 3 | 100.00 |
CONT_ASSIGN | 28 | 1 | 1 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
27 logic trig_gated, accu_en;
28 1/1 assign trig_gated = class_trig_i & class_en_i;
Tests: T1 T2 T3
29 1/1 assign accu_en = trig_gated && !(&accu_cnt_o);
Tests: T1 T2 T3
30
31 // SEC_CM: ACCU.CTR.REDUN
32 // We employ two redundant counters to guard against FI attacks.
33 // If any of the two is glitched and the two counter states do not agree,
34 // the check_fail_o signal is asserted which will move the corresponding escalation
35 // FSM into a terminal error state where all escalation actions will be permanently asserted.
36 prim_count #(
37 .Width(AccuCntDw),
38 // The alert handler behaves differently than other comportable IP. I.e., instead of sending out
39 // an alert signal, this condition is handled internally in the alert handler.
40 .EnableAlertTriggerSVA(0)
41 ) u_prim_count (
42 .clk_i,
43 .rst_ni,
44 .clr_i,
45 .set_i(1'b0),
46 .set_cnt_i('0),
47 .incr_en_i(accu_en),
48 .decr_en_i(1'b0),
49 .step_i(AccuCntDw'(1)),
50 .cnt_o(accu_cnt_o),
51 .commit_i(1'b1),
52 .cnt_after_commit_o(),
53 .err_o(accu_fail_o)
54 );
55
56 1/1 assign accu_trig_o = (accu_cnt_o >= thresh_i) & trig_gated;
Tests: T1 T2 T3
Cond Coverage for Module :
alert_handler_accu
| Total | Covered | Percent |
Conditions | 9 | 9 | 100.00 |
Logical | 9 | 9 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 28
EXPRESSION (class_trig_i & class_en_i)
------1----- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T4,T12 |
1 | 1 | Covered | T1,T2,T3 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T3,T25 |
1 | 1 | Covered | T1,T2,T3 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
Assert Coverage for Module :
alert_handler_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
13403 |
0 |
0 |
T1 |
0 |
205 |
0 |
0 |
T3 |
967 |
189 |
0 |
0 |
T4 |
19435 |
0 |
0 |
0 |
T8 |
108232 |
0 |
0 |
0 |
T9 |
63610 |
0 |
0 |
0 |
T11 |
14223 |
0 |
0 |
0 |
T12 |
31216 |
0 |
0 |
0 |
T13 |
27107 |
0 |
0 |
0 |
T14 |
22215 |
0 |
0 |
0 |
T19 |
47787 |
0 |
0 |
0 |
T25 |
3198 |
889 |
0 |
0 |
T32 |
31366 |
0 |
0 |
0 |
T33 |
24526 |
0 |
0 |
0 |
T40 |
12083 |
0 |
0 |
0 |
T47 |
20995 |
0 |
0 |
0 |
T49 |
30922 |
0 |
0 |
0 |
T53 |
37255 |
0 |
0 |
0 |
T54 |
24976 |
0 |
0 |
0 |
T55 |
4294 |
951 |
0 |
0 |
T75 |
1155 |
269 |
0 |
0 |
T77 |
0 |
925 |
0 |
0 |
T133 |
0 |
407 |
0 |
0 |
T148 |
0 |
451 |
0 |
0 |
T151 |
3976 |
0 |
0 |
0 |
T219 |
0 |
425 |
0 |
0 |
T251 |
0 |
837 |
0 |
0 |
T252 |
0 |
187 |
0 |
0 |
T253 |
0 |
945 |
0 |
0 |
T254 |
0 |
500 |
0 |
0 |
T255 |
0 |
1036 |
0 |
0 |
T256 |
0 |
558 |
0 |
0 |
T257 |
0 |
791 |
0 |
0 |
T258 |
0 |
1878 |
0 |
0 |
T259 |
0 |
357 |
0 |
0 |
T260 |
0 |
845 |
0 |
0 |
T261 |
0 |
758 |
0 |
0 |
T262 |
123691 |
0 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
775847 |
0 |
0 |
T1 |
905 |
4 |
0 |
0 |
T2 |
24696 |
12 |
0 |
0 |
T3 |
3868 |
6 |
0 |
0 |
T4 |
77740 |
0 |
0 |
0 |
T11 |
56892 |
32 |
0 |
0 |
T12 |
124864 |
0 |
0 |
0 |
T13 |
108428 |
483 |
0 |
0 |
T14 |
88860 |
0 |
0 |
0 |
T24 |
0 |
9 |
0 |
0 |
T25 |
0 |
10 |
0 |
0 |
T27 |
0 |
28 |
0 |
0 |
T29 |
0 |
33 |
0 |
0 |
T30 |
0 |
6 |
0 |
0 |
T32 |
125464 |
39 |
0 |
0 |
T33 |
98104 |
14 |
0 |
0 |
T42 |
0 |
369 |
0 |
0 |
T47 |
62985 |
18 |
0 |
0 |
T51 |
0 |
3 |
0 |
0 |
T52 |
0 |
37 |
0 |
0 |
T53 |
0 |
9 |
0 |
0 |
T54 |
0 |
22 |
0 |
0 |
T55 |
0 |
16 |
0 |
0 |
T56 |
0 |
43 |
0 |
0 |
T57 |
0 |
24 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
1479896524 |
0 |
0 |
T1 |
3620 |
2416 |
0 |
0 |
T2 |
24696 |
10651 |
0 |
0 |
T3 |
3868 |
2464 |
0 |
0 |
T4 |
77740 |
25316 |
0 |
0 |
T11 |
56892 |
43026 |
0 |
0 |
T12 |
124864 |
56062 |
0 |
0 |
T13 |
108428 |
17411 |
0 |
0 |
T14 |
88860 |
64481 |
0 |
0 |
T32 |
125464 |
95848 |
0 |
0 |
T33 |
98104 |
30802 |
0 |
0 |
Line Coverage for Instance : tb.dut.gen_classes[0].u_accu
| Line No. | Total | Covered | Percent |
TOTAL | | 3 | 3 | 100.00 |
CONT_ASSIGN | 28 | 1 | 1 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
27 logic trig_gated, accu_en;
28 1/1 assign trig_gated = class_trig_i & class_en_i;
Tests: T1 T2 T3
29 1/1 assign accu_en = trig_gated && !(&accu_cnt_o);
Tests: T2 T4 T11
30
31 // SEC_CM: ACCU.CTR.REDUN
32 // We employ two redundant counters to guard against FI attacks.
33 // If any of the two is glitched and the two counter states do not agree,
34 // the check_fail_o signal is asserted which will move the corresponding escalation
35 // FSM into a terminal error state where all escalation actions will be permanently asserted.
36 prim_count #(
37 .Width(AccuCntDw),
38 // The alert handler behaves differently than other comportable IP. I.e., instead of sending out
39 // an alert signal, this condition is handled internally in the alert handler.
40 .EnableAlertTriggerSVA(0)
41 ) u_prim_count (
42 .clk_i,
43 .rst_ni,
44 .clr_i,
45 .set_i(1'b0),
46 .set_cnt_i('0),
47 .incr_en_i(accu_en),
48 .decr_en_i(1'b0),
49 .step_i(AccuCntDw'(1)),
50 .cnt_o(accu_cnt_o),
51 .commit_i(1'b1),
52 .cnt_after_commit_o(),
53 .err_o(accu_fail_o)
54 );
55
56 1/1 assign accu_trig_o = (accu_cnt_o >= thresh_i) & trig_gated;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.gen_classes[0].u_accu
| Total | Covered | Percent |
Conditions | 9 | 9 | 100.00 |
Logical | 9 | 9 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 28
EXPRESSION (class_trig_i & class_en_i)
------1----- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T4,T12 |
1 | 1 | Covered | T2,T11,T12 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T75,T133,T77 |
1 | 1 | Covered | T2,T11,T12 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T12,T32 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T11,T32 |
Assert Coverage for Instance : tb.dut.gen_classes[0].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
4324 |
0 |
0 |
T8 |
108232 |
0 |
0 |
0 |
T19 |
47787 |
0 |
0 |
0 |
T40 |
12083 |
0 |
0 |
0 |
T49 |
30922 |
0 |
0 |
0 |
T53 |
37255 |
0 |
0 |
0 |
T54 |
24976 |
0 |
0 |
0 |
T55 |
4294 |
0 |
0 |
0 |
T75 |
1155 |
269 |
0 |
0 |
T77 |
0 |
925 |
0 |
0 |
T133 |
0 |
407 |
0 |
0 |
T151 |
3976 |
0 |
0 |
0 |
T258 |
0 |
1878 |
0 |
0 |
T260 |
0 |
845 |
0 |
0 |
T262 |
123691 |
0 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
243038 |
0 |
0 |
T2 |
6174 |
4 |
0 |
0 |
T3 |
967 |
0 |
0 |
0 |
T4 |
19435 |
0 |
0 |
0 |
T11 |
14223 |
32 |
0 |
0 |
T12 |
31216 |
0 |
0 |
0 |
T13 |
27107 |
449 |
0 |
0 |
T14 |
22215 |
0 |
0 |
0 |
T27 |
0 |
12 |
0 |
0 |
T29 |
0 |
33 |
0 |
0 |
T30 |
0 |
6 |
0 |
0 |
T32 |
31366 |
39 |
0 |
0 |
T33 |
24526 |
6 |
0 |
0 |
T42 |
0 |
39 |
0 |
0 |
T47 |
20995 |
0 |
0 |
0 |
T52 |
0 |
37 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
312246353 |
0 |
0 |
T1 |
905 |
598 |
0 |
0 |
T2 |
6174 |
2832 |
0 |
0 |
T3 |
967 |
610 |
0 |
0 |
T4 |
19435 |
6329 |
0 |
0 |
T11 |
14223 |
582 |
0 |
0 |
T12 |
31216 |
24650 |
0 |
0 |
T13 |
27107 |
2036 |
0 |
0 |
T14 |
22215 |
22128 |
0 |
0 |
T32 |
31366 |
1987 |
0 |
0 |
T33 |
24526 |
582 |
0 |
0 |
Line Coverage for Instance : tb.dut.gen_classes[1].u_accu
| Line No. | Total | Covered | Percent |
TOTAL | | 3 | 3 | 100.00 |
CONT_ASSIGN | 28 | 1 | 1 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
27 logic trig_gated, accu_en;
28 1/1 assign trig_gated = class_trig_i & class_en_i;
Tests: T1 T2 T3
29 1/1 assign accu_en = trig_gated && !(&accu_cnt_o);
Tests: T2 T3 T4
30
31 // SEC_CM: ACCU.CTR.REDUN
32 // We employ two redundant counters to guard against FI attacks.
33 // If any of the two is glitched and the two counter states do not agree,
34 // the check_fail_o signal is asserted which will move the corresponding escalation
35 // FSM into a terminal error state where all escalation actions will be permanently asserted.
36 prim_count #(
37 .Width(AccuCntDw),
38 // The alert handler behaves differently than other comportable IP. I.e., instead of sending out
39 // an alert signal, this condition is handled internally in the alert handler.
40 .EnableAlertTriggerSVA(0)
41 ) u_prim_count (
42 .clk_i,
43 .rst_ni,
44 .clr_i,
45 .set_i(1'b0),
46 .set_cnt_i('0),
47 .incr_en_i(accu_en),
48 .decr_en_i(1'b0),
49 .step_i(AccuCntDw'(1)),
50 .cnt_o(accu_cnt_o),
51 .commit_i(1'b1),
52 .cnt_after_commit_o(),
53 .err_o(accu_fail_o)
54 );
55
56 1/1 assign accu_trig_o = (accu_cnt_o >= thresh_i) & trig_gated;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.gen_classes[1].u_accu
| Total | Covered | Percent |
Conditions | 9 | 9 | 100.00 |
Logical | 9 | 9 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 28
EXPRESSION (class_trig_i & class_en_i)
------1----- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T14,T33,T47 |
1 | 1 | Covered | T2,T3,T12 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T55,T254 |
1 | 1 | Covered | T2,T3,T12 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T12 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T13 |
Assert Coverage for Instance : tb.dut.gen_classes[1].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
3101 |
0 |
0 |
T3 |
967 |
189 |
0 |
0 |
T4 |
19435 |
0 |
0 |
0 |
T9 |
63610 |
0 |
0 |
0 |
T11 |
14223 |
0 |
0 |
0 |
T12 |
31216 |
0 |
0 |
0 |
T13 |
27107 |
0 |
0 |
0 |
T14 |
22215 |
0 |
0 |
0 |
T32 |
31366 |
0 |
0 |
0 |
T33 |
24526 |
0 |
0 |
0 |
T47 |
20995 |
0 |
0 |
0 |
T55 |
0 |
951 |
0 |
0 |
T219 |
0 |
425 |
0 |
0 |
T254 |
0 |
500 |
0 |
0 |
T255 |
0 |
1036 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
181704 |
0 |
0 |
T2 |
6174 |
4 |
0 |
0 |
T3 |
967 |
6 |
0 |
0 |
T4 |
19435 |
0 |
0 |
0 |
T11 |
14223 |
0 |
0 |
0 |
T12 |
31216 |
0 |
0 |
0 |
T13 |
27107 |
18 |
0 |
0 |
T14 |
22215 |
0 |
0 |
0 |
T24 |
0 |
2 |
0 |
0 |
T32 |
31366 |
0 |
0 |
0 |
T33 |
24526 |
0 |
0 |
0 |
T42 |
0 |
6 |
0 |
0 |
T47 |
20995 |
5 |
0 |
0 |
T53 |
0 |
3 |
0 |
0 |
T55 |
0 |
16 |
0 |
0 |
T56 |
0 |
6 |
0 |
0 |
T57 |
0 |
24 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
412486860 |
0 |
0 |
T1 |
905 |
602 |
0 |
0 |
T2 |
6174 |
851 |
0 |
0 |
T3 |
967 |
614 |
0 |
0 |
T4 |
19435 |
6329 |
0 |
0 |
T11 |
14223 |
14148 |
0 |
0 |
T12 |
31216 |
3053 |
0 |
0 |
T13 |
27107 |
2044 |
0 |
0 |
T14 |
22215 |
14647 |
0 |
0 |
T32 |
31366 |
31287 |
0 |
0 |
T33 |
24526 |
5193 |
0 |
0 |
Line Coverage for Instance : tb.dut.gen_classes[2].u_accu
| Line No. | Total | Covered | Percent |
TOTAL | | 3 | 3 | 100.00 |
CONT_ASSIGN | 28 | 1 | 1 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
27 logic trig_gated, accu_en;
28 1/1 assign trig_gated = class_trig_i & class_en_i;
Tests: T1 T2 T3
29 1/1 assign accu_en = trig_gated && !(&accu_cnt_o);
Tests: T2 T4 T11
30
31 // SEC_CM: ACCU.CTR.REDUN
32 // We employ two redundant counters to guard against FI attacks.
33 // If any of the two is glitched and the two counter states do not agree,
34 // the check_fail_o signal is asserted which will move the corresponding escalation
35 // FSM into a terminal error state where all escalation actions will be permanently asserted.
36 prim_count #(
37 .Width(AccuCntDw),
38 // The alert handler behaves differently than other comportable IP. I.e., instead of sending out
39 // an alert signal, this condition is handled internally in the alert handler.
40 .EnableAlertTriggerSVA(0)
41 ) u_prim_count (
42 .clk_i,
43 .rst_ni,
44 .clr_i,
45 .set_i(1'b0),
46 .set_cnt_i('0),
47 .incr_en_i(accu_en),
48 .decr_en_i(1'b0),
49 .step_i(AccuCntDw'(1)),
50 .cnt_o(accu_cnt_o),
51 .commit_i(1'b1),
52 .cnt_after_commit_o(),
53 .err_o(accu_fail_o)
54 );
55
56 1/1 assign accu_trig_o = (accu_cnt_o >= thresh_i) & trig_gated;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.gen_classes[2].u_accu
| Total | Covered | Percent |
Conditions | 9 | 9 | 100.00 |
Logical | 9 | 9 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 28
EXPRESSION (class_trig_i & class_en_i)
------1----- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T12,T14 |
1 | 1 | Covered | T2,T12,T14 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T25,T251,T148 |
1 | 1 | Covered | T2,T12,T14 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T12,T14,T13 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T13,T33 |
Assert Coverage for Instance : tb.dut.gen_classes[2].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
3279 |
0 |
0 |
T6 |
31438 |
0 |
0 |
0 |
T15 |
47695 |
0 |
0 |
0 |
T25 |
3198 |
889 |
0 |
0 |
T26 |
31680 |
0 |
0 |
0 |
T27 |
40056 |
0 |
0 |
0 |
T28 |
7785 |
0 |
0 |
0 |
T29 |
64024 |
0 |
0 |
0 |
T30 |
70800 |
0 |
0 |
0 |
T42 |
77912 |
0 |
0 |
0 |
T51 |
66533 |
0 |
0 |
0 |
T148 |
0 |
451 |
0 |
0 |
T251 |
0 |
837 |
0 |
0 |
T252 |
0 |
187 |
0 |
0 |
T256 |
0 |
558 |
0 |
0 |
T259 |
0 |
357 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
174022 |
0 |
0 |
T2 |
6174 |
3 |
0 |
0 |
T3 |
967 |
0 |
0 |
0 |
T4 |
19435 |
0 |
0 |
0 |
T11 |
14223 |
0 |
0 |
0 |
T12 |
31216 |
0 |
0 |
0 |
T13 |
27107 |
7 |
0 |
0 |
T14 |
22215 |
0 |
0 |
0 |
T25 |
0 |
10 |
0 |
0 |
T27 |
0 |
8 |
0 |
0 |
T32 |
31366 |
0 |
0 |
0 |
T33 |
24526 |
8 |
0 |
0 |
T42 |
0 |
290 |
0 |
0 |
T47 |
20995 |
13 |
0 |
0 |
T51 |
0 |
3 |
0 |
0 |
T53 |
0 |
2 |
0 |
0 |
T54 |
0 |
2 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
373991347 |
0 |
0 |
T1 |
905 |
606 |
0 |
0 |
T2 |
6174 |
4136 |
0 |
0 |
T3 |
967 |
618 |
0 |
0 |
T4 |
19435 |
6329 |
0 |
0 |
T11 |
14223 |
14148 |
0 |
0 |
T12 |
31216 |
9573 |
0 |
0 |
T13 |
27107 |
11267 |
0 |
0 |
T14 |
22215 |
8473 |
0 |
0 |
T32 |
31366 |
31287 |
0 |
0 |
T33 |
24526 |
1628 |
0 |
0 |
Line Coverage for Instance : tb.dut.gen_classes[3].u_accu
| Line No. | Total | Covered | Percent |
TOTAL | | 3 | 3 | 100.00 |
CONT_ASSIGN | 28 | 1 | 1 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
27 logic trig_gated, accu_en;
28 1/1 assign trig_gated = class_trig_i & class_en_i;
Tests: T1 T2 T3
29 1/1 assign accu_en = trig_gated && !(&accu_cnt_o);
Tests: T1 T2 T4
30
31 // SEC_CM: ACCU.CTR.REDUN
32 // We employ two redundant counters to guard against FI attacks.
33 // If any of the two is glitched and the two counter states do not agree,
34 // the check_fail_o signal is asserted which will move the corresponding escalation
35 // FSM into a terminal error state where all escalation actions will be permanently asserted.
36 prim_count #(
37 .Width(AccuCntDw),
38 // The alert handler behaves differently than other comportable IP. I.e., instead of sending out
39 // an alert signal, this condition is handled internally in the alert handler.
40 .EnableAlertTriggerSVA(0)
41 ) u_prim_count (
42 .clk_i,
43 .rst_ni,
44 .clr_i,
45 .set_i(1'b0),
46 .set_cnt_i('0),
47 .incr_en_i(accu_en),
48 .decr_en_i(1'b0),
49 .step_i(AccuCntDw'(1)),
50 .cnt_o(accu_cnt_o),
51 .commit_i(1'b1),
52 .cnt_after_commit_o(),
53 .err_o(accu_fail_o)
54 );
55
56 1/1 assign accu_trig_o = (accu_cnt_o >= thresh_i) & trig_gated;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.gen_classes[3].u_accu
| Total | Covered | Percent |
Conditions | 9 | 9 | 100.00 |
Logical | 9 | 9 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 28
EXPRESSION (class_trig_i & class_en_i)
------1----- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T12,T14 |
1 | 1 | Covered | T1,T2,T12 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T253,T257 |
1 | 1 | Covered | T1,T2,T12 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T12 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T13 |
Assert Coverage for Instance : tb.dut.gen_classes[3].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
2699 |
0 |
0 |
T1 |
905 |
205 |
0 |
0 |
T2 |
6174 |
0 |
0 |
0 |
T3 |
967 |
0 |
0 |
0 |
T4 |
19435 |
0 |
0 |
0 |
T11 |
14223 |
0 |
0 |
0 |
T12 |
31216 |
0 |
0 |
0 |
T13 |
27107 |
0 |
0 |
0 |
T14 |
22215 |
0 |
0 |
0 |
T32 |
31366 |
0 |
0 |
0 |
T33 |
24526 |
0 |
0 |
0 |
T253 |
0 |
945 |
0 |
0 |
T257 |
0 |
791 |
0 |
0 |
T261 |
0 |
758 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
177083 |
0 |
0 |
T1 |
905 |
4 |
0 |
0 |
T2 |
6174 |
1 |
0 |
0 |
T3 |
967 |
0 |
0 |
0 |
T4 |
19435 |
0 |
0 |
0 |
T11 |
14223 |
0 |
0 |
0 |
T12 |
31216 |
0 |
0 |
0 |
T13 |
27107 |
9 |
0 |
0 |
T14 |
22215 |
0 |
0 |
0 |
T24 |
0 |
7 |
0 |
0 |
T27 |
0 |
8 |
0 |
0 |
T32 |
31366 |
0 |
0 |
0 |
T33 |
24526 |
0 |
0 |
0 |
T42 |
0 |
34 |
0 |
0 |
T53 |
0 |
4 |
0 |
0 |
T54 |
0 |
20 |
0 |
0 |
T56 |
0 |
37 |
0 |
0 |
T144 |
0 |
33 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
653253201 |
381171964 |
0 |
0 |
T1 |
905 |
610 |
0 |
0 |
T2 |
6174 |
2832 |
0 |
0 |
T3 |
967 |
622 |
0 |
0 |
T4 |
19435 |
6329 |
0 |
0 |
T11 |
14223 |
14148 |
0 |
0 |
T12 |
31216 |
18786 |
0 |
0 |
T13 |
27107 |
2064 |
0 |
0 |
T14 |
22215 |
19233 |
0 |
0 |
T32 |
31366 |
31287 |
0 |
0 |
T33 |
24526 |
23399 |
0 |
0 |