Line Coverage for Module :
tlul_rsp_intg_chk
| Line No. | Total | Covered | Percent |
TOTAL | | 3 | 3 | 100.00 |
CONT_ASSIGN | 23 | 1 | 1 | 100.00 |
CONT_ASSIGN | 47 | 1 | 1 | 100.00 |
CONT_ASSIGN | 50 | 1 | 1 | 100.00 |
22 tl_d2h_rsp_intg_t rsp;
23 1/1 assign rsp = extract_d2h_rsp_intg(tl_i);
Tests: T1 T2 T3
24
25 prim_secded_inv_64_57_dec u_chk (
26 .data_i({tl_i.d_user.rsp_intg, D2HRspMaxWidth'(rsp)}),
27 .data_o(),
28 .syndrome_o(),
29 .err_o(rsp_err)
30 );
31
32 logic rsp_data_err;
33 if (EnableRspDataIntgCheck) begin : gen_rsp_data_intg_check
34 tlul_data_integ_dec u_tlul_data_integ_dec (
35 .data_intg_i({tl_i.d_user.data_intg, DataMaxWidth'(tl_i.d_data)}),
36 .data_err_o(rsp_data_err)
37 );
38 end else begin : gen_no_rsp_data_intg_check
39 assign rsp_data_err = 1'b0;
40 end
41
42 // error is not permanently latched as rsp_intg_chk is typically
43 // used near the host.
44 // if the error is permanent, it would imply the host could forever
45 // receive bus errors and lose all ability to debug.
46 // It should be up to the host to determine the permanence of this error.
47 1/1 assign err_o = tl_i.d_valid & (|rsp_err | rsp_data_err);
Tests: T1 T2 T3
48
49 logic unused_tl;
50 1/1 assign unused_tl = |tl_i;
Tests: T1 T2 T3
Cond Coverage for Module :
tlul_rsp_intg_chk
| Total | Covered | Percent |
Conditions | 6 | 6 | 100.00 |
Logical | 6 | 6 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 47
EXPRESSION (tl_i.d_valid & (((|rsp_err)) | rsp_data_err))
------1----- --------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T49 |
1 | 0 | Covered | T17,T18,T19 |
1 | 1 | Covered | T40,T115,T20 |
LINE 47
SUB-EXPRESSION (((|rsp_err)) | rsp_data_err)
------1----- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T49,T40,T115 |
1 | 0 | Covered | T40,T115,T20 |
Assert Coverage for Module :
tlul_rsp_intg_chk
Assertion Details
PayLoadWidthCheck
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
470 |
470 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T6 |
1 |
1 |
0 |
0 |
T12 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T23 |
1 |
1 |
0 |
0 |
T48 |
1 |
1 |
0 |
0 |
T49 |
1 |
1 |
0 |
0 |
T50 |
1 |
1 |
0 |
0 |