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

Module : dm_sba
SCORELINECONDTOGGLEFSMBRANCHASSERT
22.15 45.45 16.67 0.00 26.47

Source File(s) :
/workspace/default/sim-vcs/../src/pulp-platform_riscv-dbg_0.1_0/pulp_riscv_dbg/src/dm_sba.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_dm_top.i_dm_sba 22.15 45.45 16.67 0.00 26.47



Module Instance : tb.dut.u_dm_top.i_dm_sba

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
22.15 45.45 16.67 0.00 26.47


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
22.15 45.45 16.67 0.00 26.47


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
100.00 100.00 u_dm_top


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : dm_sba
Line No.TotalCoveredPercent
TOTAL773545.45
CONT_ASSIGN6911100.00
ALWAYS727457.14
CONT_ASSIGN9211100.00
CONT_ASSIGN9611100.00
CONT_ASSIGN9711100.00
ALWAYS101541527.78
ALWAYS19333100.00
CONT_ASSIGN20111100.00
CONT_ASSIGN20211100.00
CONT_ASSIGN20311100.00
CONT_ASSIGN20411100.00
CONT_ASSIGN20511100.00
CONT_ASSIGN20611100.00
CONT_ASSIGN20711100.00
CONT_ASSIGN20811100.00
CONT_ASSIGN20911100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/pulp-platform_riscv-dbg_0.1_0/pulp_riscv_dbg/src/dm_sba.sv' or '../src/pulp-platform_riscv-dbg_0.1_0/pulp_riscv_dbg/src/dm_sba.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
69 1 1
72 1 1
75 1 1
77 0 1
80 0 1
83 1 1(1 unreachable)
84 1 1
86 0 1
92 1 1
96 1 1
97 1 1
101 1 1
102 1 1
103 1 1
104 1 1
105 1 1
107 1 1
108 1 1
110 1 1
112 1 1
114 1 1
117 1 2
MISSING_ELSE
119 1 2
MISSING_ELSE
121 1 2
MISSING_ELSE
125 0 1
126 0 2
==> MISSING_ELSE
127 0 2
==> MISSING_ELSE
131 0 1
132 0 1
133 0 1
134 0 2
==> MISSING_ELSE
138 0 1
139 0 1
141 0 1
143 0 1
144 0 1
145 0 1
147 0 1
148 0 1
149 0 1
==> MISSING_ELSE
==> MISSING_ELSE
155 0 1
156 0 1
158 0 1
160 0 1
161 0 1
162 0 1
164 0 1
165 0 1
166 0 1
==> MISSING_ELSE
==> MISSING_ELSE
175 1 1
176 0 1
177 0 1
178 0 1
179 0 1
MISSING_ELSE
183 1 1
184 0 1
185 0 1
186 0 1
187 0 1
MISSING_ELSE
193 1 1
194 1 1
196 1 1
201 1 1
202 1 1
203 1 1
204 1 1
205 1 1
206 1 1
207 1 1
208 1 1
209 1 1


