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



Module Instance : tb.dut.u_reg.u_socket.gen_err_resp.err_resp

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
100.00 100.00 100.00 100.00 100.00 u_socket


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_intg_gen 100.00 100.00 100.00

Line Coverage for Module : tlul_err_resp
Line No.TotalCoveredPercent
TOTAL211571.43
ALWAYS3814857.14
CONT_ASSIGN5511100.00
CONT_ASSIGN5611100.00
CONT_ASSIGN6011100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN6611100.00
CONT_ASSIGN6711100.00
CONT_ASSIGN7311100.00

37 always_ff @(posedge clk_i or negedge rst_ni) begin 38 1/1 if (!rst_ni) begin Tests: T1 T2 T3  39 1/1 err_rsp_pending <= 1'b0; Tests: T1 T2 T3  40 1/1 err_source <= {top_pkg::TL_AIW{1'b0}}; Tests: T1 T2 T3  41 1/1 err_opcode <= Get; Tests: T1 T2 T3  42 1/1 err_size <= '0; Tests: T1 T2 T3  43 1/1 err_instr_type <= MuBi4False; Tests: T1 T2 T3  44 1/1 end else if (err_rsp_pending && tl_h_i.d_ready) begin Tests: T1 T2 T3  45 0/1 ==> err_rsp_pending <= 1'b0; 46 1/1 end else if (tl_h_i.a_valid && tl_h_o_int.a_ready) begin Tests: T1 T2 T3  47 0/1 ==> err_rsp_pending <= 1'b1; 48 0/1 ==> err_source <= tl_h_i.a_source; 49 0/1 ==> err_opcode <= tl_h_i.a_opcode; 50 0/1 ==> err_size <= tl_h_i.a_size; 51 0/1 ==> err_instr_type <= tl_h_i.a_user.instr_type; 52 end MISSING_ELSE 53 end 54 55 1/1 assign tl_h_o_int.a_ready = ~err_rsp_pending; Tests: T1 T2 T3  56 1/1 assign tl_h_o_int.d_valid = err_rsp_pending; Tests: T1 T2 T3  57 if (ReturnBlankResp) begin : gen_zero_resp 58 assign tl_h_o_int.d_data = '0; 59 end else begin : gen_err_resp 60 1/1 assign tl_h_o_int.d_data = (mubi4_test_true_strict(err_instr_type)) ? DataWhenInstrError : Tests: T1 T2 T3  61 DataWhenError; 62 end 63 1/1 assign tl_h_o_int.d_source = err_source; Tests: T1 T2 T3  64 assign tl_h_o_int.d_sink = '0; 65 assign tl_h_o_int.d_param = '0; 66 1/1 assign tl_h_o_int.d_size = err_size; Tests: T1 T2 T3  67 1/1 assign tl_h_o_int.d_opcode = (err_opcode == Get) ? AccessAckData : AccessAck; Tests: T1 T2 T3  68 assign tl_h_o_int.d_user = '0; 69 assign tl_h_o_int.d_error = ~ReturnBlankResp; 70 71 // Waive unused bits of tl_h_i 72 logic unused_tl_h; 73 1/1 assign unused_tl_h = ^{tl_h_i, err_instr_type}; Tests: T1 T2 T3 

Cond Coverage for Module : tlul_err_resp
TotalCoveredPercent
Conditions10550.00
Logical10550.00
Non-Logical00
Event00

 LINE       44
 EXPRESSION (err_rsp_pending && tl_h_i.d_ready)
             -------1-------    -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11Not Covered

 LINE       46
 EXPRESSION (tl_h_i.a_valid && tl_h_o_int.a_ready)
             -------1------    ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11Not Covered

 LINE       67
 EXPRESSION ((err_opcode == Get) ? AccessAckData : AccessAck)
             ---------1---------
-1-StatusTests
0Not Covered
1CoveredT1,T2,T3

 LINE       67
 SUB-EXPRESSION (err_opcode == Get)
                ---------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

Branch Coverage for Module : tlul_err_resp
Line No.TotalCoveredPercent
Branches 6 3 50.00
TERNARY 67 2 1 50.00
IF 38 4 2 50.00


67 assign tl_h_o_int.d_opcode = (err_opcode == Get) ? AccessAckData : AccessAck; -1- ==> ==>

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


38 if (!rst_ni) begin -1- 39 err_rsp_pending <= 1'b0; ==> 40 err_source <= {top_pkg::TL_AIW{1'b0}}; 41 err_opcode <= Get; 42 err_size <= '0; 43 err_instr_type <= MuBi4False; 44 end else if (err_rsp_pending && tl_h_i.d_ready) begin -2- 45 err_rsp_pending <= 1'b0; ==> 46 end else if (tl_h_i.a_valid && tl_h_o_int.a_ready) begin -3- 47 err_rsp_pending <= 1'b1; ==> 48 err_source <= tl_h_i.a_source; 49 err_opcode <= tl_h_i.a_opcode; 50 err_size <= tl_h_i.a_size; 51 err_instr_type <= tl_h_i.a_user.instr_type; 52 end MISSING_ELSE ==>

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

Line Coverage for Instance : tb.dut.u_reg.u_socket.gen_err_resp.err_resp
Line No.TotalCoveredPercent
TOTAL1515100.00
ALWAYS3888100.00
CONT_ASSIGN5511100.00
CONT_ASSIGN5611100.00
CONT_ASSIGN6011100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN6611100.00
CONT_ASSIGN6711100.00
CONT_ASSIGN7311100.00

