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

Module : spi_fwmode
SCORELINECONDTOGGLEFSMBRANCHASSERT
95.83 91.67 100.00

Source File(s) :
/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spi_fwmode.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_fwmode 95.83 91.67 100.00



Module Instance : tb.dut.u_fwmode

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
95.83 91.67 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
94.94 99.27 89.44 100.00 97.11 88.89


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
95.39 96.31 94.03 97.00 93.33 96.30 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_fwmode_arb 88.22 100.00 70.73 96.43 85.71
u_rx_fifo 99.17 100.00 96.67 100.00 100.00
u_rxf_ctrl 98.06 100.00 94.87 100.00 97.37
u_tx_fifo 99.17 100.00 96.67 100.00 100.00
u_txf_ctrl 94.88 97.56 89.66 100.00 92.31


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : spi_fwmode
Line No.TotalCoveredPercent
TOTAL121191.67
CONT_ASSIGN8811100.00
CONT_ASSIGN12411100.00
CONT_ASSIGN12511100.00
CONT_ASSIGN12811100.00
CONT_ASSIGN12911100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN14711100.00
CONT_ASSIGN14811100.00
CONT_ASSIGN269100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spi_fwmode.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spi_fwmode.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
88 1 1
124 1 1
125 1 1
128 1 1
129 1 1
142 1 1
143 1 1
145 1 1
146 1 1
147 1 1
148 1 1
269 0 1


Cond Coverage for Module : spi_fwmode
TotalCoveredPercent
Conditions1111100.00
Logical1111100.00
Non-Logical00
Event00

 LINE       88
 EXPRESSION (spi_mode_i == FwMode)
            -----------1----------
-1-StatusTests
0CoveredT4,T1,T2
1CoveredT1,T3,T8

 LINE       124
 EXPRESSION (rx_data_valid_i && active)
             -------1-------    ---2--
-1--2-StatusTests
01CoveredT1,T3,T8
10CoveredT9,T15,T10
11CoveredT1,T3,T8

 LINE       142
 EXPRESSION (rxf_wvalid & ((~rxf_wready)))
             -----1----   -------2-------
-1--2-StatusTests
01CoveredT41,T33,T125
10CoveredT1,T3,T8
11CoveredT41,T33,T125

 LINE       143
 EXPRESSION (txf_rready & ((~txf_rvalid)))
             -----1----   -------2-------
-1--2-StatusTests
01CoveredT4,T1,T2
10CoveredT1,T3,T8
11CoveredT33,T125,T126
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%