Line Coverage for Module :
usb_fs_nb_pe
| Line No. | Total | Covered | Percent |
TOTAL | | 5 | 5 | 100.00 |
CONT_ASSIGN | 166 | 1 | 1 | 100.00 |
CONT_ASSIGN | 169 | 1 | 1 | 100.00 |
CONT_ASSIGN | 171 | 1 | 1 | 100.00 |
CONT_ASSIGN | 172 | 1 | 1 | 100.00 |
CONT_ASSIGN | 176 | 1 | 1 | 100.00 |
165 // - SOF is detected and may be used for timing/synchronization purposes if the PID is valid.
166 1/1 assign sof_detected_o = rx_pkt_end & rx_pid_valid & (usb_pid_e'(rx_pid) == UsbPidSof);
Tests: T1 T2 T3
167 // - The SOF packet is considered valid iff the packet is also free of bit stuffing violations
168 // and the CRC5 is correct.
169 1/1 assign sof_valid_o = rx_pkt_end & rx_pkt_valid & (usb_pid_e'(rx_pid) == UsbPidSof);
Tests: T1 T2 T3
170 // - The frame number shall be used only if the SOF packet is valid.
171 1/1 assign frame_index_o = rx_frame_num;
Tests: T1 T2 T3
172 1/1 assign usb_oe_o = usb_oe;
Tests: T1 T2 T3
173
174 // IN ep type configuration
175 logic [NumInEps-1:0] in_ep_iso_not_control;
176 1/1 assign in_ep_iso_not_control = in_ep_iso_i & ~out_ep_control_i;
Tests: T1 T2 T3
Cond Coverage for Module :
usb_fs_nb_pe
| Total | Covered | Percent |
Conditions | 12 | 12 | 100.00 |
Logical | 12 | 12 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 166
EXPRESSION (rx_pkt_end & rx_pid_valid & (usb_pid_e'(rx_pid) == UsbPidSof))
-----1---- ------2----- ----------------3----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T31,T42,T32 |
1 | 0 | 1 | Covered | T89,T112,T113 |
1 | 1 | 0 | Covered | T1,T3,T30 |
1 | 1 | 1 | Covered | T42,T65,T7 |
LINE 166
SUB-EXPRESSION (usb_pid_e'(rx_pid) == UsbPidSof)
----------------1----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T31,T42,T32 |
LINE 169
EXPRESSION (rx_pkt_end & rx_pkt_valid & (usb_pid_e'(rx_pid) == UsbPidSof))
-----1---- ------2----- ----------------3----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T42,T65,T7 |
1 | 0 | 1 | Covered | T89,T112,T113 |
1 | 1 | 0 | Covered | T1,T3,T30 |
1 | 1 | 1 | Covered | T42,T65,T7 |
LINE 169
SUB-EXPRESSION (usb_pid_e'(rx_pid) == UsbPidSof)
----------------1----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T31,T42,T32 |
Assert Coverage for Module :
usb_fs_nb_pe
Assertion Details
NumOutEpsEqualsNumInEps_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3665 |
3665 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T30 |
1 |
1 |
0 |
0 |
T31 |
1 |
1 |
0 |
0 |
T32 |
1 |
1 |
0 |
0 |
T33 |
1 |
1 |
0 |
0 |
T42 |
1 |
1 |
0 |
0 |
T43 |
1 |
1 |
0 |
0 |
T44 |
1 |
1 |
0 |
0 |
ParamMaxPktSizeByteValid
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3665 |
3665 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T30 |
1 |
1 |
0 |
0 |
T31 |
1 |
1 |
0 |
0 |
T32 |
1 |
1 |
0 |
0 |
T33 |
1 |
1 |
0 |
0 |
T42 |
1 |
1 |
0 |
0 |
T43 |
1 |
1 |
0 |
0 |
T44 |
1 |
1 |
0 |
0 |
ParamNumEpsOutAndInEqual
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3665 |
3665 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T30 |
1 |
1 |
0 |
0 |
T31 |
1 |
1 |
0 |
0 |
T32 |
1 |
1 |
0 |
0 |
T33 |
1 |
1 |
0 |
0 |
T42 |
1 |
1 |
0 |
0 |
T43 |
1 |
1 |
0 |
0 |
T44 |
1 |
1 |
0 |
0 |
ParamNumInEpsValid
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3665 |
3665 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T30 |
1 |
1 |
0 |
0 |
T31 |
1 |
1 |
0 |
0 |
T32 |
1 |
1 |
0 |
0 |
T33 |
1 |
1 |
0 |
0 |
T42 |
1 |
1 |
0 |
0 |
T43 |
1 |
1 |
0 |
0 |
T44 |
1 |
1 |
0 |
0 |
ParamNumOutEpsValid
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3665 |
3665 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T30 |
1 |
1 |
0 |
0 |
T31 |
1 |
1 |
0 |
0 |
T32 |
1 |
1 |
0 |
0 |
T33 |
1 |
1 |
0 |
0 |
T42 |
1 |
1 |
0 |
0 |
T43 |
1 |
1 |
0 |
0 |
T44 |
1 |
1 |
0 |
0 |