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



Module Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[0].u_combo_act

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
100.00 100.00 100.00 u_sysrst_ctrl_combo


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children



Module Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[1].u_combo_act

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
100.00 100.00 100.00 u_sysrst_ctrl_combo


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children



Module Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[2].u_combo_act

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
100.00 100.00 100.00 u_sysrst_ctrl_combo


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children



Module Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[3].u_combo_act

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.19 100.00 97.56 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
100.00 100.00 100.00 u_sysrst_ctrl_combo


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children

Line Coverage for Module : sysrst_ctrl_comboact
Line No.TotalCoveredPercent
TOTAL2424100.00
CONT_ASSIGN3411100.00
CONT_ASSIGN3511100.00
CONT_ASSIGN3611100.00
CONT_ASSIGN3711100.00
CONT_ASSIGN4111100.00
CONT_ASSIGN4811100.00
CONT_ASSIGN4911100.00
CONT_ASSIGN5211100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN6211100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN7011100.00
CONT_ASSIGN7111100.00
ALWAYS791111100.00

33 logic combo_bat_disable_pulse, combo_ot_pulse, combo_ec_rst_pulse; 34 1/1 assign combo_bat_disable_pulse = cfg_bat_disable_en_i & combo_det_pulse_i; Tests: T3 T7 T8  35 1/1 assign combo_ec_rst_pulse = cfg_ec_rst_en_i & combo_det_pulse_i; Tests: T4 T3 T7  36 1/1 assign combo_ot_pulse = cfg_rst_req_en_i & combo_det_pulse_i; Tests: T3 T7 T8  37 1/1 assign combo_intr_pulse_o = cfg_intr_en_i & combo_det_pulse_i; Tests: T4 T3 T7  38 39 //ec_rst_l_i high->low detection 40 logic ec_rst_l_det_pulse, ec_rst_l_det_q; 41 1/1 assign ec_rst_l_det_pulse = ~ec_rst_l_i & ec_rst_l_det_q; Tests: T4 T5 T1  42 43 //////////////////////////////////// 44 // Bat / OT reset pulse latching // 45 //////////////////////////////////// 46 47 logic bat_disable_q, bat_disable_d; 48 1/1 assign bat_disable_d = bat_disable_q | combo_bat_disable_pulse; Tests: T33 T54 T44  49 1/1 assign bat_disable_o = bat_disable_q; Tests: T33 T54 T44  50 51 logic rst_req_q, rst_req_d; 52 1/1 assign rst_req_d = rst_req_q | combo_ot_pulse; Tests: T33 T44 T55  53 1/1 assign rst_req_o = rst_req_q; Tests: T33 T44 T55  54 55 //////////////////// 56 // EC reset logic // 57 //////////////////// 58 59 // OT reset will also reset EC 60 logic timer_expired; 61 logic ec_rst_l_q, ec_rst_l_d; 62 1/1 assign ec_rst_l_o = ec_rst_l_q; Tests: T4 T3 T7  63 1/1 assign ec_rst_l_d = (combo_ec_rst_pulse || Tests: T4 T5 T1  64 ec_rst_l_det_pulse) ? 1'b0 : 65 (timer_expired) ? 1'b1 : ec_rst_l_q; 66 67 68 // Reset stretching counter 69 logic [TimerWidth-1:0] timer_cnt_d, timer_cnt_q; 70 1/1 assign timer_expired = (ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q); Tests: T4 T5 T1  71 1/1 assign timer_cnt_d = (timer_expired) ? '0 : Tests: T4 T5 T1  72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; 73 74 /////////////// 75 // Registers // 76 /////////////// 77 78 always_ff @(posedge clk_i or negedge rst_ni) begin : p_regs 79 1/1 if (!rst_ni) begin Tests: T4 T5 T1  80 1/1 bat_disable_q <= 1'b0; Tests: T4 T5 T1  81 1/1 ec_rst_l_det_q <= 1'b1; // active low signal Tests: T4 T5 T1  82 1/1 rst_req_q <= 1'b0; Tests: T4 T5 T1  83 1/1 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted Tests: T4 T5 T1  84 1/1 timer_cnt_q <= '0; Tests: T4 T5 T1  85 end else begin 86 1/1 bat_disable_q <= bat_disable_d; Tests: T4 T5 T1  87 1/1 ec_rst_l_det_q <= ec_rst_l_i; Tests: T4 T5 T1  88 1/1 rst_req_q <= rst_req_d; Tests: T4 T5 T1  89 1/1 ec_rst_l_q <= ec_rst_l_d; Tests: T4 T5 T1  90 1/1 timer_cnt_q <= timer_cnt_d; Tests: T4 T5 T1 

Cond Coverage for Module : sysrst_ctrl_comboact
TotalCoveredPercent
Conditions414097.56
Logical414097.56
Non-Logical00
Event00

 LINE       34
 EXPRESSION (cfg_bat_disable_en_i & combo_det_pulse_i)
             ----------1---------   --------2--------
-1--2-StatusTests
01CoveredT3,T7,T8
10CoveredT33,T54,T44
11CoveredT33,T54,T44

 LINE       35
 EXPRESSION (cfg_ec_rst_en_i & combo_det_pulse_i)
             -------1-------   --------2--------
