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

Module : dm_sba
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.53 100.00 100.00 100.00 94.12

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 98.53 100.00 100.00 100.00 94.12



Module Instance : tb.dut.u_dm_top.i_dm_sba

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.53 100.00 100.00 100.00 94.12


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.53 100.00 100.00 100.00 94.12


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
TOTAL7777100.00
CONT_ASSIGN6911100.00
ALWAYS7277100.00
CONT_ASSIGN9211100.00
CONT_ASSIGN9611100.00
CONT_ASSIGN9711100.00
ALWAYS1015454100.00
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 1 1
80 1 1
83 1 1(1 unreachable)
84 1 1
86 1 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 2 2
MISSING_ELSE
119 2 2
MISSING_ELSE
121 2 2
MISSING_ELSE
125 1 1
126 2 2
==> MISSING_ELSE
127 2 2
MISSING_ELSE
131 1 1
132 1 1
133 1 1
134 2 2
MISSING_ELSE
138 1 1
139 1 1
141 1 1
143 1 1
144 1 1
145 1 1
147 1 1
148 1 1
149 1 1
MISSING_ELSE
MISSING_ELSE
155 1 1
156 1 1
158 1 1
160 1 1
161 1 1
162 1 1
164 1 1
165 1 1
166 1 1
MISSING_ELSE
MISSING_ELSE
175 1 1
176 1 1
177 1 1
178 1 1
179 1 1
MISSING_ELSE
183 1 1
184 1 1
185 1 1
186 1 1
187 1 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
Conditions1818100.00
Logical1818100.00
Non-Logical00
Event00

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

 LINE       117
 EXPRESSION (sbaddress_write_valid_i && sbreadonaddr_i)
             -----------1-----------    -------2------
-1--2-StatusTests
01CoveredT5,T10,T11
10CoveredT5,T10,T11
11CoveredT5,T10,T11

 LINE       121
 EXPRESSION (sbdata_read_valid_i && sbreadondata_i)
             ---------1---------    -------2------
-1--2-StatusTests
01CoveredT5,T10,T11
10CoveredT5,T10,T11
11CoveredT5,T10,T11

 LINE       175
 EXPRESSION ((32'(sbaccess_i) > BeIdxWidth) && (state_q != Idle))
             ---------------1--------------    --------2--------
-1--2-StatusTests
01CoveredT5,T10,T11
10CoveredT5,T11,T22
11CoveredT5,T11,T22

 LINE       175
 SUB-EXPRESSION (state_q != Idle)
                --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T10,T11

 LINE       183
 EXPRESSION (((|(sbaddress_i & (~sbaccess_mask)))) && (state_q != Idle))
             ------------------1------------------    --------2--------
-1--2-StatusTests
01CoveredT5,T10,T11
10CoveredT5,T10,T11
11CoveredT5,T11,T22

 LINE       183
 SUB-EXPRESSION (state_q != Idle)
                --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T10,T11

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

State, Transition and Sequence Details for FSM :: state_q
statesLine No.CoveredTests
Idle 139 Covered T1,T2,T3
Read 117 Covered T5,T10,T11
WaitRead 127 Covered T5,T10,T11
WaitWrite 134 Covered T5,T10,T11
Write 119 Covered T5,T10,T11


transitionsLine No.CoveredTests
Idle->Read 117 Covered T5,T10,T11
Idle->Write 119 Covered T5,T10,T11
Read->Idle 177 Covered T5,T11,T22
Read->WaitRead 127 Covered T5,T10,T11
WaitRead->Idle 139 Covered T5,T10,T11
WaitWrite->Idle 156 Covered T5,T10,T11
Write->Idle 177 Covered T5,T11,T22
Write->WaitWrite 134 Covered T5,T10,T11



Branch Coverage for Module : dm_sba
Line No.TotalCoveredPercent
Branches 34 32 94.12
TERNARY 96 2 2 100.00
CASE 75 5 5 100.00
CASE 114 21 19 90.48
IF 175 2 2 100.00
IF 183 2 2 100.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 Covered T11,T24,T25
0 Covered T1,T2,T3


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

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


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 - - - - - - - - - - - Covered T5,T10,T11
Idle 0 - - - - - - - - - - - Covered T1,T2,T3
Idle - 1 - - - - - - - - - - Covered T5,T10,T11
Idle - 0 - - - - - - - - - - Covered T1,T2,T3
Idle - - 1 - - - - - - - - - Covered T5,T10,T11
Idle - - 0 - - - - - - - - - Covered T1,T2,T3
Read - - - 1 - - - - - - - - Covered T5,T10,T11
Read - - - 0 - - - - - - - - Not Covered
Read - - - - 1 - - - - - - - Covered T5,T10,T11
Read - - - - 0 - - - - - - - Covered T5,T10,T50
Write - - - - - 1 - - - - - - Covered T5,T10,T11
Write - - - - - 0 - - - - - - Covered T5,T10,T50
WaitRead - - - - - - 1 1 - - - - Covered T24,T60,T61
WaitRead - - - - - - 1 0 1 - - - Covered T11,T22,T24
WaitRead - - - - - - 1 0 0 - - - Covered T5,T10,T11
WaitRead - - - - - - 0 - - - - - Covered T5,T10,T11
WaitWrite - - - - - - - - - 1 1 - Covered T5,T24,T60
WaitWrite - - - - - - - - - 1 0 1 Covered T11,T22,T24
WaitWrite - - - - - - - - - 1 0 0 Covered T5,T10,T11
WaitWrite - - - - - - - - - 0 - - Covered T5,T10,T11
default - - - - - - - - - - - - Not Covered


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

Branches:
-1-StatusTests
1 Covered T5,T11,T22
0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T5,T11,T22
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

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