Module Definition
dashboard | hierarchy | modlist | groups | tests | asserts

Module : usbdev_iomux
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00

Source File(s) :
/workspaces/repo/scratch/os_regression_2024_08_22/usbdev-sim-vcs/default/sim-vcs/../src/lowrisc_ip_usbdev_0.1/rtl/usbdev_iomux.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.i_usbdev_iomux 100.00 100.00 100.00



Module Instance : tb.dut.i_usbdev_iomux

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
80.83 100.00 73.33 100.00 50.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
97.15 97.53 93.65 94.55 100.00 100.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
cdc_io_to_usb 100.00 100.00 100.00
i_mux_tx_d 72.22 100.00 66.67 50.00
i_mux_tx_dn 75.93 100.00 77.78 50.00
i_mux_tx_dp 79.63 100.00 88.89 50.00
i_mux_tx_oe 75.93 100.00 77.78 50.00
i_mux_tx_se0 68.52 100.00 55.56 50.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : usbdev_iomux
Line No.TotalCoveredPercent
TOTAL1616100.00
CONT_ASSIGN7311100.00
CONT_ASSIGN7411100.00
CONT_ASSIGN7511100.00
CONT_ASSIGN7611100.00
CONT_ASSIGN7711100.00
CONT_ASSIGN7811100.00
CONT_ASSIGN7911100.00
CONT_ASSIGN8011100.00
CONT_ASSIGN8111100.00
ALWAYS8877100.00

72 // USB pins sense 73 1/1 assign hw2reg_sense_o.rx_dp_i.d = usb_rx_dp_o; Tests: T1 T2 T3  74 1/1 assign hw2reg_sense_o.rx_dn_i.d = usb_rx_dn_o; Tests: T1 T2 T3  75 1/1 assign hw2reg_sense_o.rx_d_i.d = usb_rx_d_o; Tests: T1 T2 T3  76 1/1 assign hw2reg_sense_o.pwr_sense.d = usb_pwr_sense_o; Tests: T1 T2 T3  77 1/1 assign hw2reg_sense_o.tx_dp_o.d = usb_tx_dp_i; Tests: T1 T2 T3  78 1/1 assign hw2reg_sense_o.tx_dn_o.d = usb_tx_dn_i; Tests: T1 T2 T3  79 1/1 assign hw2reg_sense_o.tx_d_o.d = usb_tx_d_i; Tests: T1 T2 T3  80 1/1 assign hw2reg_sense_o.tx_se0_o.d = usb_tx_se0_i; Tests: T1 T2 T3  81 1/1 assign hw2reg_sense_o.tx_oe_o.d = usb_tx_oe_i; Tests: T1 T2 T3  82 83 84 //////////////////////// 85 // USB output pin mux // 86 //////////////////////// 87 always_comb begin : proc_drive_out 88 1/1 if (reg2hw_drive_i.en.q) begin Tests: T1 T2 T3  89 // Override from registers 90 1/1 usb_dp_pullup_en_o = reg2hw_drive_i.dp_pullup_en_o.q; Tests: T25 T26 T27  91 1/1 usb_dn_pullup_en_o = reg2hw_drive_i.dn_pullup_en_o.q; Tests: T25 T26 T27  92 1/1 usb_rx_enable_o = reg2hw_drive_i.rx_enable_o.q; Tests: T25 T26 T27  93 end else begin 94 // Signals from the peripheral core 95 1/1 usb_dp_pullup_en_o = usb_dp_pullup_en_i; Tests: T1 T2 T3  96 1/1 usb_dn_pullup_en_o = usb_dn_pullup_en_i; Tests: T1 T2 T3  97 1/1 usb_rx_enable_o = usb_rx_enable_i; Tests: T1 T2 T3 

Branch Coverage for Module : usbdev_iomux
Line No.TotalCoveredPercent
Branches 2 2 100.00
IF 88 2 2 100.00


88 if (reg2hw_drive_i.en.q) begin -1- 89 // Override from registers 90 usb_dp_pullup_en_o = reg2hw_drive_i.dp_pullup_en_o.q; ==> 91 usb_dn_pullup_en_o = reg2hw_drive_i.dn_pullup_en_o.q; 92 usb_rx_enable_o = reg2hw_drive_i.rx_enable_o.q; 93 end else begin 94 // Signals from the peripheral core 95 usb_dp_pullup_en_o = usb_dp_pullup_en_i; ==>

Branches:
-1-StatusTests
1 Covered T25,T26,T27
0 Covered T1,T2,T3

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%