-1--2-StatusTests
01CoveredT33,T54,T44
10CoveredT4,T3,T7
11CoveredT3,T7,T8

 LINE       36
 EXPRESSION (cfg_rst_req_en_i & combo_det_pulse_i)
             --------1-------   --------2--------
-1--2-StatusTests
01CoveredT3,T7,T8
10CoveredT33,T54,T44
11CoveredT33,T44,T55

 LINE       37
 EXPRESSION (cfg_intr_en_i & combo_det_pulse_i)
             ------1------   --------2--------
-1--2-StatusTests
01CoveredT19,T33,T34
10CoveredT4,T3,T7
11CoveredT3,T7,T8

 LINE       41
 EXPRESSION (((~ec_rst_l_i)) & ec_rst_l_det_q)
             -------1-------   -------2------
-1--2-StatusTests
01CoveredT4,T5,T1
10CoveredT4,T5,T1
11CoveredT4,T5,T1

 LINE       48
 EXPRESSION (bat_disable_q | combo_bat_disable_pulse)
             ------1------   -----------2-----------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT33,T54,T44
10CoveredT33,T54,T44

 LINE       52
 EXPRESSION (rst_req_q | combo_ot_pulse)
             ----1----   -------2------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT33,T44,T55
10CoveredT33,T44,T55

 LINE       63
 EXPRESSION ((combo_ec_rst_pulse || ec_rst_l_det_pulse) ? 1'b0 : (timer_expired ? 1'b1 : ec_rst_l_q))
             ---------------------1--------------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T5,T1

 LINE       63
 SUB-EXPRESSION (combo_ec_rst_pulse || ec_rst_l_det_pulse)
                 ---------1--------    ---------2--------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT4,T5,T1