Cond Coverage for Module : dm_sba
TotalCoveredPercent
Conditions18316.67
Logical18316.67
Non-Logical00
Event00

 LINE       96
 EXPRESSION (addr_incr_en ? ((32'(1'b1) << sbaccess_i)) : '0)
             ------1-----
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       117
 EXPRESSION (sbaddress_write_valid_i && sbreadonaddr_i)
             -----------1-----------    -------2------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       121
 EXPRESSION (sbdata_read_valid_i && sbreadondata_i)
             ---------1---------    -------2------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       175
 EXPRESSION ((32'(sbaccess_i) > BeIdxWidth) && (state_q != Idle))
             ---------------1--------------    --------2--------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       175
 SUB-EXPRESSION (state_q != Idle)
                --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       183
 EXPRESSION (((|(sbaddress_i & (~sbaccess_mask)))) && (state_q != Idle))
             ------------------1------------------    --------2--------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       183
 SUB-EXPRESSION (state_q != Idle)
                --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

FSM Coverage for Module : dm_sba
Summary for FSM :: state_q
TotalCoveredPercent
States 5 1 20.00 (Not included in score)
Transitions 8 0 0.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: state_q
states   Line No.   Covered   Tests   
Idle 139 Covered T1,T2,T3
Read 117 Not Covered
WaitRead 127 Not Covered
WaitWrite 134 Not Covered
Write 119 Not Covered


transitions   Line No.   Covered   Tests   
Idle->Read 117 Not Covered
Idle->Write 119 Not Covered
Read->Idle 177 Not Covered
Read->WaitRead 127 Not Covered
WaitRead->Idle 139 Not Covered
WaitWrite->Idle 156 Not Covered
Write->Idle 177 Not Covered
Write->WaitWrite 134 Not Covered



Branch Coverage for Module : dm_sba
Line No.TotalCoveredPercent
Branches 34 9 26.47
TERNARY 96 2 1 50.00
CASE 75 5 1 20.00
CASE 114 21 3 14.29
IF 175 2 1 50.00
IF 183 2 1 50.00
IF 193 2 2 100.00

WARNING: The source file /workspace/default/sim-vcs/../src/pulp-platform_riscv-dbg_0.1_0/pulp_riscv_dbg/src/dm_sba.sv' or '../src/pulp-platform_riscv-dbg_0.1_0/pulp_riscv_dbg/src/dm_sba.sv was not found/opened, so annotated branch coverage report could not be generated.

LineNo. Expression -1-: 96 (addr_incr_en) ?

Branches:
-1-StatusTests
1 Not Covered
0 Covered T1,T2,T3


LineNo. Expression -1-: 75 case (sbaccess_i) -2-: 83 if ((BusWidth == 32'd64))

Branches:
-1--2-StatusTests
3'b000 - Not Covered
3'b001 - Not Covered
3'b010 1 Unreachable
3'b010 0 Covered T1,T2,T3
3'b011 - Not Covered
default - Not Covered


LineNo. Expression -1-: 114 case (state_q) -2-: 117 if ((sbaddress_write_valid_i && sbreadonaddr_i)) -3-: 119 if (sbdata_write_valid_i) -4-: 121 if ((sbdata_read_valid_i && sbreadondata_i)) -5-: 126 if (ReadByteEnable) -6-: 127 if (gnt) -7-: 134 if (gnt) -8-: 138 if (sbdata_valid_o) -9-: 143 if (master_r_other_err_i) -10-: 147 if (master_r_err_i) -11-: 155 if (sbdata_valid_o) -12-: 160 if (master_r_other_err_i) -13-: 164 if (master_r_err_i)

Branches:
-1--2--3--4--5--6--7--8--9--10--11--12--13-StatusTests
Idle 1 - - - - - - - - - - - Not Covered
Idle 0 - - - - - - - - - - - Covered T1,T2,T3
Idle - 1 - - - - - - - - - - Not Covered
Idle - 0 - - - - - - - - - - Covered T1,T2,T3
Idle - - 1 - - - - - - - - - Not Covered
Idle - - 0 - - - - - - - - - Covered T1,T2,T3
Read - - - 1 - - - - - - - - Not Covered
Read - - - 0 - - - - - - - - Not Covered
Read - - - - 1 - - - - - - - Not Covered
Read - - - - 0 - - - - - - - Not Covered
Write - - - - - 1 - - - - - - Not Covered
Write - - - - - 0 - - - - - - Not Covered
WaitRead - - - - - - 1 1 - - - - Not Covered
WaitRead - - - - - - 1 0 1 - - - Not Covered
WaitRead - - - - - - 1 0 0 - - - Not Covered
WaitRead - - - - - - 0 - - - - - Not Covered
WaitWrite - - - - - - - - - 1 1 - Not Covered
WaitWrite - - - - - - - - - 1 0 1 Not Covered
WaitWrite - - - - - - - - - 1 0 0 Not Covered
WaitWrite - - - - - - - - - 0 - - Not Covered
default - - - - - - - - - - - - Not Covered


LineNo. Expression -1-: 175 if (((32'(sbaccess_i) > BeIdxWidth) && (state_q != Idle)))

Branches:
-1-StatusTests
1 Not Covered
0 Covered T1,T2,T3


LineNo. Expression -1-: 183 if (((|(sbaddress_i & (~sbaccess_mask))) && (state_q != Idle)))

Branches:
-1-StatusTests
1 Not Covered
0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3