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 | T1,T10,T11 |
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 | T3,T15,T28 |
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 | T2,T3,T10 |
Assert Coverage for Module :
alert_handler_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
14310 |
0 |
0 |
T3 |
4070 |
1057 |
0 |
0 |
T4 |
9209 |
0 |
0 |
0 |
T10 |
10559 |
0 |
0 |
0 |
T11 |
25614 |
0 |
0 |
0 |
T13 |
17053 |
0 |
0 |
0 |
T15 |
4382 |
944 |
0 |
0 |
T16 |
18381 |
0 |
0 |
0 |
T24 |
25699 |
0 |
0 |
0 |
T25 |
37303 |
0 |
0 |
0 |
T26 |
91718 |
0 |
0 |
0 |
T28 |
3406 |
1003 |
0 |
0 |
T31 |
515037 |
0 |
0 |
0 |
T46 |
0 |
290 |
0 |
0 |
T54 |
328050 |
0 |
0 |
0 |
T74 |
0 |
446 |
0 |
0 |
T80 |
0 |
1052 |
0 |
0 |
T109 |
0 |
530 |
0 |
0 |
T115 |
44576 |
0 |
0 |
0 |
T116 |
857759 |
0 |
0 |
0 |
T117 |
400039 |
0 |
0 |
0 |
T118 |
0 |
791 |
0 |
0 |
T150 |
76556 |
0 |
0 |
0 |
T152 |
0 |
245 |
0 |
0 |
T229 |
0 |
1042 |
0 |
0 |
T230 |
988 |
214 |
0 |
0 |
T231 |
0 |
609 |
0 |
0 |
T232 |
0 |
930 |
0 |
0 |
T233 |
0 |
755 |
0 |
0 |
T234 |
0 |
867 |
0 |
0 |
T235 |
0 |
275 |
0 |
0 |
T236 |
0 |
968 |
0 |
0 |
T237 |
0 |
941 |
0 |
0 |
T238 |
0 |
391 |
0 |
0 |
T239 |
0 |
960 |
0 |
0 |
T240 |
3748 |
0 |
0 |
0 |
T241 |
467771 |
0 |
0 |
0 |
T242 |
424467 |
0 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
683657 |
0 |
0 |
T2 |
21393 |
7 |
0 |
0 |
T3 |
4070 |
21 |
0 |
0 |
T4 |
27627 |
0 |
0 |
0 |
T5 |
237036 |
0 |
0 |
0 |
T6 |
13145 |
0 |
0 |
0 |
T10 |
21118 |
13 |
0 |
0 |
T11 |
76842 |
55 |
0 |
0 |
T12 |
14185 |
14 |
0 |
0 |
T13 |
68212 |
34 |
0 |
0 |
T14 |
0 |
478 |
0 |
0 |
T15 |
17528 |
0 |
0 |
0 |
T16 |
55143 |
0 |
0 |
0 |
T19 |
0 |
17 |
0 |
0 |
T24 |
102796 |
9 |
0 |
0 |
T25 |
149212 |
32 |
0 |
0 |
T26 |
275154 |
84 |
0 |
0 |
T27 |
17238 |
3 |
0 |
0 |
T28 |
3406 |
16 |
0 |
0 |
T29 |
0 |
2 |
0 |
0 |
T30 |
0 |
18 |
0 |
0 |
T35 |
0 |
18 |
0 |
0 |
T37 |
0 |
30 |
0 |
0 |
T40 |
0 |
25 |
0 |
0 |
T51 |
0 |
14 |
0 |
0 |
T52 |
0 |
162 |
0 |
0 |
T53 |
0 |
3 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
1182250812 |
0 |
0 |
T1 |
101588 |
43110 |
0 |
0 |
T2 |
85572 |
62356 |
0 |
0 |
T3 |
16280 |
10879 |
0 |
0 |
T4 |
36836 |
3432 |
0 |
0 |
T10 |
42236 |
30230 |
0 |
0 |
T11 |
102456 |
62235 |
0 |
0 |
T15 |
17528 |
13061 |
0 |
0 |
T16 |
73524 |
53817 |
0 |
0 |
T24 |
102796 |
77355 |
0 |
0 |
T25 |
149212 |
78797 |
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: 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 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 | T1,T10,T11 |
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 | T3,T152,T236 |
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 | T2,T3,T10 |
Assert Coverage for Instance : tb.dut.gen_classes[0].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
3211 |
0 |
0 |
T3 |
4070 |
1057 |
0 |
0 |
T4 |
9209 |
0 |
0 |
0 |
T10 |
10559 |
0 |
0 |
0 |
T11 |
25614 |
0 |
0 |
0 |
T13 |
17053 |
0 |
0 |
0 |
T15 |
4382 |
0 |
0 |
0 |
T16 |
18381 |
0 |
0 |
0 |
T24 |
25699 |
0 |
0 |
0 |
T25 |
37303 |
0 |
0 |
0 |
T26 |
91718 |
0 |
0 |
0 |
T152 |
0 |
245 |
0 |
0 |
T236 |
0 |
968 |
0 |
0 |
T237 |
0 |
941 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
181498 |
0 |
0 |
T2 |
21393 |
7 |
0 |
0 |
T3 |
4070 |
21 |
0 |
0 |
T4 |
9209 |
0 |
0 |
0 |
T10 |
10559 |
6 |
0 |
0 |
T11 |
25614 |
2 |
0 |
0 |
T12 |
0 |
14 |
0 |
0 |
T13 |
17053 |
0 |
0 |
0 |
T15 |
4382 |
0 |
0 |
0 |
T16 |
18381 |
0 |
0 |
0 |
T24 |
25699 |
9 |
0 |
0 |
T25 |
37303 |
17 |
0 |
0 |
T26 |
0 |
84 |
0 |
0 |
T27 |
0 |
3 |
0 |
0 |
T29 |
0 |
1 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
266300915 |
0 |
0 |
T1 |
25397 |
8519 |
0 |
0 |
T2 |
21393 |
582 |
0 |
0 |
T3 |
4070 |
2696 |
0 |
0 |
T4 |
9209 |
852 |
0 |
0 |
T10 |
10559 |
2087 |
0 |
0 |
T11 |
25614 |
23964 |
0 |
0 |
T15 |
4382 |
3230 |
0 |
0 |
T16 |
18381 |
14661 |
0 |
0 |
T24 |
25699 |
14592 |
0 |
0 |
T25 |
37303 |
2166 |
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: T1 T2 T10
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,T3,T10 |
1 | 0 | Covered | T1,T10,T11 |
1 | 1 | Covered | T1,T11,T16 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T230,T231 |
1 | 1 | Covered | T1,T11,T16 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T11,T16 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T11,T4,T13 |
Assert Coverage for Instance : tb.dut.gen_classes[1].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
823 |
0 |
0 |
T31 |
515037 |
0 |
0 |
0 |
T54 |
328050 |
0 |
0 |
0 |
T115 |
44576 |
0 |
0 |
0 |
T116 |
857759 |
0 |
0 |
0 |
T117 |
400039 |
0 |
0 |
0 |
T150 |
76556 |
0 |
0 |
0 |
T230 |
988 |
214 |
0 |
0 |
T231 |
0 |
609 |
0 |
0 |
T240 |
3748 |
0 |
0 |
0 |
T241 |
467771 |
0 |
0 |
0 |
T242 |
424467 |
0 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
181031 |
0 |
0 |
T4 |
9209 |
0 |
0 |
0 |
T5 |
118518 |
0 |
0 |
0 |
T11 |
25614 |
15 |
0 |
0 |
T13 |
17053 |
24 |
0 |
0 |
T14 |
0 |
468 |
0 |
0 |
T15 |
4382 |
0 |
0 |
0 |
T16 |
18381 |
0 |
0 |
0 |
T19 |
0 |
17 |
0 |
0 |
T24 |
25699 |
0 |
0 |
0 |
T25 |
37303 |
0 |
0 |
0 |
T26 |
91718 |
0 |
0 |
0 |
T27 |
5746 |
0 |
0 |
0 |
T30 |
0 |
18 |
0 |
0 |
T35 |
0 |
18 |
0 |
0 |
T37 |
0 |
2 |
0 |
0 |
T51 |
0 |
14 |
0 |
0 |
T52 |
0 |
162 |
0 |
0 |
T53 |
0 |
3 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
291492604 |
0 |
0 |
T1 |
25397 |
19840 |
0 |
0 |
T2 |
21393 |
21338 |
0 |
0 |
T3 |
4070 |
2711 |
0 |
0 |
T4 |
9209 |
856 |
0 |
0 |
T10 |
10559 |
9052 |
0 |
0 |
T11 |
25614 |
12166 |
0 |
0 |
T15 |
4382 |
3253 |
0 |
0 |
T16 |
18381 |
14657 |
0 |
0 |
T24 |
25699 |
21011 |
0 |
0 |
T25 |
37303 |
37212 |
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: T1 T2 T10
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 | T10,T16,T25 |
1 | 1 | Covered | T1,T10,T11 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T28,T80,T233 |
1 | 1 | Covered | T1,T10,T11 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T10,T13 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T10,T11,T25 |
Assert Coverage for Instance : tb.dut.gen_classes[2].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
3952 |
0 |
0 |
T6 |
13145 |
0 |
0 |
0 |
T7 |
105398 |
0 |
0 |
0 |
T14 |
27002 |
0 |
0 |
0 |
T17 |
172611 |
0 |
0 |
0 |
T28 |
3406 |
1003 |
0 |
0 |
T29 |
10092 |
0 |
0 |
0 |
T80 |
0 |
1052 |
0 |
0 |
T86 |
14970 |
0 |
0 |
0 |
T91 |
94368 |
0 |
0 |
0 |
T92 |
80062 |
0 |
0 |
0 |
T93 |
41723 |
0 |
0 |
0 |
T233 |
0 |
755 |
0 |
0 |
T234 |
0 |
867 |
0 |
0 |
T235 |
0 |
275 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
150745 |
0 |
0 |
T4 |
9209 |
0 |
0 |
0 |
T10 |
10559 |
7 |
0 |
0 |
T11 |
25614 |
38 |
0 |
0 |
T13 |
17053 |
10 |
0 |
0 |
T14 |
0 |
10 |
0 |
0 |
T15 |
4382 |
0 |
0 |
0 |
T16 |
18381 |
0 |
0 |
0 |
T24 |
25699 |
0 |
0 |
0 |
T25 |
37303 |
15 |
0 |
0 |
T26 |
91718 |
0 |
0 |
0 |
T27 |
5746 |
0 |
0 |
0 |
T28 |
0 |
16 |
0 |
0 |
T29 |
0 |
1 |
0 |
0 |
T32 |
0 |
1 |
0 |
0 |
T37 |
0 |
28 |
0 |
0 |
T40 |
0 |
25 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
324385167 |
0 |
0 |
T1 |
25397 |
3066 |
0 |
0 |
T2 |
21393 |
19098 |
0 |
0 |
T3 |
4070 |
2729 |
0 |
0 |
T4 |
9209 |
860 |
0 |
0 |
T10 |
10559 |
8612 |
0 |
0 |
T11 |
25614 |
590 |
0 |
0 |
T15 |
4382 |
3282 |
0 |
0 |
T16 |
18381 |
18319 |
0 |
0 |
T24 |
25699 |
20872 |
0 |
0 |
T25 |
37303 |
5626 |
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 T10
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,T3,T16 |
1 | 0 | Covered | T1,T10,T11 |
1 | 1 | Covered | T1,T16,T15 |
LINE 29
EXPRESSION (trig_gated && ((!(&accu_cnt_o))))
-----1---- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T15,T46,T109 |
1 | 1 | Covered | T1,T16,T15 |
LINE 56
EXPRESSION ((accu_cnt_o >= thresh_i) & trig_gated)
------------1----------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T16,T15 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T15,T13,T29 |
Assert Coverage for Instance : tb.dut.gen_classes[3].u_accu
Assertion Details
CountSaturateStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
6324 |
0 |
0 |
T5 |
118518 |
0 |
0 |
0 |
T6 |
13145 |
0 |
0 |
0 |
T12 |
14185 |
0 |
0 |
0 |
T13 |
17053 |
0 |
0 |
0 |
T15 |
4382 |
944 |
0 |
0 |
T24 |
25699 |
0 |
0 |
0 |
T25 |
37303 |
0 |
0 |
0 |
T26 |
91718 |
0 |
0 |
0 |
T27 |
5746 |
0 |
0 |
0 |
T28 |
3406 |
0 |
0 |
0 |
T46 |
0 |
290 |
0 |
0 |
T74 |
0 |
446 |
0 |
0 |
T109 |
0 |
530 |
0 |
0 |
T118 |
0 |
791 |
0 |
0 |
T229 |
0 |
1042 |
0 |
0 |
T232 |
0 |
930 |
0 |
0 |
T238 |
0 |
391 |
0 |
0 |
T239 |
0 |
960 |
0 |
0 |
DisabledNoTrigBkwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
170383 |
0 |
0 |
T5 |
118518 |
0 |
0 |
0 |
T6 |
13145 |
0 |
0 |
0 |
T12 |
14185 |
0 |
0 |
0 |
T13 |
17053 |
28 |
0 |
0 |
T14 |
0 |
20 |
0 |
0 |
T15 |
4382 |
16 |
0 |
0 |
T24 |
25699 |
0 |
0 |
0 |
T25 |
37303 |
0 |
0 |
0 |
T26 |
91718 |
0 |
0 |
0 |
T27 |
5746 |
0 |
0 |
0 |
T28 |
3406 |
0 |
0 |
0 |
T29 |
0 |
5 |
0 |
0 |
T40 |
0 |
1811 |
0 |
0 |
T46 |
0 |
8 |
0 |
0 |
T48 |
0 |
1 |
0 |
0 |
T51 |
0 |
7 |
0 |
0 |
T52 |
0 |
120 |
0 |
0 |
T109 |
0 |
10 |
0 |
0 |
DisabledNoTrigFwd_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
555259424 |
300072126 |
0 |
0 |
T1 |
25397 |
11685 |
0 |
0 |
T2 |
21393 |
21338 |
0 |
0 |
T3 |
4070 |
2743 |
0 |
0 |
T4 |
9209 |
864 |
0 |
0 |
T10 |
10559 |
10479 |
0 |
0 |
T11 |
25614 |
25515 |
0 |
0 |
T15 |
4382 |
3296 |
0 |
0 |
T16 |
18381 |
6180 |
0 |
0 |
T24 |
25699 |
20880 |
0 |
0 |
T25 |
37303 |
33793 |
0 |
0 |