10CoveredT3,T7,T8

 LINE       63
 SUB-EXPRESSION (timer_expired ? 1'b1 : ec_rst_l_q)
                 ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       70
 EXPRESSION ((ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q))
             ----------1---------    ---------------2---------------
-1--2-StatusTests
01Not Covered
10CoveredT4,T5,T1
11CoveredT4,T3,T7

 LINE       70
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       70
 SUB-EXPRESSION (timer_cnt_q == ec_rst_ctl_i.q)
                ---------------1---------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 EXPRESSION (timer_expired ? '0 : ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q))
             ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 SUB-EXPRESSION ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q)
                 ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       71
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

Branch Coverage for Module : sysrst_ctrl_comboact
Line No.TotalCoveredPercent
Branches 8 8 100.00
TERNARY 63 3 3 100.00
TERNARY 71 3 3 100.00
IF 79 2 2 100.00


63 assign ec_rst_l_d = (combo_ec_rst_pulse || 64 ec_rst_l_det_pulse) ? 1'b0 : -1- ==> 65 (timer_expired) ? 1'b1 : ec_rst_l_q; -2- ==> ==>

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


71 assign timer_cnt_d = (timer_expired) ? '0 : -1- ==> 72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; -2- ==> ==>

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


79 if (!rst_ni) begin -1- 80 bat_disable_q <= 1'b0; ==> 81 ec_rst_l_det_q <= 1'b1; // active low signal 82 rst_req_q <= 1'b0; 83 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted 84 timer_cnt_q <= '0; 85 end else begin 86 bat_disable_q <= bat_disable_d; ==>

Branches:
-1-StatusTests
1 Covered T4,T5,T1
0 Covered T4,T5,T1

Line Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[0].u_combo_act
Line No.TotalCoveredPercent
TOTAL2424100.00
CONT_ASSIGN3411100.00
CONT_ASSIGN3511100.00
CONT_ASSIGN3611100.00
CONT_ASSIGN3711100.00
CONT_ASSIGN4111100.00
CONT_ASSIGN4811100.00
CONT_ASSIGN4911100.00
CONT_ASSIGN5211100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN6211100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN7011100.00
CONT_ASSIGN7111100.00
ALWAYS791111100.00

33 logic combo_bat_disable_pulse, combo_ot_pulse, combo_ec_rst_pulse; 34 1/1 assign combo_bat_disable_pulse = cfg_bat_disable_en_i & combo_det_pulse_i; Tests: T3 T7 T8  35 1/1 assign combo_ec_rst_pulse = cfg_ec_rst_en_i & combo_det_pulse_i; Tests: T4 T3 T7  36 1/1 assign combo_ot_pulse = cfg_rst_req_en_i & combo_det_pulse_i; Tests: T3 T7 T8  37 1/1 assign combo_intr_pulse_o = cfg_intr_en_i & combo_det_pulse_i; Tests: T4 T3 T7  38 39 //ec_rst_l_i high->low detection 40 logic ec_rst_l_det_pulse, ec_rst_l_det_q; 41 1/1 assign ec_rst_l_det_pulse = ~ec_rst_l_i & ec_rst_l_det_q; Tests: T4 T5 T1  42 43 //////////////////////////////////// 44 // Bat / OT reset pulse latching // 45 //////////////////////////////////// 46 47 logic bat_disable_q, bat_disable_d; 48 1/1 assign bat_disable_d = bat_disable_q | combo_bat_disable_pulse; Tests: T33 T44 T41  49 1/1 assign bat_disable_o = bat_disable_q; Tests: T33 T44 T41  50 51 logic rst_req_q, rst_req_d; 52 1/1 assign rst_req_d = rst_req_q | combo_ot_pulse; Tests: T44 T94 T45  53 1/1 assign rst_req_o = rst_req_q; Tests: T44 T94 T45  54 55 //////////////////// 56 // EC reset logic // 57 //////////////////// 58 59 // OT reset will also reset EC 60 logic timer_expired; 61 logic ec_rst_l_q, ec_rst_l_d; 62 1/1 assign ec_rst_l_o = ec_rst_l_q; Tests: T4 T3 T7  63 1/1 assign ec_rst_l_d = (combo_ec_rst_pulse || Tests: T4 T5 T1  64 ec_rst_l_det_pulse) ? 1'b0 : 65 (timer_expired) ? 1'b1 : ec_rst_l_q; 66 67 68 // Reset stretching counter 69 logic [TimerWidth-1:0] timer_cnt_d, timer_cnt_q; 70 1/1 assign timer_expired = (ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q); Tests: T4 T5 T1  71 1/1 assign timer_cnt_d = (timer_expired) ? '0 : Tests: T4 T5 T1  72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; 73 74 /////////////// 75 // Registers // 76 /////////////// 77 78 always_ff @(posedge clk_i or negedge rst_ni) begin : p_regs 79 1/1 if (!rst_ni) begin Tests: T4 T5 T1  80 1/1 bat_disable_q <= 1'b0; Tests: T4 T5 T1  81 1/1 ec_rst_l_det_q <= 1'b1; // active low signal Tests: T4 T5 T1  82 1/1 rst_req_q <= 1'b0; Tests: T4 T5 T1  83 1/1 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted Tests: T4 T5 T1  84 1/1 timer_cnt_q <= '0; Tests: T4 T5 T1  85 end else begin 86 1/1 bat_disable_q <= bat_disable_d; Tests: T4 T5 T1  87 1/1 ec_rst_l_det_q <= ec_rst_l_i; Tests: T4 T5 T1  88 1/1 rst_req_q <= rst_req_d; Tests: T4 T5 T1  89 1/1 ec_rst_l_q <= ec_rst_l_d; Tests: T4 T5 T1  90 1/1 timer_cnt_q <= timer_cnt_d; Tests: T4 T5 T1 

Cond Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[0].u_combo_act
TotalCoveredPercent
Conditions414097.56
Logical414097.56
Non-Logical00
Event00

 LINE       34
 EXPRESSION (cfg_bat_disable_en_i & combo_det_pulse_i)
             ----------1---------   --------2--------
-1--2-StatusTests
01CoveredT3,T7,T8
10CoveredT33,T44,T41
11CoveredT33,T44,T41

 LINE       35
 EXPRESSION (cfg_ec_rst_en_i & combo_det_pulse_i)
             -------1-------   --------2--------
-1--2-StatusTests
01CoveredT33,T44,T94
10CoveredT4,T3,T7
11CoveredT3,T7,T8

 LINE       36
 EXPRESSION (cfg_rst_req_en_i & combo_det_pulse_i)
             --------1-------   --------2--------
-1--2-StatusTests
01CoveredT3,T7,T8
10CoveredT44,T55,T94
11CoveredT44,T94,T45

 LINE       37
 EXPRESSION (cfg_intr_en_i & combo_det_pulse_i)
             ------1------   --------2--------
-1--2-StatusTests
01CoveredT19,T34,T35
10CoveredT4,T3,T7
11CoveredT3,T7,T8

 LINE       41
 EXPRESSION (((~ec_rst_l_i)) & ec_rst_l_det_q)
             -------1-------   -------2------
-1--2-StatusTests
01CoveredT4,T5,T1
10CoveredT4,T5,T1
11CoveredT4,T5,T1

 LINE       48
 EXPRESSION (bat_disable_q | combo_bat_disable_pulse)
             ------1------   -----------2-----------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT33,T44,T41
10CoveredT33,T44,T41

 LINE       52
 EXPRESSION (rst_req_q | combo_ot_pulse)
             ----1----   -------2------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT44,T94,T45
10CoveredT44,T94,T45

 LINE       63
 EXPRESSION ((combo_ec_rst_pulse || ec_rst_l_det_pulse) ? 1'b0 : (timer_expired ? 1'b1 : ec_rst_l_q))
             ---------------------1--------------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T5,T1

 LINE       63
 SUB-EXPRESSION (combo_ec_rst_pulse || ec_rst_l_det_pulse)
                 ---------1--------    ---------2--------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT4,T5,T1
