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

Module : spid_status
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00

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

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



Module Instance : tb.dut.u_spid_status

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
19.21 0.00 0.00 76.82 0.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_stage_to_commit 0.00 0.00 0.00
u_sw_status_update_sync 0.00 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_status
Line No.TotalCoveredPercent
TOTAL6000.00
CONT_ASSIGN70100.00
CONT_ASSIGN73100.00
ALWAYS140600.00
ALWAYS151800.00
ALWAYS164400.00
CONT_ASSIGN182100.00
ALWAYS211400.00
ALWAYS224500.00
ALWAYS238300.00
ALWAYS2461100.00
CONT_ASSIGN267100.00
ALWAYS274300.00
ALWAYS2791200.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spid_status.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spid_status.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
70 0 1
73 0 1
140 0 1
141 0 1
142 0 1
143 0 1
144 0 1
145 0 1
==> MISSING_ELSE
151 0 1
152 0 1
153 0 1
154 0 1
155 0 1
156 0 1
157 0 1
158 0 1
==> MISSING_ELSE
164 0 1
165 0 1
166 0 1
167 0 1
==> MISSING_ELSE
182 0 1
211 0 1
212 0 1
213 0 1
214 0 1
==> MISSING_ELSE
224 0 1
225 0 1
226 0 1
228 0 1
229 0 1
238 0 1
239 0 1
241 0 1
246 0 1
248 0 1
250 0 1
252 0 1
253 0 1
254 0 1
==> MISSING_ELSE
257 0 1
258 0 1
259 0 1
260 0 1
261 0 1
==> MISSING_ELSE
267 0 1
274 0 2
275 0 1
279 0 1
281 0 1
282 0 1
284 0 1
286 0 1
288 0 1
289 0 1
291 0 1
292 0 1
==> MISSING_ELSE
297 0 1
305 0 2
==> MISSING_ELSE


Cond Coverage for Module : spid_status
TotalCoveredPercent
Conditions1300.00
Logical1300.00
Non-Logical00
Event00

 LINE       142
 EXPRESSION (sck_sw_we && (sck_sw_status[BitBusy] == 1'b0))
             ----1----    ----------------2---------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       142
 SUB-EXPRESSION (sck_sw_status[BitBusy] == 1'b0)
                ----------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       253
 EXPRESSION (cmd_info_idx_i == 5'(StatusCmdIdx[i]))
            -------------------1-------------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       267
 EXPRESSION ((st_q == StIdle) ? sck_status_committed[(8 * byte_sel_d)+:8] : sck_status_committed[(8 * byte_sel_q)+:8])
             --------1-------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       267
 SUB-EXPRESSION (st_q == StIdle)
                --------1-------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       288
 EXPRESSION (sel_dp_i == DpReadStatus)
            -------------1------------
-1-StatusTests
0Not Covered
1Not Covered

FSM Coverage for Module : spid_status
Summary for FSM :: byte_sel_q
TotalCoveredPercent
States 3 0 0.00 (Not included in score)
Transitions 4 0 0.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: byte_sel_q
statesLine No.CoveredTests
'h0 250 Not Covered
'h1 259 Not Covered
'h2 260 Not Covered


transitionsLine No.CoveredTests
'h0->'h1 259 Not Covered
'h1->'h0 250 Not Covered
'h1->'h2 260 Not Covered
'h2->'h0 250 Not Covered



Branch Coverage for Module : spid_status
Line No.TotalCoveredPercent
Branches 34 0 0.00
TERNARY 267 2 0 0.00
IF 140 4 0 0.00
IF 151 5 0 0.00
IF 164 3 0 0.00
IF 211 3 0 0.00
IF 224 2 0 0.00
IF 238 2 0 0.00
IF 248 6 0 0.00
IF 274 2 0 0.00
CASE 286 5 0 0.00

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

LineNo. Expression -1-: 267 ((st_q == StIdle)) ?

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


LineNo. Expression -1-: 140 if ((!sys_rst_ni)) -2-: 142 if ((sck_sw_we && (sck_sw_status[BitBusy] == 1'b0))) -3-: 144 if (inclk_busy_set_i)

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-: 151 if ((!sys_rst_ni)) -2-: 153 if (inclk_we_set_i) -3-: 155 if (inclk_we_clr_i) -4-: 157 if (sck_sw_we)

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


LineNo. Expression -1-: 164 if ((!sys_rst_ni)) -2-: 166 if (sck_sw_we)

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


LineNo. Expression -1-: 211 if ((!sys_rst_ni)) -2-: 213 if (sys_csb_deasserted_pulse_i)

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


LineNo. Expression -1-: 224 if ((!rst_ni))

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


LineNo. Expression -1-: 238 if ((!rst_ni))

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


LineNo. Expression -1-: 248 if (byte_sel_update) -2-: 257 if (byte_sel_inc) -3-: 258 case (byte_sel_q)

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 2'b00 Not Covered
0 1 2'b01 Not Covered
0 1 2'b10 Not Covered
0 1 default Not Covered
0 0 - Not Covered


LineNo. Expression -1-: 274 if ((!rst_ni))

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


LineNo. Expression -1-: 286 case (st_q) -2-: 288 if ((sel_dp_i == DpReadStatus)) -3-: 305 if (outclk_p2s_sent_i)

Branches:
-1--2--3-StatusTests
StIdle 1 - Not Covered
StIdle 0 - Not Covered
StActive - 1 Not Covered
StActive - 0 Not Covered
default - - Not Covered

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