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

Module : alert_handler_ping_timer
SCORELINECONDTOGGLEFSMBRANCHASSERT
93.46 100.00 97.30 70.00 100.00 100.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_ping_timer 99.46 100.00 97.30 100.00 100.00 100.00



Module Instance : tb.dut.u_ping_timer

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.46 100.00 97.30 100.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.57 100.00 97.44 100.00 100.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
99.96 100.00 99.87 100.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_prim_buf_spurious_alert_ping 100.00 100.00
u_prim_buf_spurious_esc_ping 100.00 100.00
u_prim_count_cnt 100.00 100.00
u_prim_count_esc_cnt 100.00 100.00
u_prim_double_lfsr 100.00 100.00 100.00 100.00 100.00
u_state_regs 100.00 100.00 100.00 100.00

Line Coverage for Module : alert_handler_ping_timer
Line No.TotalCoveredPercent
TOTAL6262100.00
CONT_ASSIGN7511100.00
CONT_ASSIGN7811100.00
CONT_ASSIGN7911100.00
ALWAYS8233100.00
CONT_ASSIGN9611100.00
CONT_ASSIGN13111100.00
ALWAYS13844100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15311100.00
CONT_ASSIGN19311100.00
CONT_ASSIGN22611100.00
CONT_ASSIGN22711100.00
CONT_ASSIGN25311100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN25711100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26811100.00
ALWAYS3203737100.00
ALWAYS41533100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_alert_handler_component_0.1/rtl/alert_handler_ping_timer.sv' or '../src/lowrisc_ip_alert_handler_component_0.1/rtl/alert_handler_ping_timer.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
75 1 1
78 1 1
79 1 1
82 1 1
83 1 1
85 1 1
96 1 1
131 1 1
138 1 1
139 1 1
141 1 1
142 1 1
MISSING_ELSE
149 1 1
153 1 1
193 1 1
226 1 1
227 1 1
253 1 1
254 1 1
257 1 1
267 1 1
268 1 1
320 1 1
321 1 1
322 1 1
323 1 1
324 1 1
325 1 1
327 1 1
328 1 1
330 1 1
335 1 1
336 1 1
337 1 1
MISSING_ELSE
342 1 1
343 1 1
344 1 1
MISSING_ELSE
353 1 1
354 1 1
355 1 1
356 1 1
357 1 1
358 1 1
MISSING_ELSE
MISSING_ELSE
364 1 1
365 1 1
366 1 1
MISSING_ELSE
373 1 1
374 1 1
375 1 1
376 1 1
377 1 1
378 1 1
379 1 1
MISSING_ELSE
MISSING_ELSE
388 1 1
389 1 1
401 1 1
402 1 1
403 1 1
404 1 1
MISSING_ELSE
415 3 3


