Line Coverage for Module :
edn_main_sm
| Line No. | Total | Covered | Percent |
TOTAL | | 110 | 110 | 100.00 |
ALWAYS | 62 | 3 | 3 | 100.00 |
CONT_ASSIGN | 64 | 1 | 1 | 100.00 |
CONT_ASSIGN | 66 | 1 | 1 | 100.00 |
ALWAYS | 70 | 105 | 105 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_edn_0.1/rtl/edn_main_sm.sv' or '../src/lowrisc_ip_edn_0.1/rtl/edn_main_sm.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
62 |
3 |
3 |
64 |
1 |
1 |
66 |
1 |
1 |
70 |
1 |
1 |
71 |
1 |
1 |
72 |
1 |
1 |
73 |
1 |
1 |
74 |
1 |
1 |
75 |
1 |
1 |
76 |
1 |
1 |
77 |
1 |
1 |
78 |
1 |
1 |
79 |
1 |
1 |
80 |
1 |
1 |
81 |
1 |
1 |
82 |
1 |
1 |
83 |
1 |
1 |
84 |
1 |
1 |
85 |
1 |
1 |
87 |
1 |
1 |
88 |
1 |
1 |
89 |
1 |
1 |
90 |
1 |
1 |
91 |
1 |
1 |
92 |
1 |
1 |
93 |
1 |
1 |
|
|
|
MISSING_ELSE |
97 |
1 |
1 |
98 |
1 |
1 |
101 |
1 |
1 |
102 |
1 |
1 |
105 |
1 |
1 |
106 |
1 |
1 |
|
|
|
MISSING_ELSE |
110 |
1 |
1 |
111 |
1 |
1 |
114 |
1 |
1 |
115 |
1 |
1 |
116 |
1 |
1 |
|
|
|
MISSING_ELSE |
120 |
1 |
1 |
121 |
1 |
1 |
|
|
|
MISSING_ELSE |
125 |
1 |
1 |
126 |
1 |
1 |
132 |
1 |
1 |
133 |
1 |
1 |
134 |
1 |
1 |
135 |
1 |
1 |
|
|
|
MISSING_ELSE |
139 |
1 |
1 |
140 |
1 |
1 |
141 |
1 |
1 |
142 |
1 |
1 |
|
|
|
MISSING_ELSE |
146 |
1 |
1 |
147 |
1 |
1 |
148 |
1 |
1 |
149 |
1 |
1 |
|
|
|
MISSING_ELSE |
153 |
1 |
1 |
154 |
1 |
1 |
155 |
1 |
1 |
156 |
1 |
1 |
157 |
1 |
1 |
159 |
1 |
1 |
160 |
1 |
1 |
162 |
1 |
1 |
167 |
1 |
1 |
168 |
1 |
1 |
169 |
1 |
1 |
170 |
1 |
1 |
173 |
1 |
1 |
174 |
1 |
1 |
175 |
1 |
1 |
176 |
1 |
1 |
177 |
1 |
1 |
|
|
|
MISSING_ELSE |
181 |
1 |
1 |
182 |
1 |
1 |
183 |
1 |
1 |
184 |
1 |
1 |
187 |
1 |
1 |
188 |
1 |
1 |
189 |
1 |
1 |
190 |
1 |
1 |
191 |
1 |
1 |
|
|
|
MISSING_ELSE |
197 |
1 |
1 |
205 |
1 |
1 |
206 |
1 |
1 |
208 |
1 |
1 |
209 |
1 |
1 |
210 |
1 |
1 |
211 |
1 |
1 |
212 |
1 |
1 |
213 |
1 |
1 |
214 |
1 |
1 |
215 |
1 |
1 |
216 |
1 |
1 |
217 |
1 |
1 |
218 |
1 |
1 |
219 |
1 |
1 |
220 |
1 |
1 |
229 |
1 |
1 |
231 |
1 |
1 |
232 |
1 |
1 |
233 |
1 |
1 |
234 |
1 |
1 |
235 |
1 |
1 |
236 |
1 |
1 |
237 |
1 |
1 |
238 |
1 |
1 |
239 |
1 |
1 |
240 |
1 |
1 |
241 |
1 |
1 |
242 |
1 |
1 |
|
|
|
MISSING_ELSE |
Cond Coverage for Module :
edn_main_sm
| Total | Covered | Percent |
Conditions | 22 | 22 | 100.00 |
Logical | 22 | 22 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 66
EXPRESSION ((state_q != Idle) && (state_q != BootPulse) && (state_q != BootDone) && (state_q != SWPortMode))
--------1-------- -----------2---------- ----------3---------- -----------4-----------
-1- | -2- | -3- | -4- | Status | Tests |
0 | 1 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | 1 | Covered | T21,T25,T71 |
1 | 1 | 0 | 1 | Covered | T21,T25,T71 |
1 | 1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | 1 | Covered | T1,T4,T21 |
LINE 66
SUB-EXPRESSION (state_q != Idle)
--------1--------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (state_q != BootPulse)
-----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (state_q != BootDone)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (state_q != SWPortMode)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 87
EXPRESSION (boot_req_mode_i && edn_enable_i)
-------1------- ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T21,T76,T82 |
1 | 1 | Covered | T21,T25,T71 |
LINE 89
EXPRESSION (auto_req_mode_i && edn_enable_i)
-------1------- ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T84,T81,T77 |
1 | 1 | Covered | T1,T4,T9 |
LINE 220
EXPRESSION
Number Term
1 ((!edn_enable_i)) &&
2 (state_q inside {BootLoadIns, BootLoadGen, BootInsAckWait, BootCaptGenCnt, BootSendGenCmd, BootGenAckWait, BootPulse, BootDone, AutoLoadIns, AutoFirstAckWait, AutoAckWait, AutoDispatch, AutoCaptGenCnt, AutoSendGenCmd, AutoCaptReseedCnt, AutoSendReseedCmd, SWPortMode}))
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T21,T39,T76 |
FSM Coverage for Module :
edn_main_sm
Summary for FSM :: state_q
| Total | Covered | Percent | |
States |
19 |
19 |
100.00 |
(Not included in score) |
Transitions |
54 |
52 |
96.30 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: state_q
states | Line No. | Covered | Tests |
AutoAckWait |
177 |
Covered |
T1,T9,T13 |
AutoCaptGenCnt |
162 |
Covered |
T1,T9,T13 |
AutoCaptReseedCnt |
160 |
Covered |
T1,T9,T13 |
AutoDispatch |
142 |
Covered |
T1,T9,T13 |
AutoFirstAckWait |
135 |
Covered |
T1,T9,T13 |
AutoLoadIns |
90 |
Covered |
T1,T4,T9 |
AutoSendGenCmd |
170 |
Covered |
T1,T9,T13 |
AutoSendReseedCmd |
184 |
Covered |
T1,T9,T13 |
BootCaptGenCnt |
106 |
Covered |
T21,T25,T71 |
BootDone |
126 |
Covered |
T21,T25,T71 |
BootGenAckWait |
116 |
Covered |
T21,T25,T71 |
BootInsAckWait |
102 |
Covered |
T21,T25,T71 |
BootLoadGen |
98 |
Covered |
T21,T25,T71 |
BootLoadIns |
88 |
Covered |
T21,T25,T71 |
BootPulse |
121 |
Covered |
T21,T25,T71 |
BootSendGenCmd |
111 |
Covered |
T21,T25,T71 |
Error |
206 |
Covered |
T4,T5,T25 |
Idle |
157 |
Covered |
T1,T2,T3 |
SWPortMode |
93 |
Covered |
T1,T2,T3 |
transitions | Line No. | Covered | Tests |
AutoAckWait->AutoDispatch |
149 |
Covered |
T1,T9,T13 |
AutoAckWait->Error |
206 |
Covered |
T7,T48,T136 |
AutoAckWait->Idle |
229 |
Covered |
T84,T81,T77 |
AutoCaptGenCnt->AutoSendGenCmd |
170 |
Covered |
T1,T9,T13 |
AutoCaptGenCnt->Error |
206 |
Covered |
T137 |
AutoCaptGenCnt->Idle |
229 |
Covered |
T77,T55,T138 |
AutoCaptReseedCnt->AutoSendReseedCmd |
184 |
Covered |
T1,T9,T13 |
AutoCaptReseedCnt->Error |
206 |
Covered |
T139 |
AutoCaptReseedCnt->Idle |
229 |
Covered |
T140,T141,T142 |
AutoDispatch->AutoCaptGenCnt |
162 |
Covered |
T1,T9,T13 |
AutoDispatch->AutoCaptReseedCnt |
160 |
Covered |
T1,T9,T13 |
AutoDispatch->Error |
206 |
Not Covered |
|
AutoDispatch->Idle |
157 |
Covered |
T1,T9,T13 |
AutoFirstAckWait->AutoDispatch |
142 |
Covered |
T1,T9,T13 |
AutoFirstAckWait->Error |
206 |
Covered |
T46,T92,T143 |
AutoFirstAckWait->Idle |
229 |
Covered |
T84,T81,T144 |
AutoLoadIns->AutoFirstAckWait |
135 |
Covered |
T1,T9,T13 |
AutoLoadIns->Error |
206 |
Covered |
T4,T145,T146 |
AutoLoadIns->Idle |
229 |
Covered |
T147,T148,T149 |
AutoSendGenCmd->AutoAckWait |
177 |
Covered |
T1,T9,T13 |
AutoSendGenCmd->Error |
206 |
Covered |
T150 |
AutoSendGenCmd->Idle |
229 |
Covered |
T151,T113,T152 |
AutoSendReseedCmd->AutoAckWait |
191 |
Covered |
T1,T9,T13 |
AutoSendReseedCmd->Error |
206 |
Covered |
T43 |
AutoSendReseedCmd->Idle |
229 |
Covered |
T153,T67,T154 |
BootCaptGenCnt->BootSendGenCmd |
111 |
Covered |
T21,T25,T71 |
BootCaptGenCnt->Error |
206 |
Covered |
T155,T156 |
BootCaptGenCnt->Idle |
229 |
Covered |
T50,T109,T157 |
BootDone->Error |
206 |
Covered |
T158,T159,T160 |
BootDone->Idle |
229 |
Covered |
T21,T82,T118 |
BootGenAckWait->BootPulse |
121 |
Covered |
T21,T25,T71 |
BootGenAckWait->Error |
206 |
Covered |
T14,T161,T162 |
BootGenAckWait->Idle |
229 |
Covered |
T76,T125,T120 |
BootInsAckWait->BootCaptGenCnt |
106 |
Covered |
T21,T25,T71 |
BootInsAckWait->Error |
206 |
Covered |
T25,T163,T164 |
BootInsAckWait->Idle |
229 |
Covered |
T165,T166,T167 |
BootLoadGen->BootInsAckWait |
102 |
Covered |
T21,T25,T71 |
BootLoadGen->Error |
206 |
Not Covered |
|
BootLoadGen->Idle |
229 |
Covered |
T168,T169,T170 |
BootLoadIns->BootLoadGen |
98 |
Covered |
T21,T25,T71 |
BootLoadIns->Error |
206 |
Covered |
T171,T172 |
BootLoadIns->Idle |
229 |
Covered |
T173,T174,T175 |
BootPulse->BootDone |
126 |
Covered |
T21,T25,T71 |
BootPulse->Error |
206 |
Covered |
T176 |
BootPulse->Idle |
229 |
Covered |
T121,T132,T177 |
BootSendGenCmd->BootGenAckWait |
116 |
Covered |
T21,T25,T71 |
BootSendGenCmd->Error |
206 |
Covered |
T178,T179,T180 |
BootSendGenCmd->Idle |
229 |
Covered |
T108,T181,T182 |
Idle->AutoLoadIns |
90 |
Covered |
T1,T4,T9 |
Idle->BootLoadIns |
88 |
Covered |
T21,T25,T71 |
Idle->Error |
206 |
Covered |
T15,T23,T24 |
Idle->SWPortMode |
93 |
Covered |
T1,T2,T3 |
SWPortMode->Error |
206 |
Covered |
T72,T129,T15 |
SWPortMode->Idle |
229 |
Covered |
T6,T104,T79 |
Branch Coverage for Module :
edn_main_sm
| Line No. | Total | Covered | Percent |
Branches |
|
38 |
38 |
100.00 |
IF |
62 |
2 |
2 |
100.00 |
CASE |
85 |
33 |
33 |
100.00 |
IF |
205 |
3 |
3 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_edn_0.1/rtl/edn_main_sm.sv' or '../src/lowrisc_ip_edn_0.1/rtl/edn_main_sm.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 62 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 85 case (state_q)
-2-: 87 if ((boot_req_mode_i && edn_enable_i))
-3-: 89 if ((auto_req_mode_i && edn_enable_i))
-4-: 91 if (edn_enable_i)
-5-: 105 if (csrng_cmd_ack_i)
-6-: 115 if (cmd_sent_i)
-7-: 120 if (csrng_cmd_ack_i)
-8-: 134 if (sw_cmd_req_load_i)
-9-: 140 if (csrng_cmd_ack_i)
-10-: 148 if (csrng_cmd_ack_i)
-11-: 155 if ((!auto_req_mode_i))
-12-: 159 if (max_reqs_cnt_zero_i)
-13-: 176 if (cmd_sent_i)
-14-: 190 if (cmd_sent_i)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | -9- | -10- | -11- | -12- | -13- | -14- | Status | Tests |
Idle |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
Idle |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T4,T9 |
Idle |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
Idle |
0 |
0 |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
BootLoadIns |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootLoadGen |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootInsAckWait |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootInsAckWait |
- |
- |
- |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootCaptGenCnt |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootSendGenCmd |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootSendGenCmd |
- |
- |
- |
- |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T50,T108,T109 |
BootGenAckWait |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootGenAckWait |
- |
- |
- |
- |
- |
0 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootPulse |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
BootDone |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T21,T25,T71 |
AutoLoadIns |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoLoadIns |
- |
- |
- |
- |
- |
- |
0 |
- |
- |
- |
- |
- |
- |
Covered |
T1,T4,T9 |
AutoFirstAckWait |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoFirstAckWait |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
- |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoAckWait |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoAckWait |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoDispatch |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoDispatch |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
1 |
- |
- |
Covered |
T1,T9,T13 |
AutoDispatch |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
0 |
- |
- |
Covered |
T1,T9,T13 |
AutoCaptGenCnt |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoSendGenCmd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T1,T9,T13 |
AutoSendGenCmd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
Covered |
T1,T9,T13 |
AutoCaptReseedCnt |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T9,T13 |
AutoSendReseedCmd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
Covered |
T1,T9,T13 |
AutoSendReseedCmd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T1,T9,T13 |
SWPortMode |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
Error |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T4,T5,T25 |
default |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T5,T36,T70 |
LineNo. Expression
-1-: 205 if (local_escalate_i)
-2-: 220 if (((!edn_enable_i) && (state_q inside {BootLoadIns, BootLoadGen, BootInsAckWait, BootCaptGenCnt, BootSendGenCmd, BootGenAckWait, BootPulse, BootDone, AutoLoadIns, AutoFirstAckWait, AutoAckWait, AutoDispatch, AutoCaptGenCnt, AutoSendGenCmd, AutoCaptReseedCnt, AutoSendReseedCmd, SWPortMode})))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T4,T5,T25 |
0 |
1 |
Covered |
T21,T39,T76 |
0 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Module :
edn_main_sm
Assertion Details
ErrorStStable_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
210531341 |
120975 |
0 |
0 |
T4 |
769 |
374 |
0 |
0 |
T5 |
1924 |
1060 |
0 |
0 |
T6 |
9940 |
0 |
0 |
0 |
T7 |
0 |
1110 |
0 |
0 |
T8 |
0 |
659 |
0 |
0 |
T9 |
1628 |
0 |
0 |
0 |
T21 |
1044 |
0 |
0 |
0 |
T22 |
2135 |
0 |
0 |
0 |
T25 |
1876 |
1122 |
0 |
0 |
T29 |
1671 |
0 |
0 |
0 |
T30 |
1295 |
0 |
0 |
0 |
T31 |
1077 |
0 |
0 |
0 |
T36 |
0 |
278 |
0 |
0 |
T70 |
0 |
1114 |
0 |
0 |
T71 |
0 |
540 |
0 |
0 |
T72 |
0 |
598 |
0 |
0 |
T129 |
0 |
384 |
0 |
0 |
FpvSecCmErrorStEscalate_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
210531341 |
121644 |
0 |
0 |
T4 |
769 |
375 |
0 |
0 |
T5 |
1924 |
1061 |
0 |
0 |
T6 |
9940 |
0 |
0 |
0 |
T7 |
0 |
1111 |
0 |
0 |
T8 |
0 |
660 |
0 |
0 |
T9 |
1628 |
0 |
0 |
0 |
T21 |
1044 |
0 |
0 |
0 |
T22 |
2135 |
0 |
0 |
0 |
T25 |
1876 |
1123 |
0 |
0 |
T29 |
1671 |
0 |
0 |
0 |
T30 |
1295 |
0 |
0 |
0 |
T31 |
1077 |
0 |
0 |
0 |
T36 |
0 |
279 |
0 |
0 |
T70 |
0 |
1115 |
0 |
0 |
T71 |
0 |
541 |
0 |
0 |
T72 |
0 |
599 |
0 |
0 |
T129 |
0 |
385 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
210487852 |
210349963 |
0 |
0 |
T1 |
2424 |
2364 |
0 |
0 |
T2 |
1804 |
1707 |
0 |
0 |
T3 |
1369 |
1282 |
0 |
0 |
T4 |
645 |
511 |
0 |
0 |
T5 |
1755 |
1589 |
0 |
0 |
T17 |
1459 |
1360 |
0 |
0 |
T18 |
1543 |
1488 |
0 |
0 |
T20 |
1241 |
1165 |
0 |
0 |
T21 |
1044 |
967 |
0 |
0 |
T22 |
2135 |
2053 |
0 |
0 |