Line Coverage for Module :
lc_ctrl_kmac_if
| Line No. | Total | Covered | Percent |
TOTAL | | 41 | 41 | 100.00 |
CONT_ASSIGN | 44 | 1 | 1 | 100.00 |
CONT_ASSIGN | 81 | 1 | 1 | 100.00 |
ALWAYS | 88 | 8 | 8 | 100.00 |
CONT_ASSIGN | 102 | 1 | 1 | 100.00 |
CONT_ASSIGN | 103 | 1 | 1 | 100.00 |
CONT_ASSIGN | 104 | 1 | 1 | 100.00 |
CONT_ASSIGN | 107 | 1 | 1 | 100.00 |
ALWAYS | 159 | 21 | 21 | 100.00 |
ALWAYS | 203 | 3 | 3 | 100.00 |
ALWAYS | 206 | 3 | 3 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_kmac_if.sv' or '../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_kmac_if.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
44 |
1 |
1 |
81 |
1 |
1 |
88 |
1 |
1 |
89 |
1 |
1 |
90 |
1 |
1 |
91 |
1 |
1 |
93 |
1 |
1 |
95 |
1 |
1 |
96 |
1 |
1 |
97 |
1 |
1 |
|
|
|
MISSING_ELSE |
102 |
1 |
1 |
103 |
1 |
1 |
104 |
1 |
1 |
107 |
1 |
1 |
159 |
1 |
1 |
160 |
1 |
1 |
161 |
1 |
1 |
162 |
1 |
1 |
164 |
1 |
1 |
168 |
1 |
1 |
169 |
1 |
1 |
170 |
1 |
1 |
171 |
1 |
1 |
172 |
1 |
1 |
173 |
1 |
1 |
|
|
|
MISSING_ELSE |
|
|
|
MISSING_ELSE |
179 |
1 |
1 |
180 |
1 |
1 |
181 |
1 |
1 |
182 |
1 |
1 |
183 |
1 |
1 |
184 |
1 |
1 |
|
|
|
MISSING_ELSE |
189 |
1 |
1 |
190 |
1 |
1 |
191 |
1 |
1 |
|
|
|
MISSING_ELSE |
196 |
1 |
1 |
203 |
3 |
3 |
206 |
1 |
1 |
207 |
1 |
1 |
209 |
1 |
1 |
Cond Coverage for Module :
lc_ctrl_kmac_if
| Total | Covered | Percent |
Conditions | 6 | 6 | 100.00 |
Logical | 6 | 6 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 95
EXPRESSION (token_hash_req_i && token_hash_ack_d)
--------1------- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T17,T45,T46 |
1 | 0 | Covered | T4,T8,T9 |
1 | 1 | Covered | T4,T8,T9 |
LINE 107
EXPRESSION (token_hash_req_i & ((~token_hash_ack_q)))
--------1------- ----------2----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T4,T8,T9 |
1 | 1 | Covered | T4,T8,T9 |
FSM Coverage for Module :
lc_ctrl_kmac_if
Summary for FSM :: state_q
| Total | Covered | Percent | |
States |
4 |
4 |
100.00 |
(Not included in score) |
Transitions |
6 |
5 |
83.33 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: state_q
states | Line No. | Covered | Tests |
DoneSt |
191 |
Covered |
T4,T8,T9 |
FirstSt |
203 |
Covered |
T1,T2,T3 |
SecondSt |
173 |
Covered |
T4,T8,T9 |
WaitSt |
184 |
Covered |
T4,T8,T9 |
transitions | Line No. | Covered | Tests |
DoneSt->FirstSt |
203 |
Covered |
T4,T8,T9 |
FirstSt->SecondSt |
173 |
Covered |
T4,T8,T9 |
SecondSt->FirstSt |
203 |
Not Covered |
|
SecondSt->WaitSt |
184 |
Covered |
T4,T8,T9 |
WaitSt->DoneSt |
191 |
Covered |
T4,T8,T9 |
WaitSt->FirstSt |
203 |
Covered |
T4,T13,T37 |
Branch Coverage for Module :
lc_ctrl_kmac_if
| Line No. | Total | Covered | Percent |
Branches |
|
16 |
16 |
100.00 |
IF |
88 |
3 |
3 |
100.00 |
CASE |
164 |
9 |
9 |
100.00 |
IF |
203 |
2 |
2 |
100.00 |
IF |
206 |
2 |
2 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_kmac_if.sv' or '../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_kmac_if.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 88 if ((!rst_ni))
-2-: 95 if ((token_hash_req_i && token_hash_ack_d))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T4,T8,T9 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 164 case (state_q)
-2-: 168 if (kmac_req)
-3-: 172 if (kmac_data_i.ready)
-4-: 183 if (kmac_data_i.ready)
-5-: 189 if (kmac_data_i.done)
Branches:
-1- | -2- | -3- | -4- | -5- | Status | Tests |
FirstSt |
1 |
1 |
- |
- |
Covered |
T4,T8,T9 |
FirstSt |
1 |
0 |
- |
- |
Covered |
T4,T9,T11 |
FirstSt |
0 |
- |
- |
- |
Covered |
T1,T2,T3 |
SecondSt |
- |
- |
1 |
- |
Covered |
T4,T8,T9 |
SecondSt |
- |
- |
0 |
- |
Covered |
T4,T9,T11 |
WaitSt |
- |
- |
- |
1 |
Covered |
T4,T8,T9 |
WaitSt |
- |
- |
- |
0 |
Covered |
T4,T8,T9 |
DoneSt |
- |
- |
- |
- |
Covered |
T4,T8,T9 |
default |
- |
- |
- |
- |
Covered |
T4,T32,T34 |
LineNo. Expression
-1-: 203 if ((!rst_kmac_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 206 if ((!rst_kmac_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Module :
lc_ctrl_kmac_if
Assertion Details
DataStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
244210716 |
107264494 |
0 |
0 |
T4 |
508588 |
319819 |
0 |
0 |
T5 |
100520 |
0 |
0 |
0 |
T6 |
71439 |
0 |
0 |
0 |
T8 |
23548 |
644 |
0 |
0 |
T9 |
4732 |
1277 |
0 |
0 |
T10 |
1547 |
0 |
0 |
0 |
T11 |
58216 |
3305 |
0 |
0 |
T14 |
4885 |
0 |
0 |
0 |
T15 |
20023 |
2326 |
0 |
0 |
T17 |
0 |
566 |
0 |
0 |
T19 |
0 |
2297 |
0 |
0 |
T20 |
20641 |
2582 |
0 |
0 |
T22 |
0 |
647 |
0 |
0 |
T33 |
0 |
36145 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
238356548 |
229605806 |
0 |
0 |
T1 |
14688 |
14467 |
0 |
0 |
T2 |
1803 |
1743 |
0 |
0 |
T3 |
2972 |
2543 |
0 |
0 |
T4 |
504485 |
497897 |
0 |
0 |
T5 |
100520 |
100428 |
0 |
0 |
T6 |
71439 |
71387 |
0 |
0 |
T8 |
23548 |
18495 |
0 |
0 |
T9 |
4732 |
3450 |
0 |
0 |
T10 |
1547 |
1486 |
0 |
0 |
T11 |
58216 |
50685 |
0 |
0 |