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

Module : timer_core
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.gen_harts[0].u_core 100.00 100.00 100.00 100.00



Module Instance : tb.dut.gen_harts[0].u_core

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
95.83 100.00 83.33 100.00 100.00 dut


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 : timer_core
Line No.TotalCoveredPercent
TOTAL1010100.00
ALWAYS2877100.00
CONT_ASSIGN3911100.00
CONT_ASSIGN4111100.00
CONT_ASSIGN4511100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_rv_timer_0.1/rtl/timer_core.sv' or '../src/lowrisc_ip_rv_timer_0.1/rtl/timer_core.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
28 1 1
29 1 1
30 1 1
31 1 1
32 1 1
33 1 1
35 1 1
39 1 1
41 1 1
45 1 1


Cond Coverage for Module : timer_core
TotalCoveredPercent
Conditions88100.00
Logical88100.00
Non-Logical00
Event00

 LINE       32
 EXPRESSION (tick_count == prescaler)
            ------------1------------
-1-StatusTests
0CoveredT3,T4,T5
1CoveredT3,T4,T5

 LINE       39
 EXPRESSION (active & (tick_count >= prescaler))
             ---1--   ------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT3,T4,T5
11CoveredT3,T4,T5

 LINE       45
 EXPRESSION (active & (mtime >= mtimecmp[0]))
             ---1--   -----------2----------
-1--2-StatusTests
01CoveredT2,T3,T4
10CoveredT3,T4,T5
11CoveredT3,T4,T5

Branch Coverage for Module : timer_core
Line No.TotalCoveredPercent
Branches 4 4 100.00
IF 28 4 4 100.00

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

LineNo. Expression -1-: 28 if ((!rst_ni)) -2-: 30 if ((!active)) -3-: 32 if ((tick_count == prescaler))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Covered T3,T4,T5
0 0 0 Covered T3,T4,T5

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