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

Module : spid_addr_4b
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_spid_addr_4b 0.00 0.00 0.00 0.00



Module Instance : tb.dut.u_spid_addr_4b

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
19.21 0.00 0.00 76.82 0.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_spi2sys_sync 0.00 0.00 0.00
u_sys2spi_sync 0.00 0.00 0.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : spid_addr_4b
Line No.TotalCoveredPercent
TOTAL2800.00
ALWAYS83800.00
CONT_ASSIGN108100.00
CONT_ASSIGN110100.00
CONT_ASSIGN111100.00
ALWAYS115600.00
ALWAYS128300.00
ALWAYS136800.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spid_addr_4b.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spid_addr_4b.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
83 0 1
84 0 1
85 0 1
86 0 1
89 0 1
90 0 1
93 0 1
94 0 1
108 0 1
110 0 1
111 0 1
115 0 1
116 0 1
117 0 1
118 0 1
119 0 1
120 0 1
==> MISSING_ELSE
128 0 1
129 0 1
131 0 1
136 0 1
137 0 1
138 0 1
140 0 1
141 0 1
143 0 1
144 0 1
147 0 1
==> MISSING_ELSE


Cond Coverage for Module : spid_addr_4b
TotalCoveredPercent
Conditions2100.00
Logical2100.00
Non-Logical00
Event00

 LINE       86
 EXPRESSION (sys_csb_deasserted_pulse_i && (sys_cfg_addr_4b_en_sync != reg2hw_cfg_addr_4b_en_q_i))
             -------------1------------    ---------------------------2--------------------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       86
 SUB-EXPRESSION (sys_cfg_addr_4b_en_sync != reg2hw_cfg_addr_4b_en_q_i)
                ---------------------------1--------------------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       108
 EXPRESSION (spi_reg_cfg_addr_4b_en_sync ? spi_addr_4b_clr_i : spi_addr_4b_set_i)
             -------------1-------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       110
 EXPRESSION (spi_reg_cfg_addr_4b_en_sync == spi_cfg_addr_4b_en_o)
            --------------------------1--------------------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       111
 EXPRESSION (spi_reg_cfg_addr_4b_en_sync != spi_cfg_addr_4b_en_o)
            --------------------------1--------------------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       117
 EXPRESSION (((!addr_4b_en_locked)) & addr_4b_en_lock_condition)
             -----------1----------   ------------2------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       119
 EXPRESSION (addr_4b_en_locked & addr_4b_en_unlock_condition)
             --------1--------   -------------2-------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       144
 EXPRESSION (spi_csb_asserted_pulse_d1 & ((!addr_4b_en_locked)) & addr_4b_en_sw_update_condition)
             ------------1------------   -----------2----------   ---------------3--------------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110Not Covered
111Not Covered

Branch Coverage for Module : spid_addr_4b
Line No.TotalCoveredPercent
Branches 16 0 0.00
TERNARY 108 2 0 0.00
IF 83 3 0 0.00
IF 115 4 0 0.00
IF 128 2 0 0.00
IF 136 5 0 0.00

WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spid_addr_4b.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spid_addr_4b.sv was not found/opened, so annotated branch coverage report could not be generated.

LineNo. Expression -1-: 108 (spi_reg_cfg_addr_4b_en_sync) ?

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 83 if ((!sys_rst_ni)) -2-: 86 if ((sys_csb_deasserted_pulse_i && (sys_cfg_addr_4b_en_sync != reg2hw_cfg_addr_4b_en_q_i)))

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 115 if ((!sys_rst_ni)) -2-: 117 if (((!addr_4b_en_locked) & addr_4b_en_lock_condition)) -3-: 119 if ((addr_4b_en_locked & addr_4b_en_unlock_condition))

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 128 if ((!sys_rst_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 136 if ((!sys_rst_ni)) -2-: 138 if (spi_addr_4b_set_i) -3-: 141 if (spi_addr_4b_clr_i) -4-: 144 if (((spi_csb_asserted_pulse_d1 & (!addr_4b_en_locked)) & addr_4b_en_sw_update_condition))

Branches:
-1--2--3--4-StatusTests
1 - - - Not Covered
0 1 - - Not Covered
0 0 1 - Not Covered
0 0 0 1 Not Covered
0 0 0 0 Not Covered

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