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 | T18,T19,T20 |
1 | 0 | 1 | Covered | T76,T78,T79 |
1 | 1 | 0 | Covered | T2,T3,T17 |
1 | 1 | 1 | Covered | T21,T43,T85 |
LINE 166
SUB-EXPRESSION (usb_pid_e'(rx_pid) == UsbPidSof)
----------------1----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T18,T19,T20 |
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 | T21,T43,T85 |
1 | 0 | 1 | Covered | T76,T78,T79 |
1 | 1 | 0 | Covered | T2,T3,T17 |
1 | 1 | 1 | Covered | T21,T43,T85 |
LINE 169
SUB-EXPRESSION (usb_pid_e'(rx_pid) == UsbPidSof)
----------------1----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T18,T19,T20 |
Assert Coverage for Module :
usb_fs_nb_pe
Assertion Details
NumOutEpsEqualsNumInEps_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3728 |
3728 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
T20 |
1 |
1 |
0 |
0 |
T21 |
1 |
1 |
0 |
0 |
T22 |
1 |
1 |
0 |
0 |
ParamMaxPktSizeByteValid
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3728 |
3728 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
T20 |
1 |
1 |
0 |
0 |
T21 |
1 |
1 |
0 |
0 |
T22 |
1 |
1 |
0 |
0 |
ParamNumEpsOutAndInEqual
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3728 |
3728 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
T20 |
1 |
1 |
0 |
0 |
T21 |
1 |
1 |
0 |
0 |
T22 |
1 |
1 |
0 |
0 |
ParamNumInEpsValid
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3728 |
3728 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
T20 |
1 |
1 |
0 |
0 |
T21 |
1 |
1 |
0 |
0 |
T22 |
1 |
1 |
0 |
0 |
ParamNumOutEpsValid
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
3728 |
3728 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
T20 |
1 |
1 |
0 |
0 |
T21 |
1 |
1 |
0 |
0 |
T22 |
1 |
1 |
0 |
0 |