Line Coverage for Module :
usb_fs_nb_out_pe
| Line No. | Total | Covered | Percent |
TOTAL | | 127 | 125 | 98.43 |
CONT_ASSIGN | 90 | 1 | 1 | 100.00 |
CONT_ASSIGN | 131 | 1 | 1 | 100.00 |
CONT_ASSIGN | 132 | 1 | 1 | 100.00 |
CONT_ASSIGN | 134 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 144 | 1 | 1 | 100.00 |
CONT_ASSIGN | 148 | 1 | 1 | 100.00 |
CONT_ASSIGN | 152 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
CONT_ASSIGN | 164 | 1 | 1 | 100.00 |
CONT_ASSIGN | 171 | 1 | 1 | 100.00 |
CONT_ASSIGN | 172 | 1 | 1 | 100.00 |
CONT_ASSIGN | 175 | 1 | 1 | 100.00 |
CONT_ASSIGN | 176 | 1 | 1 | 100.00 |
CONT_ASSIGN | 178 | 1 | 1 | 100.00 |
ALWAYS | 184 | 6 | 6 | 100.00 |
ALWAYS | 196 | 4 | 4 | 100.00 |
ALWAYS | 212 | 55 | 53 | 96.36 |
CONT_ASSIGN | 326 | 1 | 1 | 100.00 |
ALWAYS | 329 | 3 | 3 | 100.00 |
ALWAYS | 337 | 3 | 3 | 100.00 |
ALWAYS | 346 | 7 | 7 | 100.00 |
CONT_ASSIGN | 360 | 1 | 1 | 100.00 |
ALWAYS | 363 | 5 | 5 | 100.00 |
ALWAYS | 373 | 9 | 9 | 100.00 |
ALWAYS | 390 | 3 | 3 | 100.00 |
ALWAYS | 402 | 6 | 6 | 100.00 |
CONT_ASSIGN | 418 | 1 | 1 | 100.00 |
ALWAYS | 421 | 6 | 6 | 100.00 |
CONT_ASSIGN | 435 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv' or '../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
90 |
1 |
1 |
131 |
1 |
1 |
132 |
1 |
1 |
134 |
1 |
1 |
140 |
1 |
1 |
144 |
1 |
1 |
148 |
1 |
1 |
152 |
1 |
1 |
157 |
1 |
1 |
163 |
1 |
1 |
164 |
1 |
1 |
171 |
1 |
1 |
172 |
1 |
1 |
175 |
1 |
1 |
176 |
1 |
1 |
178 |
1 |
1 |
184 |
1 |
1 |
185 |
1 |
1 |
187 |
1 |
1 |
188 |
1 |
1 |
189 |
1 |
1 |
190 |
1 |
1 |
|
|
|
MISSING_ELSE |
196 |
1 |
1 |
197 |
1 |
1 |
199 |
1 |
1 |
200 |
1 |
1 |
|
|
|
MISSING_ELSE |
212 |
1 |
1 |
213 |
1 |
1 |
214 |
1 |
1 |
215 |
1 |
1 |
216 |
1 |
1 |
217 |
1 |
1 |
218 |
1 |
1 |
219 |
1 |
1 |
221 |
1 |
1 |
225 |
1 |
1 |
226 |
1 |
1 |
227 |
1 |
1 |
229 |
1 |
1 |
237 |
1 |
1 |
239 |
1 |
1 |
240 |
1 |
1 |
241 |
1 |
1 |
242 |
0 |
1 |
244 |
1 |
1 |
249 |
1 |
1 |
253 |
1 |
1 |
254 |
1 |
1 |
257 |
1 |
1 |
258 |
1 |
1 |
259 |
1 |
1 |
260 |
1 |
1 |
261 |
1 |
1 |
263 |
1 |
1 |
264 |
1 |
1 |
265 |
1 |
1 |
266 |
1 |
1 |
268 |
1 |
1 |
273 |
1 |
1 |
274 |
1 |
1 |
276 |
1 |
1 |
278 |
1 |
1 |
280 |
1 |
1 |
281 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
285 |
1 |
1 |
289 |
1 |
1 |
290 |
1 |
1 |
291 |
1 |
1 |
292 |
1 |
1 |
293 |
1 |
1 |
294 |
1 |
1 |
296 |
1 |
1 |
297 |
1 |
1 |
298 |
1 |
1 |
305 |
1 |
1 |
307 |
1 |
1 |
309 |
0 |
1 |
312 |
1 |
1 |
313 |
1 |
1 |
326 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
332 |
1 |
1 |
337 |
1 |
1 |
338 |
1 |
1 |
340 |
1 |
1 |
346 |
1 |
1 |
348 |
1 |
1 |
349 |
1 |
1 |
350 |
1 |
1 |
351 |
1 |
1 |
|
|
|
MISSING_ELSE |
354 |
1 |
1 |
355 |
1 |
1 |
|
|
|
MISSING_ELSE |
360 |
1 |
1 |
363 |
1 |
1 |
364 |
1 |
1 |
365 |
1 |
1 |
366 |
1 |
1 |
368 |
1 |
1 |
373 |
1 |
1 |
374 |
1 |
1 |
375 |
1 |
1 |
376 |
1 |
1 |
378 |
1 |
1 |
379 |
1 |
1 |
380 |
1 |
1 |
381 |
1 |
1 |
383 |
1 |
1 |
390 |
1 |
1 |
391 |
1 |
1 |
393 |
1 |
1 |
402 |
1 |
1 |
403 |
1 |
1 |
405 |
1 |
1 |
406 |
1 |
1 |
407 |
1 |
1 |
408 |
1 |
1 |
|
|
|
MISSING_ELSE |
418 |
1 |
1 |
421 |
1 |
1 |
422 |
1 |
1 |
424 |
1 |
1 |
425 |
1 |
1 |
426 |
1 |
1 |
427 |
1 |
1 |
|
|
|
MISSING_ELSE |
435 |
1 |
1 |
Cond Coverage for Module :
usb_fs_nb_out_pe
| Total | Covered | Percent |
Conditions | 134 | 124 | 92.54 |
Logical | 134 | 124 | 92.54 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 134
EXPRESSION (rx_pkt_end_i && rx_pkt_valid_i && (rx_pid_type == UsbPidTypeToken) && (rx_addr_i == dev_addr_i))
------1----- -------2------ ----------------3--------------- ------------4------------
-1- | -2- | -3- | -4- | Status | Tests |
0 | 1 | 1 | 1 | Covered | T1,T15,T17 |
1 | 0 | 1 | 1 | Covered | T28,T81,T68 |
1 | 1 | 0 | 1 | Covered | T1,T15,T17 |
1 | 1 | 1 | 0 | Covered | T2,T16,T20 |
1 | 1 | 1 | 1 | Covered | T1,T15,T17 |
LINE 134
SUB-EXPRESSION (rx_pid_type == UsbPidTypeToken)
----------------1---------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 134
SUB-EXPRESSION (rx_addr_i == dev_addr_i)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 140
EXPRESSION (token_received && (rx_pid == UsbPidOut))
-------1------ ----------2----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T17 |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T1,T17,T18 |
LINE 140
SUB-EXPRESSION (rx_pid == UsbPidOut)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T17 |
LINE 144
EXPRESSION (token_received && (rx_pid == UsbPidSetup))
-------1------ -----------2-----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T1,T17,T18 |
1 | 1 | Covered | T1,T15,T18 |
LINE 144
SUB-EXPRESSION (rx_pid == UsbPidSetup)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 148
EXPRESSION (rx_pkt_end_i && ((!rx_pkt_valid_i)))
------1----- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T15 |
1 | 1 | Covered | T1,T2,T18 |
LINE 152
EXPRESSION (rx_pkt_end_i && rx_pkt_valid_i && ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1)))
------1----- -------2------ --------------------------3-------------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T15 |
1 | 0 | 1 | Covered | T18,T67,T209 |
1 | 1 | 0 | Covered | T1,T2,T15 |
1 | 1 | 1 | Covered | T1,T2,T15 |
LINE 152
SUB-EXPRESSION ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1))
-----------1----------- -----------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T1,T2,T15 |
LINE 152
SUB-EXPRESSION (rx_pid == UsbPidData0)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 152
SUB-EXPRESSION (rx_pid == UsbPidData1)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 157
EXPRESSION (rx_pkt_end_i && rx_pkt_valid_i && ( ! ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1)) ))
------1----- -------2------ -----------------------------3----------------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T15 |
1 | 0 | 1 | Covered | T1,T2,T20 |
1 | 1 | 0 | Covered | T1,T2,T15 |
1 | 1 | 1 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION ( ! ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1)) )
--------------------------1-------------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1))
-----------1----------- -----------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION (rx_pid == UsbPidData0)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION (rx_pid == UsbPidData1)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 164
EXPRESSION (ep_in_hw ? rx_endp_i : '0)
----1---
-1- | Status | Tests |
0 | Covered | T2,T20,T83 |
1 | Covered | T1,T2,T3 |
LINE 175
EXPRESSION (out_ep_enabled_i[out_ep_index_d] & ep_in_hw)
----------------1--------------- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T210,T211,T212 |
1 | 1 | Covered | T1,T2,T15 |
LINE 178
EXPRESSION (data_packet_received && ep_active && (rx_pid_i[3] != data_toggle_q[out_ep_index_d]))
----------1--------- ----2---- -----------------------3----------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T15 |
1 | 0 | 1 | Covered | T193,T213,T214 |
1 | 1 | 0 | Covered | T1,T2,T15 |
1 | 1 | 1 | Covered | T1,T51,T56 |
LINE 178
SUB-EXPRESSION (rx_pid_i[3] != data_toggle_q[out_ep_index_d])
-----------------------1----------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 187
EXPRESSION (setup_token_received && ep_active)
----------1--------- ----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T56,T111,T112 |
1 | 1 | Covered | T1,T15,T18 |
LINE 189
EXPRESSION (out_token_received && ep_active)
---------1-------- ----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T56,T111,T112 |
1 | 1 | Covered | T1,T17,T18 |
LINE 225
EXPRESSION (ep_active && (out_token_received || (setup_token_received && ep_is_control)))
----1---- -------------------------------2-------------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T56,T111,T112 |
1 | 0 | Covered | T1,T2,T15 |
1 | 1 | Covered | T1,T15,T17 |
LINE 225
SUB-EXPRESSION (out_token_received || (setup_token_received && ep_is_control))
---------1-------- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T15,T18 |
1 | 0 | Covered | T1,T17,T18 |
LINE 225
SUB-EXPRESSION (setup_token_received && ep_is_control)
----------1--------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T23,T56,T111 |
1 | 1 | Covered | T1,T15,T18 |
LINE 241
EXPRESSION (timeout_cntdown_q == '0)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T15,T17 |
1 | Not Covered | |
LINE 249
EXPRESSION (((!ep_is_control)) && out_ep_iso_i[out_ep_index] && data_packet_received)
---------1-------- -------------2------------ ----------3---------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T82,T163 |
1 | 0 | 1 | Covered | T17,T19,T21 |
1 | 1 | 0 | Covered | T1,T82,T215 |
1 | 1 | 1 | Covered | T1,T82,T215 |
LINE 254
EXPRESSION (bad_data_toggle && ((!out_ep_stall_i[out_ep_index])))
-------1------- ----------------2----------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T15,T17 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T51,T123,T108 |
LINE 261
EXPRESSION (invalid_packet_received || non_data_packet_received)
-----------1----------- ------------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T15,T17 |
0 | 1 | Covered | T80,T216,T106 |
1 | 0 | Covered | T18,T67,T209 |
LINE 278
EXPRESSION (nak_out_transaction | out_ep_full_i[out_ep_index])
---------1--------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T15,T18 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 292
EXPRESSION (nak_out_transaction | out_ep_full_i[out_ep_index])
---------1--------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T17,T18 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 307
EXPRESSION (nak_out_transaction | out_ep_full_i[out_ep_index])
---------1--------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T82,T215 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 340
EXPRESSION (link_reset_i ? StIdle : out_xact_state_next)
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 348
EXPRESSION (setup_token_received && ep_active)
----------1--------- ----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T56,T111,T112 |
1 | 1 | Covered | T1,T15,T18 |
LINE 393
EXPRESSION ((out_xact_state == StRcvdDataStart) && rx_data_put_i)
-----------------1----------------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T20,T23 |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T1,T15,T17 |
LINE 393
SUB-EXPRESSION (out_xact_state == StRcvdDataStart)
-----------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 405
EXPRESSION ((out_xact_state == StIdle) || (out_xact_state == StRcvdOut))
-------------1------------ --------------2--------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T15,T17 |
0 | 1 | Covered | T1,T15,T17 |
1 | 0 | Covered | T1,T2,T3 |
LINE 405
SUB-EXPRESSION (out_xact_state == StIdle)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T15,T17 |
1 | Covered | T1,T2,T3 |
LINE 405
SUB-EXPRESSION (out_xact_state == StRcvdOut)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 407
EXPRESSION (out_ep_data_put_o && out_ep_full_i[out_ep_index])
--------1-------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T18,T62,T124 |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T18,T62,T124 |
LINE 418
EXPRESSION (((!nak_out_transaction)) && ((~&out_ep_put_addr_o)) && out_ep_data_put_o)
------------1----------- -----------2----------- --------3--------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T18,T62,T124 |
1 | 0 | 1 | Covered | T1,T17,T22 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T15,T17 |
LINE 424
EXPRESSION (out_xact_state == StRcvdOut)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 426
EXPRESSION ((out_xact_state == StRcvdDataStart) && increment_addr)
-----------------1----------------- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T1,T15,T17 |
LINE 426
SUB-EXPRESSION (out_xact_state == StRcvdDataStart)
-----------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 435
EXPRESSION ((out_xact_state == StRcvdDataStart) && (ep_is_control || ((!out_ep_iso_i[out_ep_index]))) && ((!out_ep_stall_i[out_ep_index])) && bad_data_toggle)
-----------------1----------------- -------------------------2------------------------ ----------------3---------------- -------4-------
-1- | -2- | -3- | -4- | Status | Tests |
0 | 1 | 1 | 1 | Covered | T56,T112,T217 |
1 | 0 | 1 | 1 | Covered | T1,T82,T163 |
1 | 1 | 0 | 1 | Not Covered | |
1 | 1 | 1 | 0 | Covered | T1,T15,T17 |
1 | 1 | 1 | 1 | Covered | T51,T123,T108 |
LINE 435
SUB-EXPRESSION (out_xact_state == StRcvdDataStart)
-----------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 435
SUB-EXPRESSION (ep_is_control || ((!out_ep_iso_i[out_ep_index])))
------1------ ---------------2---------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T83 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T83 |
FSM Coverage for Module :
usb_fs_nb_out_pe
Summary for FSM :: out_xact_state
| Total | Covered | Percent | |
States |
5 |
5 |
100.00 |
(Not included in score) |
Transitions |
8 |
7 |
87.50 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: out_xact_state
states | Line No. | Covered | Tests |
StIdle |
340 |
Covered |
T1,T2,T3 |
StRcvdDataEnd |
266 |
Covered |
T1,T15,T17 |
StRcvdDataStart |
240 |
Covered |
T1,T15,T17 |
StRcvdIsoDataEnd |
253 |
Covered |
T1,T82,T215 |
StRcvdOut |
226 |
Covered |
T1,T15,T17 |
transitions | Line No. | Covered | Tests |
StIdle->StRcvdOut |
226 |
Covered |
T1,T15,T17 |
StRcvdDataEnd->StIdle |
340 |
Covered |
T1,T15,T17 |
StRcvdDataStart->StIdle |
340 |
Covered |
T18,T51,T67 |
StRcvdDataStart->StRcvdDataEnd |
266 |
Covered |
T1,T15,T17 |
StRcvdDataStart->StRcvdIsoDataEnd |
253 |
Covered |
T1,T82,T215 |
StRcvdIsoDataEnd->StIdle |
340 |
Covered |
T1,T82,T215 |
StRcvdOut->StIdle |
340 |
Not Covered |
|
StRcvdOut->StRcvdDataStart |
240 |
Covered |
T1,T15,T17 |
Branch Coverage for Module :
usb_fs_nb_out_pe
| Line No. | Total | Covered | Percent |
Branches |
|
53 |
50 |
94.34 |
TERNARY |
164 |
2 |
2 |
100.00 |
IF |
184 |
4 |
4 |
100.00 |
IF |
196 |
3 |
3 |
100.00 |
CASE |
221 |
18 |
15 |
83.33 |
IF |
329 |
2 |
2 |
100.00 |
IF |
337 |
3 |
3 |
100.00 |
IF |
348 |
3 |
3 |
100.00 |
IF |
354 |
2 |
2 |
100.00 |
IF |
363 |
3 |
3 |
100.00 |
IF |
373 |
3 |
3 |
100.00 |
IF |
390 |
2 |
2 |
100.00 |
IF |
402 |
4 |
4 |
100.00 |
IF |
421 |
4 |
4 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv' or '../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 164 (ep_in_hw) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T2,T20,T83 |
LineNo. Expression
-1-: 184 if ((!rst_ni))
-2-: 187 if ((setup_token_received && ep_active))
-3-: 189 if ((out_token_received && ep_active))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T15,T18 |
0 |
0 |
1 |
Covered |
T1,T17,T18 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 196 if ((!rst_ni))
-2-: 199 if (rx_data_put_i)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T15 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 221 case (out_xact_state)
-2-: 225 if ((ep_active && (out_token_received || (setup_token_received && ep_is_control))))
-3-: 239 if (rx_pkt_start_i)
-4-: 241 if ((timeout_cntdown_q == '0))
-5-: 249 if ((((!ep_is_control) && out_ep_iso_i[out_ep_index]) && data_packet_received))
-6-: 254 if ((bad_data_toggle && (!out_ep_stall_i[out_ep_index])))
-7-: 261 if ((invalid_packet_received || non_data_packet_received))
-8-: 265 if (data_packet_received)
-9-: 276 if (current_xact_setup_q)
-10-: 278 if ((nak_out_transaction | out_ep_full_i[out_ep_index]))
-11-: 289 if (out_ep_stall_i[out_ep_index])
-12-: 292 if ((nak_out_transaction | out_ep_full_i[out_ep_index]))
-13-: 307 if ((nak_out_transaction | out_ep_full_i[out_ep_index]))
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | -9- | -10- | -11- | -12- | -13- | Status | Tests |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
StIdle |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StRcvdOut |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
StRcvdOut |
- |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Not Covered |
|
StRcvdOut |
- |
0 |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
StRcvdDataStart |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T82,T215 |
StRcvdDataStart |
- |
- |
- |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T51,T123,T108 |
StRcvdDataStart |
- |
- |
- |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T18,T67,T209 |
StRcvdDataStart |
- |
- |
- |
0 |
0 |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
StRcvdDataStart |
- |
- |
- |
0 |
0 |
0 |
0 |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
1 |
1 |
- |
- |
- |
Covered |
T218 |
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
1 |
0 |
- |
- |
- |
Covered |
T1,T15,T18 |
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
1 |
- |
- |
Covered |
T56,T219,T111 |
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
0 |
1 |
- |
Covered |
T62,T124,T155 |
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
0 |
0 |
- |
Covered |
T1,T17,T18 |
StRcvdIsoDataEnd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
Not Covered |
|
StRcvdIsoDataEnd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T1,T82,T215 |
default |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Not Covered |
|
LineNo. Expression
-1-: 329 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 337 if ((!rst_ni))
-2-: 340 (link_reset_i) ?
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 348 if ((setup_token_received && ep_active))
-2-: 350 if (new_pkt_end)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T15,T18 |
0 |
1 |
Covered |
T1,T15,T17 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 354 if (out_datatog_we_i)
Branches:
-1- | Status | Tests |
1 |
Covered |
T51,T123,T108 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 363 if ((!rst_ni))
-2-: 365 if (link_reset_i)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 373 if ((!rst_ni))
-2-: 378 if (out_xact_start)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T15,T17 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 390 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 402 if ((!rst_ni))
-2-: 405 if (((out_xact_state == StIdle) || (out_xact_state == StRcvdOut)))
-3-: 407 if ((out_ep_data_put_o && out_ep_full_i[out_ep_index]))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T18,T62,T124 |
0 |
0 |
0 |
Covered |
T1,T15,T17 |
LineNo. Expression
-1-: 421 if ((!rst_ni))
-2-: 424 if ((out_xact_state == StRcvdOut))
-3-: 426 if (((out_xact_state == StRcvdDataStart) && increment_addr))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T15,T17 |
0 |
0 |
1 |
Covered |
T1,T15,T17 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Module :
usb_fs_nb_out_pe
Assertion Details
OutXactStateValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
591616758 |
591331147 |
0 |
0 |
T1 |
191610 |
191560 |
0 |
0 |
T2 |
21176 |
21126 |
0 |
0 |
T3 |
704988 |
704932 |
0 |
0 |
T15 |
12177 |
12109 |
0 |
0 |
T16 |
9034 |
8935 |
0 |
0 |
T17 |
638634 |
638537 |
0 |
0 |
T18 |
29782 |
29690 |
0 |
0 |
T19 |
9914 |
9825 |
0 |
0 |
T20 |
32338 |
32253 |
0 |
0 |
T21 |
8175 |
8092 |
0 |
0 |
Line Coverage for Instance : tb.dut.usbdev_impl.u_usb_fs_nb_pe.u_usb_fs_nb_out_pe
| Line No. | Total | Covered | Percent |
TOTAL | | 127 | 125 | 98.43 |
CONT_ASSIGN | 90 | 1 | 1 | 100.00 |
CONT_ASSIGN | 131 | 1 | 1 | 100.00 |
CONT_ASSIGN | 132 | 1 | 1 | 100.00 |
CONT_ASSIGN | 134 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 144 | 1 | 1 | 100.00 |
CONT_ASSIGN | 148 | 1 | 1 | 100.00 |
CONT_ASSIGN | 152 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
CONT_ASSIGN | 164 | 1 | 1 | 100.00 |
CONT_ASSIGN | 171 | 1 | 1 | 100.00 |
CONT_ASSIGN | 172 | 1 | 1 | 100.00 |
CONT_ASSIGN | 175 | 1 | 1 | 100.00 |
CONT_ASSIGN | 176 | 1 | 1 | 100.00 |
CONT_ASSIGN | 178 | 1 | 1 | 100.00 |
ALWAYS | 184 | 6 | 6 | 100.00 |
ALWAYS | 196 | 4 | 4 | 100.00 |
ALWAYS | 212 | 55 | 53 | 96.36 |
CONT_ASSIGN | 326 | 1 | 1 | 100.00 |
ALWAYS | 329 | 3 | 3 | 100.00 |
ALWAYS | 337 | 3 | 3 | 100.00 |
ALWAYS | 346 | 7 | 7 | 100.00 |
CONT_ASSIGN | 360 | 1 | 1 | 100.00 |
ALWAYS | 363 | 5 | 5 | 100.00 |
ALWAYS | 373 | 9 | 9 | 100.00 |
ALWAYS | 390 | 3 | 3 | 100.00 |
ALWAYS | 402 | 6 | 6 | 100.00 |
CONT_ASSIGN | 418 | 1 | 1 | 100.00 |
ALWAYS | 421 | 6 | 6 | 100.00 |
CONT_ASSIGN | 435 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv' or '../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
90 |
1 |
1 |
131 |
1 |
1 |
132 |
1 |
1 |
134 |
1 |
1 |
140 |
1 |
1 |
144 |
1 |
1 |
148 |
1 |
1 |
152 |
1 |
1 |
157 |
1 |
1 |
163 |
1 |
1 |
164 |
1 |
1 |
171 |
1 |
1 |
172 |
1 |
1 |
175 |
1 |
1 |
176 |
1 |
1 |
178 |
1 |
1 |
184 |
1 |
1 |
185 |
1 |
1 |
187 |
1 |
1 |
188 |
1 |
1 |
189 |
1 |
1 |
190 |
1 |
1 |
|
|
|
MISSING_ELSE |
196 |
1 |
1 |
197 |
1 |
1 |
199 |
1 |
1 |
200 |
1 |
1 |
|
|
|
MISSING_ELSE |
212 |
1 |
1 |
213 |
1 |
1 |
214 |
1 |
1 |
215 |
1 |
1 |
216 |
1 |
1 |
217 |
1 |
1 |
218 |
1 |
1 |
219 |
1 |
1 |
221 |
1 |
1 |
225 |
1 |
1 |
226 |
1 |
1 |
227 |
1 |
1 |
229 |
1 |
1 |
237 |
1 |
1 |
239 |
1 |
1 |
240 |
1 |
1 |
241 |
1 |
1 |
242 |
0 |
1 |
244 |
1 |
1 |
249 |
1 |
1 |
253 |
1 |
1 |
254 |
1 |
1 |
257 |
1 |
1 |
258 |
1 |
1 |
259 |
1 |
1 |
260 |
1 |
1 |
261 |
1 |
1 |
263 |
1 |
1 |
264 |
1 |
1 |
265 |
1 |
1 |
266 |
1 |
1 |
268 |
1 |
1 |
273 |
1 |
1 |
274 |
1 |
1 |
276 |
1 |
1 |
278 |
1 |
1 |
280 |
1 |
1 |
281 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
285 |
1 |
1 |
289 |
1 |
1 |
290 |
1 |
1 |
291 |
1 |
1 |
292 |
1 |
1 |
293 |
1 |
1 |
294 |
1 |
1 |
296 |
1 |
1 |
297 |
1 |
1 |
298 |
1 |
1 |
305 |
1 |
1 |
307 |
1 |
1 |
309 |
0 |
1 |
312 |
1 |
1 |
313 |
1 |
1 |
|
|
|
Exclude Annotation: VC_COV_UNR |
326 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
332 |
1 |
1 |
337 |
1 |
1 |
338 |
1 |
1 |
340 |
1 |
1 |
346 |
1 |
1 |
348 |
1 |
1 |
349 |
1 |
1 |
350 |
1 |
1 |
351 |
1 |
1 |
|
|
|
MISSING_ELSE |
354 |
1 |
1 |
355 |
1 |
1 |
|
|
|
MISSING_ELSE |
360 |
1 |
1 |
363 |
1 |
1 |
364 |
1 |
1 |
365 |
1 |
1 |
366 |
1 |
1 |
368 |
1 |
1 |
373 |
1 |
1 |
374 |
1 |
1 |
375 |
1 |
1 |
376 |
1 |
1 |
378 |
1 |
1 |
379 |
1 |
1 |
380 |
1 |
1 |
381 |
1 |
1 |
383 |
1 |
1 |
390 |
1 |
1 |
391 |
1 |
1 |
393 |
1 |
1 |
402 |
1 |
1 |
403 |
1 |
1 |
405 |
1 |
1 |
406 |
1 |
1 |
407 |
1 |
1 |
408 |
1 |
1 |
|
|
|
MISSING_ELSE |
418 |
1 |
1 |
421 |
1 |
1 |
422 |
1 |
1 |
424 |
1 |
1 |
425 |
1 |
1 |
426 |
1 |
1 |
427 |
1 |
1 |
|
|
|
MISSING_ELSE |
435 |
1 |
1 |
Cond Coverage for Instance : tb.dut.usbdev_impl.u_usb_fs_nb_pe.u_usb_fs_nb_out_pe
| Total | Covered | Percent |
Conditions | 134 | 124 | 92.54 |
Logical | 134 | 124 | 92.54 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 134
EXPRESSION (rx_pkt_end_i && rx_pkt_valid_i && (rx_pid_type == UsbPidTypeToken) && (rx_addr_i == dev_addr_i))
------1----- -------2------ ----------------3--------------- ------------4------------
-1- | -2- | -3- | -4- | Status | Tests |
0 | 1 | 1 | 1 | Covered | T1,T15,T17 |
1 | 0 | 1 | 1 | Covered | T28,T81,T68 |
1 | 1 | 0 | 1 | Covered | T1,T15,T17 |
1 | 1 | 1 | 0 | Covered | T2,T16,T20 |
1 | 1 | 1 | 1 | Covered | T1,T15,T17 |
LINE 134
SUB-EXPRESSION (rx_pid_type == UsbPidTypeToken)
----------------1---------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 134
SUB-EXPRESSION (rx_addr_i == dev_addr_i)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 140
EXPRESSION (token_received && (rx_pid == UsbPidOut))
-------1------ ----------2----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T17 |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T1,T17,T18 |
LINE 140
SUB-EXPRESSION (rx_pid == UsbPidOut)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T17 |
LINE 144
EXPRESSION (token_received && (rx_pid == UsbPidSetup))
-------1------ -----------2-----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T1,T17,T18 |
1 | 1 | Covered | T1,T15,T18 |
LINE 144
SUB-EXPRESSION (rx_pid == UsbPidSetup)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 148
EXPRESSION (rx_pkt_end_i && ((!rx_pkt_valid_i)))
------1----- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T15 |
1 | 1 | Covered | T1,T2,T18 |
LINE 152
EXPRESSION (rx_pkt_end_i && rx_pkt_valid_i && ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1)))
------1----- -------2------ --------------------------3-------------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T15 |
1 | 0 | 1 | Covered | T18,T67,T209 |
1 | 1 | 0 | Covered | T1,T2,T15 |
1 | 1 | 1 | Covered | T1,T2,T15 |
LINE 152
SUB-EXPRESSION ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1))
-----------1----------- -----------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T1,T2,T15 |
LINE 152
SUB-EXPRESSION (rx_pid == UsbPidData0)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 152
SUB-EXPRESSION (rx_pid == UsbPidData1)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 157
EXPRESSION (rx_pkt_end_i && rx_pkt_valid_i && ( ! ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1)) ))
------1----- -------2------ -----------------------------3----------------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T15 |
1 | 0 | 1 | Covered | T1,T2,T20 |
1 | 1 | 0 | Covered | T1,T2,T15 |
1 | 1 | 1 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION ( ! ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1)) )
--------------------------1-------------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION ((rx_pid == UsbPidData0) || (rx_pid == UsbPidData1))
-----------1----------- -----------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION (rx_pid == UsbPidData0)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 157
SUB-EXPRESSION (rx_pid == UsbPidData1)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 164
EXPRESSION (ep_in_hw ? rx_endp_i : '0)
----1---
-1- | Status | Tests |
0 | Covered | T2,T20,T83 |
1 | Covered | T1,T2,T3 |
LINE 175
EXPRESSION (out_ep_enabled_i[out_ep_index_d] & ep_in_hw)
----------------1--------------- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T210,T211,T212 |
1 | 1 | Covered | T1,T2,T15 |
LINE 178
EXPRESSION (data_packet_received && ep_active && (rx_pid_i[3] != data_toggle_q[out_ep_index_d]))
----------1--------- ----2---- -----------------------3----------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T15 |
1 | 0 | 1 | Covered | T193,T213,T214 |
1 | 1 | 0 | Covered | T1,T2,T15 |
1 | 1 | 1 | Covered | T1,T51,T56 |
LINE 178
SUB-EXPRESSION (rx_pid_i[3] != data_toggle_q[out_ep_index_d])
-----------------------1----------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T15 |
LINE 187
EXPRESSION (setup_token_received && ep_active)
----------1--------- ----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T56,T111,T112 |
1 | 1 | Covered | T1,T15,T18 |
LINE 189
EXPRESSION (out_token_received && ep_active)
---------1-------- ----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T56,T111,T112 |
1 | 1 | Covered | T1,T17,T18 |
LINE 225
EXPRESSION (ep_active && (out_token_received || (setup_token_received && ep_is_control)))
----1---- -------------------------------2-------------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T56,T111,T112 |
1 | 0 | Covered | T1,T2,T15 |
1 | 1 | Covered | T1,T15,T17 |
LINE 225
SUB-EXPRESSION (out_token_received || (setup_token_received && ep_is_control))
---------1-------- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T15,T18 |
1 | 0 | Covered | T1,T17,T18 |
LINE 225
SUB-EXPRESSION (setup_token_received && ep_is_control)
----------1--------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T23,T56,T111 |
1 | 1 | Covered | T1,T15,T18 |
LINE 241
EXPRESSION (timeout_cntdown_q == '0)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T15,T17 |
1 | Not Covered | |
LINE 249
EXPRESSION (((!ep_is_control)) && out_ep_iso_i[out_ep_index] && data_packet_received)
---------1-------- -------------2------------ ----------3---------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T82,T163 |
1 | 0 | 1 | Covered | T17,T19,T21 |
1 | 1 | 0 | Covered | T1,T82,T215 |
1 | 1 | 1 | Covered | T1,T82,T215 |
LINE 254
EXPRESSION (bad_data_toggle && ((!out_ep_stall_i[out_ep_index])))
-------1------- ----------------2----------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T15,T17 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T51,T123,T108 |
LINE 261
EXPRESSION (invalid_packet_received || non_data_packet_received)
-----------1----------- ------------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T15,T17 |
0 | 1 | Covered | T80,T216,T106 |
1 | 0 | Covered | T18,T67,T209 |
LINE 278
EXPRESSION (nak_out_transaction | out_ep_full_i[out_ep_index])
---------1--------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T15,T18 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 292
EXPRESSION (nak_out_transaction | out_ep_full_i[out_ep_index])
---------1--------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T17,T18 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 307
EXPRESSION (nak_out_transaction | out_ep_full_i[out_ep_index])
---------1--------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T82,T215 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 340
EXPRESSION (link_reset_i ? StIdle : out_xact_state_next)
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 348
EXPRESSION (setup_token_received && ep_active)
----------1--------- ----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T15 |
1 | 0 | Covered | T56,T111,T112 |
1 | 1 | Covered | T1,T15,T18 |
LINE 393
EXPRESSION ((out_xact_state == StRcvdDataStart) && rx_data_put_i)
-----------------1----------------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T20,T23 |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T1,T15,T17 |
LINE 393
SUB-EXPRESSION (out_xact_state == StRcvdDataStart)
-----------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 405
EXPRESSION ((out_xact_state == StIdle) || (out_xact_state == StRcvdOut))
-------------1------------ --------------2--------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T15,T17 |
0 | 1 | Covered | T1,T15,T17 |
1 | 0 | Covered | T1,T2,T3 |
LINE 405
SUB-EXPRESSION (out_xact_state == StIdle)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T15,T17 |
1 | Covered | T1,T2,T3 |
LINE 405
SUB-EXPRESSION (out_xact_state == StRcvdOut)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 407
EXPRESSION (out_ep_data_put_o && out_ep_full_i[out_ep_index])
--------1-------- -------------2-------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T18,T62,T124 |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T18,T62,T124 |
LINE 418
EXPRESSION (((!nak_out_transaction)) && ((~&out_ep_put_addr_o)) && out_ep_data_put_o)
------------1----------- -----------2----------- --------3--------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T18,T62,T124 |
1 | 0 | 1 | Covered | T1,T17,T22 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T15,T17 |
LINE 424
EXPRESSION (out_xact_state == StRcvdOut)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 426
EXPRESSION ((out_xact_state == StRcvdDataStart) && increment_addr)
-----------------1----------------- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T15,T17 |
1 | 1 | Covered | T1,T15,T17 |
LINE 426
SUB-EXPRESSION (out_xact_state == StRcvdDataStart)
-----------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 435
EXPRESSION ((out_xact_state == StRcvdDataStart) && (ep_is_control || ((!out_ep_iso_i[out_ep_index]))) && ((!out_ep_stall_i[out_ep_index])) && bad_data_toggle)
-----------------1----------------- -------------------------2------------------------ ----------------3---------------- -------4-------
-1- | -2- | -3- | -4- | Status | Tests |
0 | 1 | 1 | 1 | Covered | T56,T112,T217 |
1 | 0 | 1 | 1 | Covered | T1,T82,T163 |
1 | 1 | 0 | 1 | Not Covered | |
1 | 1 | 1 | 0 | Covered | T1,T15,T17 |
1 | 1 | 1 | 1 | Covered | T51,T123,T108 |
LINE 435
SUB-EXPRESSION (out_xact_state == StRcvdDataStart)
-----------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T15,T17 |
LINE 435
SUB-EXPRESSION (ep_is_control || ((!out_ep_iso_i[out_ep_index])))
------1------ ---------------2---------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T83 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T83 |
FSM Coverage for Instance : tb.dut.usbdev_impl.u_usb_fs_nb_pe.u_usb_fs_nb_out_pe
Summary for FSM :: out_xact_state
| Total | Covered | Percent | |
States |
5 |
5 |
100.00 |
(Not included in score) |
Transitions |
8 |
7 |
87.50 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: out_xact_state
states | Line No. | Covered | Tests |
StIdle |
340 |
Covered |
T1,T2,T3 |
StRcvdDataEnd |
266 |
Covered |
T1,T15,T17 |
StRcvdDataStart |
240 |
Covered |
T1,T15,T17 |
StRcvdIsoDataEnd |
253 |
Covered |
T1,T82,T215 |
StRcvdOut |
226 |
Covered |
T1,T15,T17 |
transitions | Line No. | Covered | Tests |
StIdle->StRcvdOut |
226 |
Covered |
T1,T15,T17 |
StRcvdDataEnd->StIdle |
340 |
Covered |
T1,T15,T17 |
StRcvdDataStart->StIdle |
340 |
Covered |
T18,T51,T67 |
StRcvdDataStart->StRcvdDataEnd |
266 |
Covered |
T1,T15,T17 |
StRcvdDataStart->StRcvdIsoDataEnd |
253 |
Covered |
T1,T82,T215 |
StRcvdIsoDataEnd->StIdle |
340 |
Covered |
T1,T82,T215 |
StRcvdOut->StIdle |
340 |
Not Covered |
|
StRcvdOut->StRcvdDataStart |
240 |
Covered |
T1,T15,T17 |
Branch Coverage for Instance : tb.dut.usbdev_impl.u_usb_fs_nb_pe.u_usb_fs_nb_out_pe
| Line No. | Total | Covered | Percent |
Branches |
|
52 |
50 |
96.15 |
TERNARY |
164 |
2 |
2 |
100.00 |
IF |
184 |
4 |
4 |
100.00 |
IF |
196 |
3 |
3 |
100.00 |
CASE |
221 |
17 |
15 |
88.24 |
IF |
329 |
2 |
2 |
100.00 |
IF |
337 |
3 |
3 |
100.00 |
IF |
348 |
3 |
3 |
100.00 |
IF |
354 |
2 |
2 |
100.00 |
IF |
363 |
3 |
3 |
100.00 |
IF |
373 |
3 |
3 |
100.00 |
IF |
390 |
2 |
2 |
100.00 |
IF |
402 |
4 |
4 |
100.00 |
IF |
421 |
4 |
4 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv' or '../src/lowrisc_ip_usb_fs_nb_pe_0.1/rtl/usb_fs_nb_out_pe.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 164 (ep_in_hw) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T2,T20,T83 |
LineNo. Expression
-1-: 184 if ((!rst_ni))
-2-: 187 if ((setup_token_received && ep_active))
-3-: 189 if ((out_token_received && ep_active))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T15,T18 |
0 |
0 |
1 |
Covered |
T1,T17,T18 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 196 if ((!rst_ni))
-2-: 199 if (rx_data_put_i)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T15 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 221 case (out_xact_state)
-2-: 225 if ((ep_active && (out_token_received || (setup_token_received && ep_is_control))))
-3-: 239 if (rx_pkt_start_i)
-4-: 241 if ((timeout_cntdown_q == '0))
-5-: 249 if ((((!ep_is_control) && out_ep_iso_i[out_ep_index]) && data_packet_received))
-6-: 254 if ((bad_data_toggle && (!out_ep_stall_i[out_ep_index])))
-7-: 261 if ((invalid_packet_received || non_data_packet_received))
-8-: 265 if (data_packet_received)
-9-: 276 if (current_xact_setup_q)
-10-: 278 if ((nak_out_transaction | out_ep_full_i[out_ep_index]))
-11-: 289 if (out_ep_stall_i[out_ep_index])
-12-: 292 if ((nak_out_transaction | out_ep_full_i[out_ep_index]))
-13-: 307 if ((nak_out_transaction | out_ep_full_i[out_ep_index]))
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | -9- | -10- | -11- | -12- | -13- | Status | Tests | Exclude Annotation |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
|
StIdle |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
|
StRcvdOut |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
|
StRcvdOut |
- |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Not Covered |
|
|
StRcvdOut |
- |
0 |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
|
StRcvdDataStart |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T82,T215 |
|
StRcvdDataStart |
- |
- |
- |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T51,T123,T108 |
|
StRcvdDataStart |
- |
- |
- |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T18,T67,T209 |
|
StRcvdDataStart |
- |
- |
- |
0 |
0 |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
|
StRcvdDataStart |
- |
- |
- |
0 |
0 |
0 |
0 |
- |
- |
- |
- |
- |
Covered |
T1,T15,T17 |
|
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
1 |
1 |
- |
- |
- |
Covered |
T218 |
|
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
1 |
0 |
- |
- |
- |
Covered |
T1,T15,T18 |
|
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
1 |
- |
- |
Covered |
T56,T219,T111 |
|
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
0 |
1 |
- |
Covered |
T62,T124,T155 |
|
StRcvdDataEnd |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
0 |
0 |
- |
Covered |
T1,T17,T18 |
|
StRcvdIsoDataEnd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
Not Covered |
|
|
StRcvdIsoDataEnd |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T1,T82,T215 |
|
default |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Excluded |
|
VC_COV_UNR |
LineNo. Expression
-1-: 329 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 337 if ((!rst_ni))
-2-: 340 (link_reset_i) ?
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 348 if ((setup_token_received && ep_active))
-2-: 350 if (new_pkt_end)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T15,T18 |
0 |
1 |
Covered |
T1,T15,T17 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 354 if (out_datatog_we_i)
Branches:
-1- | Status | Tests |
1 |
Covered |
T51,T123,T108 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 363 if ((!rst_ni))
-2-: 365 if (link_reset_i)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 373 if ((!rst_ni))
-2-: 378 if (out_xact_start)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T15,T17 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 390 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 402 if ((!rst_ni))
-2-: 405 if (((out_xact_state == StIdle) || (out_xact_state == StRcvdOut)))
-3-: 407 if ((out_ep_data_put_o && out_ep_full_i[out_ep_index]))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T18,T62,T124 |
0 |
0 |
0 |
Covered |
T1,T15,T17 |
LineNo. Expression
-1-: 421 if ((!rst_ni))
-2-: 424 if ((out_xact_state == StRcvdOut))
-3-: 426 if (((out_xact_state == StRcvdDataStart) && increment_addr))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T15,T17 |
0 |
0 |
1 |
Covered |
T1,T15,T17 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.usbdev_impl.u_usb_fs_nb_pe.u_usb_fs_nb_out_pe
Assertion Details
OutXactStateValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
591616758 |
591331147 |
0 |
0 |
T1 |
191610 |
191560 |
0 |
0 |
T2 |
21176 |
21126 |
0 |
0 |
T3 |
704988 |
704932 |
0 |
0 |
T15 |
12177 |
12109 |
0 |
0 |
T16 |
9034 |
8935 |
0 |
0 |
T17 |
638634 |
638537 |
0 |
0 |
T18 |
29782 |
29690 |
0 |
0 |
T19 |
9914 |
9825 |
0 |
0 |
T20 |
32338 |
32253 |
0 |
0 |
T21 |
8175 |
8092 |
0 |
0 |