10CoveredT3,T7,T8

 LINE       63
 SUB-EXPRESSION (timer_expired ? 1'b1 : ec_rst_l_q)
                 ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       70
 EXPRESSION ((ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q))
             ----------1---------    ---------------2---------------
-1--2-StatusTests
01Not Covered
10CoveredT4,T5,T1
11CoveredT4,T3,T7

 LINE       70
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       70
 SUB-EXPRESSION (timer_cnt_q == ec_rst_ctl_i.q)
                ---------------1---------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 EXPRESSION (timer_expired ? '0 : ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q))
             ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 SUB-EXPRESSION ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q)
                 ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       71
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

Branch Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[0].u_combo_act
Line No.TotalCoveredPercent
Branches 8 8 100.00
TERNARY 63 3 3 100.00
TERNARY 71 3 3 100.00
IF 79 2 2 100.00


63 assign ec_rst_l_d = (combo_ec_rst_pulse || 64 ec_rst_l_det_pulse) ? 1'b0 : -1- ==> 65 (timer_expired) ? 1'b1 : ec_rst_l_q; -2- ==> ==>

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


71 assign timer_cnt_d = (timer_expired) ? '0 : -1- ==> 72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; -2- ==> ==>

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


79 if (!rst_ni) begin -1- 80 bat_disable_q <= 1'b0; ==> 81 ec_rst_l_det_q <= 1'b1; // active low signal 82 rst_req_q <= 1'b0; 83 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted 84 timer_cnt_q <= '0; 85 end else begin 86 bat_disable_q <= bat_disable_d; ==>

Branches:
-1-StatusTests
1 Covered T4,T5,T1
0 Covered T4,T5,T1

Line Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[1].u_combo_act
Line No.TotalCoveredPercent
TOTAL2424100.00
CONT_ASSIGN3411100.00
CONT_ASSIGN3511100.00
CONT_ASSIGN3611100.00
CONT_ASSIGN3711100.00
CONT_ASSIGN4111100.00
CONT_ASSIGN4811100.00
CONT_ASSIGN4911100.00
CONT_ASSIGN5211100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN6211100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN7011100.00
CONT_ASSIGN7111100.00
ALWAYS791111100.00

33 logic combo_bat_disable_pulse, combo_ot_pulse, combo_ec_rst_pulse; 34 1/1 assign combo_bat_disable_pulse = cfg_bat_disable_en_i & combo_det_pulse_i; Tests: T33 T34 T35  35 1/1 assign combo_ec_rst_pulse = cfg_ec_rst_en_i & combo_det_pulse_i; Tests: T33 T34 T35  36 1/1 assign combo_ot_pulse = cfg_rst_req_en_i & combo_det_pulse_i; Tests: T33 T34 T35  37 1/1 assign combo_intr_pulse_o = cfg_intr_en_i & combo_det_pulse_i; Tests: T19 T33 T34  38 39 //ec_rst_l_i high->low detection 40 logic ec_rst_l_det_pulse, ec_rst_l_det_q; 41 1/1 assign ec_rst_l_det_pulse = ~ec_rst_l_i & ec_rst_l_det_q; Tests: T4 T5 T1  42 43 //////////////////////////////////// 44 // Bat / OT reset pulse latching // 45 //////////////////////////////////// 46 47 logic bat_disable_q, bat_disable_d; 48 1/1 assign bat_disable_d = bat_disable_q | combo_bat_disable_pulse; Tests: T33 T94 T43  49 1/1 assign bat_disable_o = bat_disable_q; Tests: T33 T94 T43  50 51 logic rst_req_q, rst_req_d; 52 1/1 assign rst_req_d = rst_req_q | combo_ot_pulse; Tests: T33 T45 T41  53 1/1 assign rst_req_o = rst_req_q; Tests: T33 T45 T41  54 55 //////////////////// 56 // EC reset logic // 57 //////////////////// 58 59 // OT reset will also reset EC 60 logic timer_expired; 61 logic ec_rst_l_q, ec_rst_l_d; 62 1/1 assign ec_rst_l_o = ec_rst_l_q; Tests: T4 T3 T7  63 1/1 assign ec_rst_l_d = (combo_ec_rst_pulse || Tests: T4 T5 T1  64 ec_rst_l_det_pulse) ? 1'b0 : 65 (timer_expired) ? 1'b1 : ec_rst_l_q; 66 67 68 // Reset stretching counter 69 logic [TimerWidth-1:0] timer_cnt_d, timer_cnt_q; 70 1/1 assign timer_expired = (ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q); Tests: T4 T5 T1  71 1/1 assign timer_cnt_d = (timer_expired) ? '0 : Tests: T4 T5 T1  72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; 73 74 /////////////// 75 // Registers // 76 /////////////// 77 78 always_ff @(posedge clk_i or negedge rst_ni) begin : p_regs 79 1/1 if (!rst_ni) begin Tests: T4 T5 T1  80 1/1 bat_disable_q <= 1'b0; Tests: T4 T5 T1  81 1/1 ec_rst_l_det_q <= 1'b1; // active low signal Tests: T4 T5 T1  82 1/1 rst_req_q <= 1'b0; Tests: T4 T5 T1  83 1/1 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted Tests: T4 T5 T1  84 1/1 timer_cnt_q <= '0; Tests: T4 T5 T1  85 end else begin 86 1/1 bat_disable_q <= bat_disable_d; Tests: T4 T5 T1  87 1/1 ec_rst_l_det_q <= ec_rst_l_i; Tests: T4 T5 T1  88 1/1 rst_req_q <= rst_req_d; Tests: T4 T5 T1  89 1/1 ec_rst_l_q <= ec_rst_l_d; Tests: T4 T5 T1  90 1/1 timer_cnt_q <= timer_cnt_d; Tests: T4 T5 T1 

Cond Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[1].u_combo_act
TotalCoveredPercent
Conditions414097.56
Logical414097.56
Non-Logical00
Event00

 LINE       34
 EXPRESSION (cfg_bat_disable_en_i & combo_det_pulse_i)
             ----------1---------   --------2--------
-1--2-StatusTests
01CoveredT34,T35,T55
10CoveredT33,T44,T94
11CoveredT33,T94,T43

 LINE       35
 EXPRESSION (cfg_ec_rst_en_i & combo_det_pulse_i)
             -------1-------   --------2--------
-1--2-StatusTests
01CoveredT55,T45,T96
10CoveredT33,T34,T35
11CoveredT33,T34,T35

 LINE       36
 EXPRESSION (cfg_rst_req_en_i & combo_det_pulse_i)
             --------1-------   --------2--------
-1--2-StatusTests
01CoveredT34,T35,T55
10CoveredT33,T92,T45
11CoveredT33,T45,T41

 LINE       37
 EXPRESSION (cfg_intr_en_i & combo_det_pulse_i)
             ------1------   --------2--------
-1--2-StatusTests
01CoveredT33,T34,T35
10CoveredT19,T121,T41
11CoveredT41,T42,T43

 LINE       41
 EXPRESSION (((~ec_rst_l_i)) & ec_rst_l_det_q)
             -------1-------   -------2------
-1--2-StatusTests
01CoveredT4,T5,T1
10CoveredT4,T5,T1
11CoveredT4,T5,T1

 LINE       48
 EXPRESSION (bat_disable_q | combo_bat_disable_pulse)
             ------1------   -----------2-----------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT33,T94,T43
10CoveredT33,T94,T43

 LINE       52
 EXPRESSION (rst_req_q | combo_ot_pulse)
             ----1----   -------2------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT33,T45,T41
10CoveredT33,T45,T41

 LINE       63
 EXPRESSION ((combo_ec_rst_pulse || ec_rst_l_det_pulse) ? 1'b0 : (timer_expired ? 1'b1 : ec_rst_l_q))
             ---------------------1--------------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T5,T1

 LINE       63
 SUB-EXPRESSION (combo_ec_rst_pulse || ec_rst_l_det_pulse)
                 ---------1--------    ---------2--------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT4,T5,T1