Cond Coverage for Module : alert_handler_ping_timer
TotalCoveredPercent
Conditions373697.30
Logical373697.30
Non-Logical00
Event00

 LINE       75
 EXPRESSION ((reseed_timer_q > '0) ? ((reseed_timer_q - 1'b1)) : (reseed_en ? ({wait_cyc_mask_i, {ReseedLfsrExtraBits {1'b1}}}) : '0))
             ----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       75
 SUB-EXPRESSION (reseed_en ? ({wait_cyc_mask_i, {ReseedLfsrExtraBits {1'b1}}}) : '0)
                 ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       78
 EXPRESSION (reseed_timer_q == '0)
            -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       79
 EXPRESSION (edn_req_o & edn_ack_i)
             ----1----   ----2----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       96
 EXPRESSION (reseed_en ? edn_data_i[(alert_pkg::LfsrWidth - 1):0] : '0)
             ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       114
 EXPRESSION (reseed_en || cnt_set)
             ----1----    ---2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T6
10CoveredT1,T2,T3

 LINE       131
 EXPRESSION 
 Number  Term
      1  (lfsr_state[alert_pkg::PING_CNT_DW+:IdDw] >= alert_pkg::NAlerts) ? ((lfsr_state[alert_pkg::PING_CNT_DW+:IdDw] - alert_pkg::NAlerts)) : lfsr_state[alert_pkg::PING_CNT_DW+:IdDw])
-1-StatusTests
0CoveredT2,T3,T4
1CoveredT1,T2,T3

 LINE       193
 EXPRESSION ((esc_cnt >= 16'((alert_pkg::N_ESC_SEV - 1))) && esc_cnt_en)
             ----------------------1---------------------    -----2----
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT4,T5,T38

 LINE       226
 EXPRESSION (cnt == '0)
            -----1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       227
 EXPRESSION (wait_cnt_set || timeout_cnt_set)
             ------1-----    -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T6
10CoveredT4,T5,T6

 LINE       257
 EXPRESSION (wait_cnt_set ? ((wait_cyc & wait_cyc_mask_i)) : ping_timeout_cyc_i)
             ------1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T6

 LINE       354
 EXPRESSION (timer_expired || ((|(alert_ping_ok_i & alert_ping_req_o))) || ((!id_vld)))
             ------1------    --------------------2--------------------    -----3-----
-1--2--3-StatusTests
000CoveredT4,T5,T6
001CoveredT5,T38,T18
010CoveredT4,T5,T6
100CoveredT38,T18,T40

 LINE       374
 EXPRESSION (timer_expired || ((|(esc_ping_ok_i & esc_ping_req_o))))
             ------1------    ------------------2------------------
-1--2-StatusTests
00CoveredT4,T5,T6
01CoveredT4,T5,T6
10CoveredT38,T18,T39

 LINE       401
 EXPRESSION (lfsr_err || cnt_error || esc_cnt_error)
             ----1---    ----2----    ------3------
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT11,T12,T13
010CoveredT11,T12,T13
100CoveredT11,T12,T13

FSM Coverage for Module : alert_handler_ping_timer
Summary for FSM :: state_q
TotalCoveredPercent
States 6 6 100.00 (Not included in score)
Transitions 10 7 70.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: state_q
statesLine No.CoveredTests
AlertPingSt 343 Covered T4,T5,T6
AlertWaitSt 336 Covered T4,T5,T6
EscPingSt 365 Covered T4,T5,T6
EscWaitSt 355 Covered T4,T5,T6
FsmErrorSt 402 Covered T11,T12,T13
InitSt 334 Covered T1,T2,T3


transitionsLine No.CoveredTests
AlertPingSt->EscWaitSt 355 Covered T4,T5,T6
AlertPingSt->FsmErrorSt 402 Not Covered
AlertWaitSt->AlertPingSt 343 Covered T4,T5,T6
AlertWaitSt->FsmErrorSt 402 Covered T11,T12,T13
EscPingSt->AlertWaitSt 375 Covered T4,T5,T6
EscPingSt->FsmErrorSt 402 Not Covered
EscWaitSt->EscPingSt 365 Covered T4,T5,T6
EscWaitSt->FsmErrorSt 402 Covered T12
InitSt->AlertWaitSt 336 Covered T4,T5,T6
InitSt->FsmErrorSt 402 Not Covered



Branch Coverage for Module : alert_handler_ping_timer
Line No.TotalCoveredPercent
Branches 32 32 100.00
TERNARY 75 3 3 100.00
TERNARY 96 2 2 100.00
TERNARY 131 2 2 100.00
TERNARY 257 2 2 100.00
IF 82 2 2 100.00
IF 138 3 3 100.00
CASE 330 14 14 100.00
IF 401 2 2 100.00
IF 415 2 2 100.00

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

LineNo. Expression -1-: 75 ((reseed_timer_q > '0)) ? -2-: 75 (reseed_en) ?

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


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

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


LineNo. Expression -1-: 131 ((lfsr_state[alert_pkg::PING_CNT_DW+:IdDw] >= alert_pkg::NAlerts)) ?

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


LineNo. Expression -1-: 257 (wait_cnt_set) ?

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


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

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


LineNo. Expression -1-: 138 if ((!rst_ni)) -2-: 141 if (cnt_set)

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


LineNo. Expression -1-: 330 case (state_q) -2-: 335 if (en_i) -3-: 342 if (timer_expired) -4-: 354 if (((timer_expired || (|(alert_ping_ok_i & alert_ping_req_o))) || (!id_vld))) -5-: 357 if (timer_expired) -6-: 364 if (timer_expired) -7-: 374 if ((timer_expired || (|(esc_ping_ok_i & esc_ping_req_o)))) -8-: 378 if (timer_expired)

Branches:
-1--2--3--4--5--6--7--8-StatusTests
InitSt 1 - - - - - - Covered T4,T5,T6
InitSt 0 - - - - - - Covered T1,T2,T3
AlertWaitSt - 1 - - - - - Covered T4,T5,T6
AlertWaitSt - 0 - - - - - Covered T4,T5,T6
AlertPingSt - - 1 1 - - - Covered T38,T18,T40
AlertPingSt - - 1 0 - - - Covered T4,T5,T6
AlertPingSt - - 0 - - - - Covered T4,T5,T6
EscWaitSt - - - - 1 - - Covered T4,T5,T6
EscWaitSt - - - - 0 - - Covered T4,T5,T6
EscPingSt - - - - - 1 1 Covered T38,T18,T39
EscPingSt - - - - - 1 0 Covered T4,T5,T6
EscPingSt - - - - - 0 - Covered T4,T5,T6
FsmErrorSt - - - - - - - Covered T11,T12,T13
default - - - - - - - Covered T11,T12,T13


LineNo. Expression -1-: 401 if (((lfsr_err || cnt_error) || esc_cnt_error))

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T1,T2,T3


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

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


Assert Coverage for Module : alert_handler_ping_timer
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 7 7 100.00 7 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 7 7 100.00 7 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertPingOH_A 619359372 179799 0 0
EscPingOH_A 619359372 119417 0 0
MaxIdDw_A 612 612 0 0
PingOH0_A 619359372 619190096 0 0
WaitCycMaskIsRightAlignedMask_A 619359372 619190096 0 0
WaitCycMaskMin_A 619359372 619190096 0 0
u_state_regs_A 619359372 619190096 0 0


AlertPingOH_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 179799 0 0
T4 313227 282 0 0
T5 231730 83 0 0
T6 245455 35 0 0
T7 57420 0 0 0
T8 49664 0 0 0
T9 34969 0 0 0
T10 251608 0 0 0
T18 799230 72 0 0
T20 0 100 0 0
T24 0 200 0 0
T37 0 220 0 0
T38 109879 3530 0 0
T40 172971 165 0 0
T96 0 1554 0 0

EscPingOH_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 119417 0 0
T4 313227 240 0 0
T5 231730 180 0 0
T6 245455 15 0 0
T7 57420 0 0 0
T8 49664 0 0 0
T9 34969 0 0 0
T10 251608 0 0 0
T18 799230 70 0 0
T20 0 65 0 0
T24 0 125 0 0
T37 0 300 0 0
T38 109879 1980 0 0
T40 172971 140 0 0
T96 0 1495 0 0

MaxIdDw_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 612 612 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

PingOH0_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

WaitCycMaskIsRightAlignedMask_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

WaitCycMaskMin_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

Line Coverage for Instance : tb.dut.u_ping_timer
Line No.TotalCoveredPercent
TOTAL6262100.00
CONT_ASSIGN7511100.00
CONT_ASSIGN7811100.00
CONT_ASSIGN7911100.00
ALWAYS8233100.00
CONT_ASSIGN9611100.00
CONT_ASSIGN13111100.00
ALWAYS13844100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15311100.00
CONT_ASSIGN19311100.00
CONT_ASSIGN22611100.00
CONT_ASSIGN22711100.00
CONT_ASSIGN25311100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN25711100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26811100.00
ALWAYS3203737100.00
ALWAYS41533100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_alert_handler_component_0.1/rtl/alert_handler_ping_timer.sv' or '../src/lowrisc_ip_alert_handler_component_0.1/rtl/alert_handler_ping_timer.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
75 1 1
78 1 1
79 1 1
82 1 1
83 1 1
85 1 1
96 1 1
131 1 1
138 1 1
139 1 1
141 1 1
142 1 1
MISSING_ELSE
149 1 1
153 1 1
193 1 1
226 1 1
227 1 1
253 1 1
254 1 1
257 1 1
267 1 1
268 1 1
320 1 1
321 1 1
322 1 1
323 1 1
324 1 1
325 1 1
327 1 1
328 1 1
330 1 1
335 1 1
336 1 1
337 1 1
MISSING_ELSE
342 1 1
343 1 1
344 1 1
MISSING_ELSE
353 1 1
354 1 1
355 1 1
356 1 1
357 1 1
358 1 1
MISSING_ELSE
MISSING_ELSE
364 1 1
365 1 1
366 1 1
MISSING_ELSE
373 1 1
374 1 1
375 1 1
376 1 1
377 1 1
378 1 1
379 1 1
MISSING_ELSE
MISSING_ELSE
388 1 1
389 1 1
401 1 1
402 1 1
403 1 1
404 1 1
MISSING_ELSE
415 3 3


Cond Coverage for Instance : tb.dut.u_ping_timer
TotalCoveredPercent
Conditions373697.30
Logical373697.30
Non-Logical00
Event00

 LINE       75
 EXPRESSION ((reseed_timer_q > '0) ? ((reseed_timer_q - 1'b1)) : (reseed_en ? ({wait_cyc_mask_i, {ReseedLfsrExtraBits {1'b1}}}) : '0))
             ----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       75
 SUB-EXPRESSION (reseed_en ? ({wait_cyc_mask_i, {ReseedLfsrExtraBits {1'b1}}}) : '0)
                 ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       78
 EXPRESSION (reseed_timer_q == '0)
            -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       79
 EXPRESSION (edn_req_o & edn_ack_i)
             ----1----   ----2----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       96
 EXPRESSION (reseed_en ? edn_data_i[(alert_pkg::LfsrWidth - 1):0] : '0)
             ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       114
 EXPRESSION (reseed_en || cnt_set)
             ----1----    ---2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T6
10CoveredT1,T2,T3

 LINE       131
 EXPRESSION 
 Number  Term
      1  (lfsr_state[alert_pkg::PING_CNT_DW+:IdDw] >= alert_pkg::NAlerts) ? ((lfsr_state[alert_pkg::PING_CNT_DW+:IdDw] - alert_pkg::NAlerts)) : lfsr_state[alert_pkg::PING_CNT_DW+:IdDw])
-1-StatusTests
0CoveredT2,T3,T4
1CoveredT1,T2,T3

 LINE       193
 EXPRESSION ((esc_cnt >= 16'((alert_pkg::N_ESC_SEV - 1))) && esc_cnt_en)
             ----------------------1---------------------    -----2----
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT4,T5,T38

 LINE       226
 EXPRESSION (cnt == '0)
            -----1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       227
 EXPRESSION (wait_cnt_set || timeout_cnt_set)
             ------1-----    -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T6
10CoveredT4,T5,T6

 LINE       257
 EXPRESSION (wait_cnt_set ? ((wait_cyc & wait_cyc_mask_i)) : ping_timeout_cyc_i)
             ------1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T6

 LINE       354
 EXPRESSION (timer_expired || ((|(alert_ping_ok_i & alert_ping_req_o))) || ((!id_vld)))
             ------1------    --------------------2--------------------    -----3-----
-1--2--3-StatusTests
000CoveredT4,T5,T6
001CoveredT5,T38,T18
010CoveredT4,T5,T6
100CoveredT38,T18,T40

 LINE       374
 EXPRESSION (timer_expired || ((|(esc_ping_ok_i & esc_ping_req_o))))
             ------1------    ------------------2------------------
-1--2-StatusTests
00CoveredT4,T5,T6
01CoveredT4,T5,T6
10CoveredT38,T18,T39

 LINE       401
 EXPRESSION (lfsr_err || cnt_error || esc_cnt_error)
             ----1---    ----2----    ------3------
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT11,T12,T13
010CoveredT11,T12,T13
100CoveredT11,T12,T13

FSM Coverage for Instance : tb.dut.u_ping_timer
Summary for FSM :: state_q
TotalCoveredPercent
States 6 6 100.00 (Not included in score)
Transitions 6 6 100.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: state_q
statesLine No.CoveredTests
AlertPingSt 343 Covered T4,T5,T6
AlertWaitSt 336 Covered T4,T5,T6
EscPingSt 365 Covered T4,T5,T6
EscWaitSt 355 Covered T4,T5,T6
FsmErrorSt 402 Covered T11,T12,T13
InitSt 334 Covered T1,T2,T3


transitionsLine No.CoveredTestsExclude Annotation
AlertPingSt->EscWaitSt 355 Covered T4,T5,T6
AlertPingSt->FsmErrorSt 402 Excluded [LOW_RISK]: Forcing from any state other than IdleSt to FSMErrorSt is covered in FPV.
AlertWaitSt->AlertPingSt 343 Covered T4,T5,T6
AlertWaitSt->FsmErrorSt 402 Covered T11,T12,T13
EscPingSt->AlertWaitSt 375 Covered T4,T5,T6
EscPingSt->FsmErrorSt 402 Excluded [LOW_RISK]: Forcing from any state other than IdleSt to FSMErrorSt is covered in FPV.
EscWaitSt->EscPingSt 365 Covered T4,T5,T6
EscWaitSt->FsmErrorSt 402 Excluded T12 [LOW_RISK]: Forcing from any state other than IdleSt to FSMErrorSt is covered in FPV.
InitSt->AlertWaitSt 336 Covered T4,T5,T6
InitSt->FsmErrorSt 402 Excluded [LOW_RISK]: Forcing from any state other than IdleSt to FSMErrorSt is covered in FPV.



Branch Coverage for Instance : tb.dut.u_ping_timer
Line No.TotalCoveredPercent
Branches 32 32 100.00
TERNARY 75 3 3 100.00
TERNARY 96 2 2 100.00
TERNARY 131 2 2 100.00
TERNARY 257 2 2 100.00
IF 82 2 2 100.00
IF 138 3 3 100.00
CASE 330 14 14 100.00
IF 401 2 2 100.00
IF 415 2 2 100.00

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

LineNo. Expression -1-: 75 ((reseed_timer_q > '0)) ? -2-: 75 (reseed_en) ?

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


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

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


LineNo. Expression -1-: 131 ((lfsr_state[alert_pkg::PING_CNT_DW+:IdDw] >= alert_pkg::NAlerts)) ?

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


LineNo. Expression -1-: 257 (wait_cnt_set) ?

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


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

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


LineNo. Expression -1-: 138 if ((!rst_ni)) -2-: 141 if (cnt_set)

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


LineNo. Expression -1-: 330 case (state_q) -2-: 335 if (en_i) -3-: 342 if (timer_expired) -4-: 354 if (((timer_expired || (|(alert_ping_ok_i & alert_ping_req_o))) || (!id_vld))) -5-: 357 if (timer_expired) -6-: 364 if (timer_expired) -7-: 374 if ((timer_expired || (|(esc_ping_ok_i & esc_ping_req_o)))) -8-: 378 if (timer_expired)

Branches:
-1--2--3--4--5--6--7--8-StatusTests
InitSt 1 - - - - - - Covered T4,T5,T6
InitSt 0 - - - - - - Covered T1,T2,T3
AlertWaitSt - 1 - - - - - Covered T4,T5,T6
AlertWaitSt - 0 - - - - - Covered T4,T5,T6
AlertPingSt - - 1 1 - - - Covered T38,T18,T40
AlertPingSt - - 1 0 - - - Covered T4,T5,T6
AlertPingSt - - 0 - - - - Covered T4,T5,T6
EscWaitSt - - - - 1 - - Covered T4,T5,T6
EscWaitSt - - - - 0 - - Covered T4,T5,T6
EscPingSt - - - - - 1 1 Covered T38,T18,T39
EscPingSt - - - - - 1 0 Covered T4,T5,T6
EscPingSt - - - - - 0 - Covered T4,T5,T6
FsmErrorSt - - - - - - - Covered T11,T12,T13
default - - - - - - - Covered T11,T12,T13


LineNo. Expression -1-: 401 if (((lfsr_err || cnt_error) || esc_cnt_error))

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T1,T2,T3


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

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


Assert Coverage for Instance : tb.dut.u_ping_timer
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 7 7 100.00 7 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 7 7 100.00 7 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertPingOH_A 619359372 179799 0 0
EscPingOH_A 619359372 119417 0 0
MaxIdDw_A 612 612 0 0
PingOH0_A 619359372 619190096 0 0
WaitCycMaskIsRightAlignedMask_A 619359372 619190096 0 0
WaitCycMaskMin_A 619359372 619190096 0 0
u_state_regs_A 619359372 619190096 0 0


AlertPingOH_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 179799 0 0
T4 313227 282 0 0
T5 231730 83 0 0
T6 245455 35 0 0
T7 57420 0 0 0
T8 49664 0 0 0
T9 34969 0 0 0
T10 251608 0 0 0
T18 799230 72 0 0
T20 0 100 0 0
T24 0 200 0 0
T37 0 220 0 0
T38 109879 3530 0 0
T40 172971 165 0 0
T96 0 1554 0 0

EscPingOH_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 119417 0 0
T4 313227 240 0 0
T5 231730 180 0 0
T6 245455 15 0 0
T7 57420 0 0 0
T8 49664 0 0 0
T9 34969 0 0 0
T10 251608 0 0 0
T18 799230 70 0 0
T20 0 65 0 0
T24 0 125 0 0
T37 0 300 0 0
T38 109879 1980 0 0
T40 172971 140 0 0
T96 0 1495 0 0

MaxIdDw_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 612 612 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

PingOH0_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

WaitCycMaskIsRightAlignedMask_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

WaitCycMaskMin_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619359372 619190096 0 0
T1 17184 17102 0 0
T2 131407 131388 0 0
T3 17472 17394 0 0
T4 313227 313221 0 0
T5 231730 231723 0 0
T6 245455 245425 0 0
T7 57420 57342 0 0
T8 49664 49614 0 0
T9 34969 34918 0 0
T10 251608 251523 0 0

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