37 always_ff @(posedge clk_i or negedge rst_ni) begin 38 1/1 if (!rst_ni) begin Tests: T1 T2 T3  39 1/1 err_rsp_pending <= 1'b0; Tests: T1 T2 T3  40 1/1 err_source <= {top_pkg::TL_AIW{1'b0}}; Tests: T1 T2 T3  41 1/1 err_opcode <= Get; Tests: T1 T2 T3  42 1/1 err_size <= '0; Tests: T1 T2 T3  43 1/1 err_instr_type <= MuBi4False; Tests: T1 T2 T3  44 1/1 end else if (err_rsp_pending && tl_h_i.d_ready) begin Tests: T1 T2 T3  45 excluded err_rsp_pending <= 1'b0; Exclude Annotation: VC_COV_UNR 46 1/1 end else if (tl_h_i.a_valid && tl_h_o_int.a_ready) begin Tests: T1 T2 T3  47 excluded err_rsp_pending <= 1'b1; Exclude Annotation: VC_COV_UNR 48 excluded err_source <= tl_h_i.a_source; Exclude Annotation: VC_COV_UNR 49 excluded err_opcode <= tl_h_i.a_opcode; Exclude Annotation: VC_COV_UNR 50 excluded err_size <= tl_h_i.a_size; Exclude Annotation: VC_COV_UNR 51 excluded err_instr_type <= tl_h_i.a_user.instr_type; Exclude Annotation: VC_COV_UNR 52 end MISSING_ELSE 53 end 54 55 1/1 assign tl_h_o_int.a_ready = ~err_rsp_pending; Tests: T1 T2 T3  56 1/1 assign tl_h_o_int.d_valid = err_rsp_pending; Tests: T1 T2 T3  57 if (ReturnBlankResp) begin : gen_zero_resp 58 assign tl_h_o_int.d_data = '0; 59 end else begin : gen_err_resp 60 1/1 assign tl_h_o_int.d_data = (mubi4_test_true_strict(err_instr_type)) ? DataWhenInstrError : Tests: T1 T2 T3  61 DataWhenError; 62 end 63 1/1 assign tl_h_o_int.d_source = err_source; Tests: T1 T2 T3  64 assign tl_h_o_int.d_sink = '0; 65 assign tl_h_o_int.d_param = '0; 66 1/1 assign tl_h_o_int.d_size = err_size; Tests: T1 T2 T3  67 1/1 assign tl_h_o_int.d_opcode = (err_opcode == Get) ? AccessAckData : AccessAck; Tests: T1 T2 T3  68 assign tl_h_o_int.d_user = '0; 69 assign tl_h_o_int.d_error = ~ReturnBlankResp; 70 71 // Waive unused bits of tl_h_i 72 logic unused_tl_h; 73 1/1 assign unused_tl_h = ^{tl_h_i, err_instr_type}; Tests: T1 T2 T3 

Cond Coverage for Instance : tb.dut.u_reg.u_socket.gen_err_resp.err_resp
TotalCoveredPercent
Conditions55100.00
Logical55100.00
Non-Logical00
Event00

 LINE       44
 EXPRESSION (err_rsp_pending && tl_h_i.d_ready)
             -------1-------    -------2------
-1--2-StatusTestsExclude Annotation
01CoveredT1,T2,T3
10Excluded VC_COV_UNR
11Excluded VC_COV_UNR

 LINE       46
 EXPRESSION (tl_h_i.a_valid && tl_h_o_int.a_ready)
             -------1------    ---------2--------
-1--2-StatusTestsExclude Annotation
01CoveredT1,T2,T3
10Excluded VC_COV_UNR
11Excluded VC_COV_UNR

 LINE       67
 EXPRESSION ((err_opcode == Get) ? AccessAckData : AccessAck)
             ---------1---------
-1-StatusTestsExclude Annotation
0Excluded VC_COV_UNR
1CoveredT1,T2,T3

 LINE       67
 SUB-EXPRESSION (err_opcode == Get)
                ---------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

Branch Coverage for Instance : tb.dut.u_reg.u_socket.gen_err_resp.err_resp
Line No.TotalCoveredPercent
Branches 3 3 100.00
TERNARY 67 1 1 100.00
IF 38 2 2 100.00


67 assign tl_h_o_int.d_opcode = (err_opcode == Get) ? AccessAckData : AccessAck; -1- ==> ==> (Excluded)

Branches:
-1-StatusTestsExclude Annotation
1 Covered T1,T2,T3
0 Excluded VC_COV_UNR


38 if (!rst_ni) begin -1- 39 err_rsp_pending <= 1'b0; ==> 40 err_source <= {top_pkg::TL_AIW{1'b0}}; 41 err_opcode <= Get; 42 err_size <= '0; 43 err_instr_type <= MuBi4False; 44 end else if (err_rsp_pending && tl_h_i.d_ready) begin -2- 45 err_rsp_pending <= 1'b0; ==> (Excluded) Exclude Annotation: VC_COV_UNR 46 end else if (tl_h_i.a_valid && tl_h_o_int.a_ready) begin -3- 47 err_rsp_pending <= 1'b1; ==> (Excluded) Exclude Annotation: VC_COV_UNR 48 err_source <= tl_h_i.a_source; 49 err_opcode <= tl_h_i.a_opcode; 50 err_size <= tl_h_i.a_size; 51 err_instr_type <= tl_h_i.a_user.instr_type; 52 end MISSING_ELSE ==>

Branches:
-1--2--3-StatusTestsExclude Annotation
1 - - Covered T1,T2,T3
0 1 - Excluded VC_COV_UNR
0 0 1 Excluded VC_COV_UNR
0 0 0 Covered T1,T2,T3

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