10CoveredT33,T34,T35

 LINE       63
 SUB-EXPRESSION (timer_expired ? 1'b1 : ec_rst_l_q)
                 ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       70
 EXPRESSION ((ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q))
             ----------1---------    ---------------2---------------
-1--2-StatusTests
01Not Covered
10CoveredT4,T5,T1
11CoveredT4,T3,T7

 LINE       70
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       70
 SUB-EXPRESSION (timer_cnt_q == ec_rst_ctl_i.q)
                ---------------1---------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 EXPRESSION (timer_expired ? '0 : ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q))
             ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 SUB-EXPRESSION ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q)
                 ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       71
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

Branch Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[1].u_combo_act
Line No.TotalCoveredPercent
Branches 8 8 100.00
TERNARY 63 3 3 100.00
TERNARY 71 3 3 100.00
IF 79 2 2 100.00


63 assign ec_rst_l_d = (combo_ec_rst_pulse || 64 ec_rst_l_det_pulse) ? 1'b0 : -1- ==> 65 (timer_expired) ? 1'b1 : ec_rst_l_q; -2- ==> ==>

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


71 assign timer_cnt_d = (timer_expired) ? '0 : -1- ==> 72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; -2- ==> ==>

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


79 if (!rst_ni) begin -1- 80 bat_disable_q <= 1'b0; ==> 81 ec_rst_l_det_q <= 1'b1; // active low signal 82 rst_req_q <= 1'b0; 83 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted 84 timer_cnt_q <= '0; 85 end else begin 86 bat_disable_q <= bat_disable_d; ==>

Branches:
-1-StatusTests
1 Covered T4,T5,T1
0 Covered T4,T5,T1

Line Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[2].u_combo_act
Line No.TotalCoveredPercent
TOTAL2424100.00
CONT_ASSIGN3411100.00
CONT_ASSIGN3511100.00
CONT_ASSIGN3611100.00
CONT_ASSIGN3711100.00
CONT_ASSIGN4111100.00
CONT_ASSIGN4811100.00
CONT_ASSIGN4911100.00
CONT_ASSIGN5211100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN6211100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN7011100.00
CONT_ASSIGN7111100.00
ALWAYS791111100.00

33 logic combo_bat_disable_pulse, combo_ot_pulse, combo_ec_rst_pulse; 34 1/1 assign combo_bat_disable_pulse = cfg_bat_disable_en_i & combo_det_pulse_i; Tests: T33 T34 T35  35 1/1 assign combo_ec_rst_pulse = cfg_ec_rst_en_i & combo_det_pulse_i; Tests: T33 T34 T35  36 1/1 assign combo_ot_pulse = cfg_rst_req_en_i & combo_det_pulse_i; Tests: T33 T34 T35  37 1/1 assign combo_intr_pulse_o = cfg_intr_en_i & combo_det_pulse_i; Tests: T33 T34 T35  38 39 //ec_rst_l_i high->low detection 40 logic ec_rst_l_det_pulse, ec_rst_l_det_q; 41 1/1 assign ec_rst_l_det_pulse = ~ec_rst_l_i & ec_rst_l_det_q; Tests: T4 T5 T1  42 43 //////////////////////////////////// 44 // Bat / OT reset pulse latching // 45 //////////////////////////////////// 46 47 logic bat_disable_q, bat_disable_d; 48 1/1 assign bat_disable_d = bat_disable_q | combo_bat_disable_pulse; Tests: T54 T44 T121  49 1/1 assign bat_disable_o = bat_disable_q; Tests: T54 T44 T121  50 51 logic rst_req_q, rst_req_d; 52 1/1 assign rst_req_d = rst_req_q | combo_ot_pulse; Tests: T55 T121 T45  53 1/1 assign rst_req_o = rst_req_q; Tests: T55 T121 T45  54 55 //////////////////// 56 // EC reset logic // 57 //////////////////// 58 59 // OT reset will also reset EC 60 logic timer_expired; 61 logic ec_rst_l_q, ec_rst_l_d; 62 1/1 assign ec_rst_l_o = ec_rst_l_q; Tests: T4 T3 T7  63 1/1 assign ec_rst_l_d = (combo_ec_rst_pulse || Tests: T4 T5 T1  64 ec_rst_l_det_pulse) ? 1'b0 : 65 (timer_expired) ? 1'b1 : ec_rst_l_q; 66 67 68 // Reset stretching counter 69 logic [TimerWidth-1:0] timer_cnt_d, timer_cnt_q; 70 1/1 assign timer_expired = (ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q); Tests: T4 T5 T1  71 1/1 assign timer_cnt_d = (timer_expired) ? '0 : Tests: T4 T5 T1  72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; 73 74 /////////////// 75 // Registers // 76 /////////////// 77 78 always_ff @(posedge clk_i or negedge rst_ni) begin : p_regs 79 1/1 if (!rst_ni) begin Tests: T4 T5 T1  80 1/1 bat_disable_q <= 1'b0; Tests: T4 T5 T1  81 1/1 ec_rst_l_det_q <= 1'b1; // active low signal Tests: T4 T5 T1  82 1/1 rst_req_q <= 1'b0; Tests: T4 T5 T1  83 1/1 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted Tests: T4 T5 T1  84 1/1 timer_cnt_q <= '0; Tests: T4 T5 T1  85 end else begin 86 1/1 bat_disable_q <= bat_disable_d; Tests: T4 T5 T1  87 1/1 ec_rst_l_det_q <= ec_rst_l_i; Tests: T4 T5 T1  88 1/1 rst_req_q <= rst_req_d; Tests: T4 T5 T1  89 1/1 ec_rst_l_q <= ec_rst_l_d; Tests: T4 T5 T1  90 1/1 timer_cnt_q <= timer_cnt_d; Tests: T4 T5 T1 

Cond Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[2].u_combo_act
TotalCoveredPercent
Conditions414097.56
Logical414097.56
Non-Logical00
Event00

 LINE       34
 EXPRESSION (cfg_bat_disable_en_i & combo_det_pulse_i)
             ----------1---------   --------2--------
-1--2-StatusTests
01CoveredT33,T34,T35
10CoveredT54,T44,T92
11CoveredT54,T44,T121

 LINE       35
 EXPRESSION (cfg_ec_rst_en_i & combo_det_pulse_i)
             -------1-------   --------2--------
-1--2-StatusTests
01CoveredT33,T54,T55
10CoveredT34,T35,T44
11CoveredT34,T35,T44

 LINE       36
 EXPRESSION (cfg_rst_req_en_i & combo_det_pulse_i)
             --------1-------   --------2--------
-1--2-StatusTests
01CoveredT33,T34,T35
10CoveredT92,T55,T121
11CoveredT55,T121,T45

 LINE       37
 EXPRESSION (cfg_intr_en_i & combo_det_pulse_i)
             ------1------   --------2--------
-1--2-StatusTests
01CoveredT34,T35,T54
10CoveredT33,T44,T45
11CoveredT33,T44,T45

 LINE       41
 EXPRESSION (((~ec_rst_l_i)) & ec_rst_l_det_q)
             -------1-------   -------2------
-1--2-StatusTests
01CoveredT4,T5,T1
10CoveredT4,T5,T1
11CoveredT4,T5,T1

 LINE       48
 EXPRESSION (bat_disable_q | combo_bat_disable_pulse)
             ------1------   -----------2-----------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT54,T44,T121
10CoveredT54,T44,T121

 LINE       52
 EXPRESSION (rst_req_q | combo_ot_pulse)
             ----1----   -------2------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT55,T121,T45
10CoveredT55,T121,T45

 LINE       63
 EXPRESSION ((combo_ec_rst_pulse || ec_rst_l_det_pulse) ? 1'b0 : (timer_expired ? 1'b1 : ec_rst_l_q))
             ---------------------1--------------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T5,T1

 LINE       63
 SUB-EXPRESSION (combo_ec_rst_pulse || ec_rst_l_det_pulse)
                 ---------1--------    ---------2--------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT4,T5,T1
