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 | T15,T12,T25 |
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,T3,T15 |
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,T3,T15 |
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 | T1,T2,T3 |
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 | T1,T2,T3 |
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,T15 |
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,T15 |
LINE 148
EXPRESSION (data_valid_i & slot_sel[AesIdx])
------1----- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T15,T5 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T4,T5,T6 |
LINE 163
EXPRESSION (data_valid_i & slot_sel[OtbnIdx])
------1----- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T15 |
1 | 0 | Covered | T2,T4,T17 |
1 | 1 | Covered | T1,T3,T16 |
LINE 177
EXPRESSION (data_valid_i & slot_sel[KmacIdx])
------1----- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T4,T17 |
1 | 0 | Covered | T1,T3,T4 |
1 | 1 | Covered | T2,T4,T17 |
LINE 217
EXPRESSION (key_i.valid ? key_i : kmac_sideload_key)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
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 |
T15,T25,T65 |
StSideloadWipe |
108 |
Covered |
T15,T25,T65 |
transitions | Line No. | Covered | Tests |
StSideloadIdle->StSideloadWipe |
108 |
Covered |
T15,T25,T65 |
StSideloadReset->StSideloadIdle |
99 |
Covered |
T1,T2,T3 |
StSideloadWipe->StSideloadStop |
115 |
Covered |
T15,T25,T65 |
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 |
T1,T2,T3 |
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 |
T15,T25,T65 |
StSideloadIdle |
- |
0 |
- |
Covered |
T1,T2,T3 |
StSideloadWipe |
- |
- |
1 |
Covered |
T15,T25,T65 |
StSideloadWipe |
- |
- |
0 |
Covered |
T35,T36,T91 |
StSideloadStop |
- |
- |
- |
Covered |
T15,T25,T65 |
default |
- |
- |
- |
Covered |
T12,T13,T14 |
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 |
T4,T15,T5 |
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 |
T2,T4,T17 |
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 |
T1,T3,T16 |
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 |
17886470 |
10490 |
0 |
0 |
T1 |
61441 |
7 |
0 |
0 |
T2 |
17983 |
7 |
0 |
0 |
T3 |
19854 |
7 |
0 |
0 |
T4 |
9697 |
14 |
0 |
0 |
T5 |
35094 |
9 |
0 |
0 |
T6 |
22746 |
21 |
0 |
0 |
T12 |
28867 |
0 |
0 |
0 |
T15 |
5471 |
0 |
0 |
0 |
T16 |
170415 |
7 |
0 |
0 |
T17 |
4908 |
7 |
0 |
0 |
T33 |
0 |
7 |
0 |
0 |
T34 |
0 |
7 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
17988763 |
17833232 |
0 |
0 |
T1 |
61441 |
61359 |
0 |
0 |
T2 |
17983 |
17904 |
0 |
0 |
T3 |
19854 |
19772 |
0 |
0 |
T4 |
9697 |
9606 |
0 |
0 |
T5 |
35094 |
35038 |
0 |
0 |
T6 |
22746 |
22683 |
0 |
0 |
T12 |
60822 |
47429 |
0 |
0 |
T15 |
5471 |
5329 |
0 |
0 |
T16 |
170415 |
170322 |
0 |
0 |
T17 |
4908 |
4847 |
0 |
0 |