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



Module Instance : tb.dut.u_tlul_lc_gate.u_tlul_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
92.33 100.00 100.00 100.00 95.00 66.67 u_tlul_lc_gate


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_intg_gen 100.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 : tlul_err_resp
Line No.TotalCoveredPercent
TOTAL2121100.00
ALWAYS381414100.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 1/1 err_rsp_pending <= 1'b0; Tests: T6 T7 T8  46 1/1 end else if (tl_h_i.a_valid && tl_h_o_int.a_ready) begin Tests: T1 T2 T3  47 1/1 err_rsp_pending <= 1'b1; Tests: T6 T7 T8  48 1/1 err_source <= tl_h_i.a_source; Tests: T6 T7 T8  49 1/1 err_opcode <= tl_h_i.a_opcode; Tests: T6 T7 T8  50 1/1 err_size <= tl_h_i.a_size; Tests: T6 T7 T8  51 1/1 err_instr_type <= tl_h_i.a_user.instr_type; Tests: T6 T7 T8  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
Conditions1010100.00
Logical1010100.00
Non-Logical00
Event00

 LINE       44
 EXPRESSION (err_rsp_pending && tl_h_i.d_ready)
             -------1-------    -------2------
-1--2-StatusTests
01CoveredT2,T4,T5
10CoveredT7,T9,T17
11CoveredT6,T7,T8

 LINE       46
 EXPRESSION (tl_h_i.a_valid && tl_h_o_int.a_ready)
             -------1------    ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T9,T17
11CoveredT6,T7,T8

 LINE       67
 EXPRESSION ((err_opcode == Get) ? AccessAckData : AccessAck)
             ---------1---------
-1-StatusTests
0CoveredT6,T7,T8
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 6 100.00
TERNARY 67 2 2 100.00
IF 38 4 4 100.00


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T6,T7,T8


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 - Covered T6,T7,T8
0 0 1 Covered T6,T7,T8
0 0 0 Covered T1,T2,T3

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