10CoveredT34,T35,T44

 LINE       63
 SUB-EXPRESSION (timer_expired ? 1'b1 : ec_rst_l_q)
                 ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       70
 EXPRESSION ((ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q))
             ----------1---------    ---------------2---------------
-1--2-StatusTests
01Not Covered
10CoveredT4,T5,T1
11CoveredT4,T3,T7

 LINE       70
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       70
 SUB-EXPRESSION (timer_cnt_q == ec_rst_ctl_i.q)
                ---------------1---------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 EXPRESSION (timer_expired ? '0 : ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q))
             ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 SUB-EXPRESSION ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q)
                 ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       71
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

Branch Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[2].u_combo_act
Line No.TotalCoveredPercent
Branches 8 8 100.00
TERNARY 63 3 3 100.00
TERNARY 71 3 3 100.00
IF 79 2 2 100.00


63 assign ec_rst_l_d = (combo_ec_rst_pulse || 64 ec_rst_l_det_pulse) ? 1'b0 : -1- ==> 65 (timer_expired) ? 1'b1 : ec_rst_l_q; -2- ==> ==>

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


71 assign timer_cnt_d = (timer_expired) ? '0 : -1- ==> 72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; -2- ==> ==>

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


79 if (!rst_ni) begin -1- 80 bat_disable_q <= 1'b0; ==> 81 ec_rst_l_det_q <= 1'b1; // active low signal 82 rst_req_q <= 1'b0; 83 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted 84 timer_cnt_q <= '0; 85 end else begin 86 bat_disable_q <= bat_disable_d; ==>

Branches:
-1-StatusTests
1 Covered T4,T5,T1
0 Covered T4,T5,T1

Line Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[3].u_combo_act
Line No.TotalCoveredPercent
TOTAL2424100.00
CONT_ASSIGN3411100.00
CONT_ASSIGN3511100.00
CONT_ASSIGN3611100.00
CONT_ASSIGN3711100.00
CONT_ASSIGN4111100.00
CONT_ASSIGN4811100.00
CONT_ASSIGN4911100.00
CONT_ASSIGN5211100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN6211100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN7011100.00
CONT_ASSIGN7111100.00
ALWAYS791111100.00

33 logic combo_bat_disable_pulse, combo_ot_pulse, combo_ec_rst_pulse; 34 1/1 assign combo_bat_disable_pulse = cfg_bat_disable_en_i & combo_det_pulse_i; Tests: T19 T34 T35  35 1/1 assign combo_ec_rst_pulse = cfg_ec_rst_en_i & combo_det_pulse_i; Tests: T19 T33 T34  36 1/1 assign combo_ot_pulse = cfg_rst_req_en_i & combo_det_pulse_i; Tests: T19 T33 T34  37 1/1 assign combo_intr_pulse_o = cfg_intr_en_i & combo_det_pulse_i; Tests: T19 T34 T35  38 39 //ec_rst_l_i high->low detection 40 logic ec_rst_l_det_pulse, ec_rst_l_det_q; 41 1/1 assign ec_rst_l_det_pulse = ~ec_rst_l_i & ec_rst_l_det_q; Tests: T4 T5 T1  42 43 //////////////////////////////////// 44 // Bat / OT reset pulse latching // 45 //////////////////////////////////// 46 47 logic bat_disable_q, bat_disable_d; 48 1/1 assign bat_disable_d = bat_disable_q | combo_bat_disable_pulse; Tests: T55 T45 T41  49 1/1 assign bat_disable_o = bat_disable_q; Tests: T55 T45 T41  50 51 logic rst_req_q, rst_req_d; 52 1/1 assign rst_req_d = rst_req_q | combo_ot_pulse; Tests: T45 T261 T123  53 1/1 assign rst_req_o = rst_req_q; Tests: T45 T261 T123  54 55 //////////////////// 56 // EC reset logic // 57 //////////////////// 58 59 // OT reset will also reset EC 60 logic timer_expired; 61 logic ec_rst_l_q, ec_rst_l_d; 62 1/1 assign ec_rst_l_o = ec_rst_l_q; Tests: T4 T3 T7  63 1/1 assign ec_rst_l_d = (combo_ec_rst_pulse || Tests: T4 T5 T1  64 ec_rst_l_det_pulse) ? 1'b0 : 65 (timer_expired) ? 1'b1 : ec_rst_l_q; 66 67 68 // Reset stretching counter 69 logic [TimerWidth-1:0] timer_cnt_d, timer_cnt_q; 70 1/1 assign timer_expired = (ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q); Tests: T4 T5 T1  71 1/1 assign timer_cnt_d = (timer_expired) ? '0 : Tests: T4 T5 T1  72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; 73 74 /////////////// 75 // Registers // 76 /////////////// 77 78 always_ff @(posedge clk_i or negedge rst_ni) begin : p_regs 79 1/1 if (!rst_ni) begin Tests: T4 T5 T1  80 1/1 bat_disable_q <= 1'b0; Tests: T4 T5 T1  81 1/1 ec_rst_l_det_q <= 1'b1; // active low signal Tests: T4 T5 T1  82 1/1 rst_req_q <= 1'b0; Tests: T4 T5 T1  83 1/1 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted Tests: T4 T5 T1  84 1/1 timer_cnt_q <= '0; Tests: T4 T5 T1  85 end else begin 86 1/1 bat_disable_q <= bat_disable_d; Tests: T4 T5 T1  87 1/1 ec_rst_l_det_q <= ec_rst_l_i; Tests: T4 T5 T1  88 1/1 rst_req_q <= rst_req_d; Tests: T4 T5 T1  89 1/1 ec_rst_l_q <= ec_rst_l_d; Tests: T4 T5 T1  90 1/1 timer_cnt_q <= timer_cnt_d; Tests: T4 T5 T1 

Cond Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[3].u_combo_act
TotalCoveredPercent
Conditions414097.56
Logical414097.56
Non-Logical00
Event00

 LINE       34
 EXPRESSION (cfg_bat_disable_en_i & combo_det_pulse_i)
             ----------1---------   --------2--------
-1--2-StatusTests
01CoveredT19,T34,T35
10CoveredT54,T44,T55
11CoveredT55,T45,T41

 LINE       35
 EXPRESSION (cfg_ec_rst_en_i & combo_det_pulse_i)
             -------1-------   --------2--------
-1--2-StatusTests
01CoveredT249,T43,T123
10CoveredT19,T33,T34
11CoveredT19,T34,T35

 LINE       36
 EXPRESSION (cfg_rst_req_en_i & combo_det_pulse_i)
             --------1-------   --------2--------
-1--2-StatusTests
01CoveredT19,T34,T35
10CoveredT33,T54,T93
11CoveredT45,T261,T123

 LINE       37
 EXPRESSION (cfg_intr_en_i & combo_det_pulse_i)
             ------1------   --------2--------
-1--2-StatusTests
01CoveredT34,T35,T55
10CoveredT19,T94,T96
11CoveredT19,T46,T47

 LINE       41
 EXPRESSION (((~ec_rst_l_i)) & ec_rst_l_det_q)
             -------1-------   -------2------
-1--2-StatusTests
01CoveredT4,T5,T1
10CoveredT4,T5,T1
11CoveredT4,T5,T1

 LINE       48
 EXPRESSION (bat_disable_q | combo_bat_disable_pulse)
             ------1------   -----------2-----------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT55,T45,T41
10CoveredT55,T45,T41

 LINE       52
 EXPRESSION (rst_req_q | combo_ot_pulse)
             ----1----   -------2------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT45,T261,T123
10CoveredT45,T261,T123

 LINE       63
 EXPRESSION ((combo_ec_rst_pulse || ec_rst_l_det_pulse) ? 1'b0 : (timer_expired ? 1'b1 : ec_rst_l_q))
             ---------------------1--------------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T5,T1

 LINE       63
 SUB-EXPRESSION (combo_ec_rst_pulse || ec_rst_l_det_pulse)
                 ---------1--------    ---------2--------
