Line Coverage for Module :
tlul_cmd_intg_chk
| Line No. | Total | Covered | Percent |
TOTAL | | 2 | 2 | 100.00 |
CONT_ASSIGN | 22 | 1 | 1 | 100.00 |
CONT_ASSIGN | 44 | 0 | 0 | |
CONT_ASSIGN | 49 | 1 | 1 | 100.00 |
21 tl_h2d_cmd_intg_t cmd;
22 1/1 assign cmd = extract_h2d_cmd_intg(tl_i);
Tests: T4 T5 T6
23
24 prim_secded_inv_64_57_dec u_chk (
25 .data_i({tl_i.a_user.cmd_intg, H2DCmdMaxWidth'(cmd)}),
26 .data_o(),
27 .syndrome_o(),
28 .err_o(err)
29 );
30
31 tlul_data_integ_dec u_tlul_data_integ_dec (
32 .data_intg_i({tl_i.a_user.data_intg, DataMaxWidth'(tl_i.a_data)}),
33 .data_err_o(data_err)
34 );
35
36 // error output is transactional, it is up to the instantiating module
37 // to determine if a permanent latch is feasible
38 // [LOWRISC] err and data_err is unknown when a_valid is low, so we can't cover
39 // the condition coverage - (|err | (|data_err)) == 0/1, when a_valid = 0, which is
40 // fine as driving unknown is better. `err_o` is used as a condition in other places,
41 // which needs to be covered with 0 and 1, so it's OK to disable the entire coverage.
42 //VCS coverage off
43 // pragma coverage off
44 unreachable assign err_o = tl_i.a_valid & (|err | (|data_err));
45 //VCS coverage on
46 // pragma coverage on
47
48 logic unused_tl;
49 1/1 assign unused_tl = |tl_i;
Tests: T4 T5 T6
Assert Coverage for Module :
tlul_cmd_intg_chk
Assertion Details
PayLoadWidthCheck
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
989 |
989 |
0 |
0 |
T4 |
1 |
1 |
0 |
0 |
T5 |
1 |
1 |
0 |
0 |
T6 |
1 |
1 |
0 |
0 |
T30 |
1 |
1 |
0 |
0 |
T31 |
1 |
1 |
0 |
0 |
T32 |
1 |
1 |
0 |
0 |
T33 |
1 |
1 |
0 |
0 |
T34 |
1 |
1 |
0 |
0 |
T35 |
1 |
1 |
0 |
0 |
T36 |
1 |
1 |
0 |
0 |