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

Module : kmac_msgfifo
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.21 100.00 100.00 92.86 100.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_msgfifo 98.21 100.00 100.00 92.86 100.00



Module Instance : tb.dut.u_msgfifo

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.21 100.00 100.00 92.86 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.43 100.00 95.83 94.52 100.00 94.23 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
98.76 98.75 96.74 100.00 100.00 97.06 100.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_msgfifo 98.72 100.00 93.62 100.00 100.00 100.00
u_packer 96.41 100.00 100.00 89.74 92.31 100.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : kmac_msgfifo
Line No.TotalCoveredPercent
TOTAL3636100.00
CONT_ASSIGN13811100.00
ALWAYS14033100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
CONT_ASSIGN17411100.00
CONT_ASSIGN17511100.00
CONT_ASSIGN17611100.00
CONT_ASSIGN17711100.00
CONT_ASSIGN17911100.00
ALWAYS18533100.00
ALWAYS1931616100.00
CONT_ASSIGN23811100.00
ALWAYS24255100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_kmac_0.1/rtl/kmac_msgfifo.sv' or '../src/lowrisc_ip_kmac_0.1/rtl/kmac_msgfifo.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
138 1 1
140 1 1
141 1 1
142 1 1
171 1 1
172 1 1
174 1 1
175 1 1
176 1 1
177 1 1
179 1 1
185 1 1
186 1 1
188 1 1
193 1 1
195 1 1
197 1 1
199 1 1
200 1 1
202 1 1
207 1 1
208 1 1
210 1 1
215 1 1
216 1 1
218 1 1
220 1 1
225 1 1
226 1 1
228 1 1
238 1 1
242 1 1
249 1 1
250 1 1
256 1 1
257 1 1
MISSING_ELSE


FSM Coverage for Module : kmac_msgfifo
Summary for FSM :: flush_st
TotalCoveredPercent
States 4 4 100.00 (Not included in score)
Transitions 4 4 100.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: flush_st
statesLine No.CoveredTests
FlushClear 216 Covered T1,T2,T17
FlushFifo 208 Covered T1,T2,T17
FlushIdle 202 Covered T1,T2,T3
FlushPacker 200 Covered T1,T2,T17


transitionsLine No.CoveredTests
FlushClear->FlushIdle 226 Covered T1,T2,T17
FlushFifo->FlushClear 216 Covered T1,T2,T17
FlushIdle->FlushPacker 200 Covered T1,T2,T17
FlushPacker->FlushFifo 208 Covered T1,T2,T17



Branch Coverage for Module : kmac_msgfifo
Line No.TotalCoveredPercent
Branches 14 13 92.86
IF 185 2 2 100.00
CASE 197 9 8 88.89
IF 249 3 3 100.00

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

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

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


LineNo. Expression -1-: 197 case (flush_st) -2-: 199 if (process_i) -3-: 207 if (packer_flush_done) -4-: 215 if (fifo_empty_o) -5-: 225 if (prim_mubi_pkg::mubi4_test_true_strict(clear_i))

Branches:
-1--2--3--4--5-StatusTests
FlushIdle 1 - - - Covered T1,T2,T17
FlushIdle 0 - - - Covered T1,T2,T3
FlushPacker - 1 - - Covered T1,T2,T17
FlushPacker - 0 - - Covered T2,T17,T6
FlushFifo - - 1 - Covered T1,T2,T17
FlushFifo - - 0 - Covered T2,T17,T6
FlushClear - - - 1 Covered T1,T2,T17
FlushClear - - - 0 Covered T1,T2,T17
default - - - - Not Covered


LineNo. Expression -1-: 249 if (packer_err) -2-: 256 if (fifo_err)

Branches:
-1--2-StatusTests
1 - Covered T27,T28,T29
0 1 Covered T27,T28,T29
0 0 Covered T1,T2,T3


Assert Coverage for Module : kmac_msgfifo
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 4 4 100.00 4 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 4 4 100.00 4 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
FlushStInValid_A 2147483647 2147483647 0 0
MessageValid_a 2147483647 105353169 0 0
PackerDoneDelay_A 2147483647 2147483647 0 0
PackerDoneValid_a 2147483647 338314 0 0


FlushStInValid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T1 150167 150100 0 0
T2 113408 113403 0 0
T3 1580 1525 0 0
T4 138096 138014 0 0
T5 192450 192390 0 0
T6 284271 284177 0 0
T7 604144 604066 0 0
T17 13035 12938 0 0
T19 652851 652794 0 0
T30 1109 1016 0 0

MessageValid_a
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 105353169 0 0
T2 113408 16768 0 0
T3 1580 0 0 0
T4 138096 0 0 0
T5 192450 0 0 0
T6 284271 19262 0 0
T7 604144 36839 0 0
T17 13035 255 0 0
T19 652851 20425 0 0
T30 1109 0 0 0
T31 0 15496 0 0
T34 0 217954 0 0
T35 0 1011 0 0
T38 0 222408 0 0
T44 688800 445907 0 0

PackerDoneDelay_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T1 150167 150100 0 0
T2 113408 113403 0 0
T3 1580 1525 0 0
T4 138096 138014 0 0
T5 192450 192390 0 0
T6 284271 284177 0 0
T7 604144 604066 0 0
T17 13035 12938 0 0
T19 652851 652794 0 0
T30 1109 1016 0 0

PackerDoneValid_a
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 338314 0 0
T1 150167 16 0 0
T2 113408 146 0 0
T3 1580 0 0 0
T4 138096 17 0 0
T5 192450 20 0 0
T6 284271 95 0 0
T7 604144 171 0 0
T17 13035 9 0 0
T19 652851 139 0 0
T30 1109 0 0 0
T38 0 390 0 0
T44 0 2265 0 0

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