-1--2-StatusTests
00CoveredT4,T5,T1
01CoveredT4,T5,T1
10CoveredT19,T34,T35

 LINE       63
 SUB-EXPRESSION (timer_expired ? 1'b1 : ec_rst_l_q)
                 ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       70
 EXPRESSION ((ec_rst_l_q == 1'b0) && (timer_cnt_q == ec_rst_ctl_i.q))
             ----------1---------    ---------------2---------------
-1--2-StatusTests
01Not Covered
10CoveredT4,T5,T1
11CoveredT4,T3,T7

 LINE       70
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       70
 SUB-EXPRESSION (timer_cnt_q == ec_rst_ctl_i.q)
                ---------------1---------------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 EXPRESSION (timer_expired ? '0 : ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q))
             ------1------
-1-StatusTests
0CoveredT4,T5,T1
1CoveredT4,T3,T7

 LINE       71
 SUB-EXPRESSION ((ec_rst_l_q == 1'b0) ? ((timer_cnt_q + 1'b1)) : timer_cnt_q)
                 ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

 LINE       71
 SUB-EXPRESSION (ec_rst_l_q == 1'b0)
                ----------1---------
-1-StatusTests
0CoveredT4,T3,T7
1CoveredT4,T5,T1

Branch Coverage for Instance : tb.dut.u_sysrst_ctrl_combo.gen_combo_trigger[3].u_combo_act
Line No.TotalCoveredPercent
Branches 8 8 100.00
TERNARY 63 3 3 100.00
TERNARY 71 3 3 100.00
IF 79 2 2 100.00


63 assign ec_rst_l_d = (combo_ec_rst_pulse || 64 ec_rst_l_det_pulse) ? 1'b0 : -1- ==> 65 (timer_expired) ? 1'b1 : ec_rst_l_q; -2- ==> ==>

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


71 assign timer_cnt_d = (timer_expired) ? '0 : -1- ==> 72 (ec_rst_l_q == 1'b0) ? timer_cnt_q + 1'b1 : timer_cnt_q; -2- ==> ==>

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


79 if (!rst_ni) begin -1- 80 bat_disable_q <= 1'b0; ==> 81 ec_rst_l_det_q <= 1'b1; // active low signal 82 rst_req_q <= 1'b0; 83 ec_rst_l_q <= 1'b0; // asserted when power-on-reset is asserted 84 timer_cnt_q <= '0; 85 end else begin 86 bat_disable_q <= bat_disable_d; ==>

Branches:
-1-StatusTests
1 Covered T4,T5,T1
0 Covered T4,T5,T1

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