Line Coverage for Module :
keymgr_sideload_key_ctrl
| Line No. | Total | Covered | Percent |
TOTAL | | 50 | 50 | 100.00 |
ALWAYS | 66 | 3 | 3 | 100.00 |
CONT_ASSIGN | 71 | 1 | 1 | 100.00 |
CONT_ASSIGN | 71 | 1 | 1 | 100.00 |
CONT_ASSIGN | 78 | 1 | 1 | 100.00 |
CONT_ASSIGN | 84 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 86 | 1 | 1 | 100.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
ALWAYS | 92 | 13 | 13 | 100.00 |
CONT_ASSIGN | 144 | 1 | 1 | 100.00 |
CONT_ASSIGN | 145 | 1 | 1 | 100.00 |
CONT_ASSIGN | 146 | 1 | 1 | 100.00 |
ALWAYS | 193 | 6 | 6 | 100.00 |
ALWAYS | 193 | 6 | 6 | 100.00 |
ALWAYS | 193 | 6 | 6 | 100.00 |
CONT_ASSIGN | 205 | 1 | 1 | 100.00 |
CONT_ASSIGN | 206 | 1 | 1 | 100.00 |
CONT_ASSIGN | 207 | 1 | 1 | 100.00 |
CONT_ASSIGN | 214 | 1 | 1 | 100.00 |
CONT_ASSIGN | 217 | 1 | 1 | 100.00 |
CONT_ASSIGN | 220 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_keymgr_0.1/rtl/keymgr_sideload_key_ctrl.sv' or '../src/lowrisc_ip_keymgr_0.1/rtl/keymgr_sideload_key_ctrl.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
66 |
3 |
3 |
71 |
2 |
2 |
78 |
1 |
1 |
84 |
1 |
1 |
85 |
1 |
1 |
86 |
1 |
1 |
89 |
1 |
1 |
92 |
1 |
1 |
93 |
1 |
1 |
94 |
1 |
1 |
96 |
1 |
1 |
98 |
1 |
1 |
99 |
1 |
1 |
|
|
|
MISSING_ELSE |
106 |
1 |
1 |
107 |
1 |
1 |
108 |
1 |
1 |
|
|
|
MISSING_ELSE |
113 |
1 |
1 |
114 |
1 |
1 |
115 |
1 |
1 |
|
|
|
MISSING_ELSE |
121 |
1 |
1 |
144 |
1 |
1 |
145 |
1 |
1 |
146 |
1 |
1 |
193 |
1 |
1 |
194 |
1 |
1 |
195 |
1 |
1 |
196 |
1 |
1 |
197 |
1 |
1 |
198 |
1 |
1 |
|
|
|
MISSING_ELSE |
193 |
1 |
1 |
194 |
1 |
1 |
195 |
1 |
1 |
196 |
1 |
1 |
197 |
1 |
1 |
198 |
1 |
1 |
|
|
|
MISSING_ELSE |
193 |
1 |
1 |
194 |
1 |
1 |
195 |
1 |
1 |
196 |
1 |
1 |
197 |
1 |
1 |
198 |
1 |
1 |
|
|
|
MISSING_ELSE |
205 |
1 |
1 |
206 |
1 |
1 |
207 |
1 |
1 |
214 |
1 |
1 |
217 |
1 |
1 |
220 |
1 |
1 |
Cond Coverage for Module :
keymgr_sideload_key_ctrl
| Total | Covered | Percent |
Conditions | 29 | 29 | 100.00 |
Logical | 29 | 29 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 78
EXPRESSION (wipe_key_i | ((!(clr_key_i inside {SideLoadClrIdle, SideLoadClrAes, SideLoadClrKmac, SideLoadClrOtbn}))))
-----1---- ---------------------------------------------2---------------------------------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T4,T5 |
LINE 84
EXPRESSION (clr_all_keys | (clr_key_i == SideLoadClrAes))
------1----- --------------2--------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T4,T11 |
1 | 0 | Covered | T1,T2,T3 |
LINE 84
SUB-EXPRESSION (clr_key_i == SideLoadClrAes)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T4,T11 |
LINE 85
EXPRESSION (clr_all_keys | (clr_key_i == SideLoadClrKmac))
------1----- ---------------2--------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T4,T12,T13 |
1 | 0 | Covered | T1,T2,T3 |
LINE 85
SUB-EXPRESSION (clr_key_i == SideLoadClrKmac)
---------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T12,T13 |
LINE 86
EXPRESSION (clr_all_keys | (clr_key_i == SideLoadClrOtbn))
------1----- ---------------2--------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T1,T2,T3 |
LINE 86
SUB-EXPRESSION (clr_key_i == SideLoadClrOtbn)
---------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T4 |
LINE 148
EXPRESSION (data_valid_i & slot_sel[AesIdx])
------1----- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T2,T4,T14 |
LINE 163
EXPRESSION (data_valid_i & slot_sel[OtbnIdx])
------1----- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T2,T3,T4 |
LINE 177
EXPRESSION (data_valid_i & slot_sel[KmacIdx])
------1----- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T2,T3,T4 |
LINE 217
EXPRESSION (key_i.valid ? key_i : kmac_sideload_key)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T4 |
FSM Coverage for Module :
keymgr_sideload_key_ctrl
Summary for FSM :: state_q
| Total | Covered | Percent | |
States |
4 |
4 |
100.00 |
(Not included in score) |
Transitions |
3 |
3 |
100.00 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: state_q
states | Line No. | Covered | Tests |
StSideloadIdle |
99 |
Covered |
T1,T2,T3 |
StSideloadReset |
97 |
Covered |
T1,T2,T3 |
StSideloadStop |
115 |
Covered |
T1,T4,T13 |
StSideloadWipe |
108 |
Covered |
T1,T4,T13 |
transitions | Line No. | Covered | Tests |
StSideloadIdle->StSideloadWipe |
108 |
Covered |
T1,T4,T13 |
StSideloadReset->StSideloadIdle |
99 |
Covered |
T1,T2,T3 |
StSideloadWipe->StSideloadStop |
115 |
Covered |
T1,T4,T13 |
Branch Coverage for Module :
keymgr_sideload_key_ctrl
| Line No. | Total | Covered | Percent |
Branches |
|
24 |
24 |
100.00 |
TERNARY |
217 |
2 |
2 |
100.00 |
IF |
66 |
2 |
2 |
100.00 |
CASE |
96 |
8 |
8 |
100.00 |
IF |
193 |
4 |
4 |
100.00 |
IF |
193 |
4 |
4 |
100.00 |
IF |
193 |
4 |
4 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_keymgr_0.1/rtl/keymgr_sideload_key_ctrl.sv' or '../src/lowrisc_ip_keymgr_0.1/rtl/keymgr_sideload_key_ctrl.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 217 (key_i.valid) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T4 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 66 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 96 case (state_q)
-2-: 98 if (init_i)
-3-: 107 if (wipe_key_i)
-4-: 114 if ((!wipe_key_i))
Branches:
-1- | -2- | -3- | -4- | Status | Tests |
StSideloadReset |
1 |
- |
- |
Covered |
T1,T2,T3 |
StSideloadReset |
0 |
- |
- |
Covered |
T1,T2,T3 |
StSideloadIdle |
- |
1 |
- |
Covered |
T1,T4,T13 |
StSideloadIdle |
- |
0 |
- |
Covered |
T2,T3,T4 |
StSideloadWipe |
- |
- |
1 |
Covered |
T1,T4,T13 |
StSideloadWipe |
- |
- |
0 |
Covered |
T4,T13,T5 |
StSideloadStop |
- |
- |
- |
Covered |
T1,T4,T13 |
default |
- |
- |
- |
Covered |
T8,T9,T10 |
LineNo. Expression
-1-: 193 if ((!rst_ni))
-2-: 195 if (slot_clr[0])
-3-: 197 if (slot_sel[0])
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T1,T4,T11 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 193 if ((!rst_ni))
-2-: 195 if (slot_clr[1])
-3-: 197 if (slot_sel[1])
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T1,T4,T11 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 193 if ((!rst_ni))
-2-: 195 if (slot_clr[2])
-3-: 197 if (slot_sel[2])
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T3,T4,T11 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Module :
keymgr_sideload_key_ctrl
Assertion Details
KmacKeySource_a
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
21597887 |
10868 |
0 |
0 |
T2 |
9935 |
11 |
0 |
0 |
T3 |
56554 |
17 |
0 |
0 |
T4 |
55937 |
146 |
0 |
0 |
T5 |
0 |
173 |
0 |
0 |
T11 |
16566 |
11 |
0 |
0 |
T12 |
14448 |
7 |
0 |
0 |
T13 |
12143 |
0 |
0 |
0 |
T14 |
23320 |
24 |
0 |
0 |
T15 |
114013 |
7 |
0 |
0 |
T16 |
1103 |
0 |
0 |
0 |
T22 |
23163 |
17 |
0 |
0 |
T30 |
0 |
6 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
21697481 |
21532780 |
0 |
0 |
T1 |
2752 |
2688 |
0 |
0 |
T2 |
9935 |
9852 |
0 |
0 |
T3 |
56554 |
56463 |
0 |
0 |
T4 |
55937 |
54612 |
0 |
0 |
T11 |
16566 |
16460 |
0 |
0 |
T12 |
14448 |
14379 |
0 |
0 |
T13 |
12143 |
12038 |
0 |
0 |
T14 |
23320 |
23267 |
0 |
0 |
T15 |
114013 |
113957 |
0 |
0 |
T16 |
1103 |
1034 |
0 |
0 |