SCORE | LINE | COND | TOGGLE | FSM | BRANCH | ASSERT |
73.39 | 96.77 | 50.00 |
NAME | SCORE | LINE | COND | TOGGLE | FSM | BRANCH | ASSERT |
tb.dut.u_alert_handler_lpg_ctrl | 100.00 | 100.00 | 100.00 |
SCORE | LINE | COND | TOGGLE | FSM | BRANCH | ASSERT |
100.00 | 100.00 | 100.00 |
SCORE | LINE | COND | TOGGLE | FSM | BRANCH | ASSERT |
100.00 | 100.00 | 100.00 | 100.00 |
SCORE | LINE | COND | TOGGLE | FSM | BRANCH | ASSERT | NAME |
99.96 | 100.00 | 99.87 | 100.00 | dut |
Line No. | Total | Covered | Percent | |
---|---|---|---|---|
TOTAL | 31 | 30 | 96.77 | |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
ALWAYS | 78 | 7 | 6 | 85.71 |
53 // Otherwise, the output may have any value other than On. 54 24/24 assign lpg_init_trig[k] = mubi4_or_hi(synced_lpg_cg_en[k], synced_lpg_rst_en[k]); Tests: T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 55 end 56 57 ////////////////////////////////// 58 // LPG to Alert Channel Mapping // 59 ////////////////////////////////// 60 61 // select the correct lpg for the alert channel at index j and buffer the multibit signal for each 62 // alert channel. 63 for (genvar j=0; j < NAlerts; j++) begin : gen_alert_map 64 prim_mubi4_sync #( 65 .AsyncOn(0) // no sync flops 66 ) u_prim_mubi4_sync_lpg_en ( 67 .clk_i, 68 .rst_ni, 69 .mubi_i(lpg_init_trig[LpgMap[j]]), 70 .mubi_o({alert_init_trig_o[j]}) 71 ); 72 end 73 74 // explicitly read all unused lpg triggers to avoid lint errors. 75 logic [NLpg-1:0] lpg_used; 76 logic unused_lpg_init_trig; 77 always_comb begin 78 1/1 lpg_used = '0; Tests: T1 T2 T3 79 1/1 unused_lpg_init_trig = 1'b0; Tests: T1 T2 T3 80 1/1 for (int j=0; j < NAlerts; j++) begin Tests: T1 T2 T3 81 1/1 lpg_used[LpgMap[j]] |= 1'b1; Tests: T1 T2 T3 82 end 83 1/1 for (int k=0; k < NLpg; k++) begin Tests: T1 T2 T3 84 1/1 if (!lpg_used) begin Tests: T1 T2 T3 85 0/1 ==> unused_lpg_init_trig ^= ^lpg_init_trig[k]; 86 end MISSING_ELSE
Line No. | Total | Covered | Percent | |
---|---|---|---|---|
Branches | 2 | 1 | 50.00 | |
IF | 84 | 2 | 1 | 50.00 |
84 if (!lpg_used) begin -1- 85 unused_lpg_init_trig ^= ^lpg_init_trig[k]; ==> 86 end MISSING_ELSE ==>
-1- | Status | Tests |
---|---|---|
1 | Not Covered | |
0 | Covered | T1,T2,T3 |
Line No. | Total | Covered | Percent | |
---|---|---|---|---|
TOTAL | 30 | 30 | 100.00 | |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
CONT_ASSIGN | 54 | 1 | 1 | 100.00 |
ALWAYS | 78 | 6 | 6 | 100.00 |
53 // Otherwise, the output may have any value other than On. 54 24/24 assign lpg_init_trig[k] = mubi4_or_hi(synced_lpg_cg_en[k], synced_lpg_rst_en[k]); Tests: T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 | T1 T2 T3 55 end 56 57 ////////////////////////////////// 58 // LPG to Alert Channel Mapping // 59 ////////////////////////////////// 60 61 // select the correct lpg for the alert channel at index j and buffer the multibit signal for each 62 // alert channel. 63 for (genvar j=0; j < NAlerts; j++) begin : gen_alert_map 64 prim_mubi4_sync #( 65 .AsyncOn(0) // no sync flops 66 ) u_prim_mubi4_sync_lpg_en ( 67 .clk_i, 68 .rst_ni, 69 .mubi_i(lpg_init_trig[LpgMap[j]]), 70 .mubi_o({alert_init_trig_o[j]}) 71 ); 72 end 73 74 // explicitly read all unused lpg triggers to avoid lint errors. 75 logic [NLpg-1:0] lpg_used; 76 logic unused_lpg_init_trig; 77 always_comb begin 78 1/1 lpg_used = '0; Tests: T1 T2 T3 79 1/1 unused_lpg_init_trig = 1'b0; Tests: T1 T2 T3 80 1/1 for (int j=0; j < NAlerts; j++) begin Tests: T1 T2 T3 81 1/1 lpg_used[LpgMap[j]] |= 1'b1; Tests: T1 T2 T3 82 end 83 1/1 for (int k=0; k < NLpg; k++) begin Tests: T1 T2 T3 84 1/1 if (!lpg_used) begin Tests: T1 T2 T3 85 excluded unused_lpg_init_trig ^= ^lpg_init_trig[k]; Exclude Annotation: VC_COV_UNR 86 end MISSING_ELSE
Line No. | Total | Covered | Percent | |
---|---|---|---|---|
Branches | 1 | 1 | 100.00 | |
IF | 84 | 1 | 1 | 100.00 |
84 if (!lpg_used) begin -1- 85 unused_lpg_init_trig ^= ^lpg_init_trig[k]; ==> (Excluded) Exclude Annotation: VC_COV_UNR 86 end MISSING_ELSE ==>
-1- | Status | Tests | Exclude Annotation |
---|---|---|---|
1 | Excluded | VC_COV_UNR | |
0 | Covered | T1,T2,T3 |
0% | 10% | 20% | 30% | 40% | 50% | 60% | 70% | 80% | 90% | 100% |