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

Module : prim_clock_timeout
SCORELINECONDTOGGLEFSMBRANCHASSERT
91.67 100.00 100.00 75.00

Source File(s) :
/workspaces/repo/scratch/os_regression_2024_09_23/pwrmgr-sim-vcs/default/sim-vcs/../src/lowrisc_prim_measure_0/rtl/prim_clock_timeout.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_esc_timeout 91.67 100.00 100.00 75.00



Module Instance : tb.dut.u_esc_timeout

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
91.67 100.00 100.00 75.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
92.79 100.00 75.00 96.15 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
96.70 100.00 83.87 99.60 100.00 100.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_out 100.00 100.00 100.00
u_ref_timeout 90.00 100.00 60.00 100.00 100.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : prim_clock_timeout
Line No.TotalCoveredPercent
TOTAL77100.00
CONT_ASSIGN3000
ALWAYS3277100.00

29 logic timeout; 30 unreachable assign timeout = int'(cnt) >= TimeOutCnt; 31 always_ff @(posedge clk_i or negedge rst_ni) begin 32 1/1 if (!rst_ni) begin Tests: T1 T2 T3  33 1/1 cnt <= '0; Tests: T1 T2 T3  34 1/1 end else if (ack || !en_i) begin Tests: T1 T2 T3  35 1/1 cnt <= '0; Tests: T1 T2 T3  36 1/1 end else if (timeout) begin Tests: T1 T2 T3  37 unreachable cnt <= '{default: '1}; 38 1/1 end else if (en_i) begin Tests: T1 T2 T3  39 1/1 cnt <= cnt + 1'b1; Tests: T1 T2 T3  40 end ==> MISSING_ELSE

Cond Coverage for Module : prim_clock_timeout
TotalCoveredPercent
Conditions33100.00
Logical33100.00
Non-Logical00
Event00

 LINE       34
 EXPRESSION (ack || ((!en_i)))
             -1-    ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T2,T3

Branch Coverage for Module : prim_clock_timeout
Line No.TotalCoveredPercent
Branches 4 3 75.00
IF 32 4 3 75.00


32 if (!rst_ni) begin -1- 33 cnt <= '0; ==> 34 end else if (ack || !en_i) begin -2- 35 cnt <= '0; ==> 36 end else if (timeout) begin -3- 37 cnt <= '{default: '1}; ==> (Unreachable) 38 end else if (en_i) begin -4- 39 cnt <= cnt + 1'b1; ==> 40 end MISSING_ELSE ==>

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T1,T2,T3
0 0 1 - Unreachable T6,T9,T11
0 0 0 1 Covered T1,T2,T3
0 0 0 0 Not Covered

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