Line Coverage for Module :
prim_filter
| Line No. | Total | Covered | Percent |
TOTAL | | 12 | 12 | 100.00 |
CONT_ASSIGN | 44 | 1 | 1 | 100.00 |
ALWAYS | 48 | 4 | 4 | 100.00 |
CONT_ASSIGN | 55 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
ALWAYS | 59 | 3 | 3 | 100.00 |
CONT_ASSIGN | 66 | 1 | 1 | 100.00 |
CONT_ASSIGN | 70 | 1 | 1 | 100.00 |
43 end else begin : gen_sync
44 1/1 assign filter_synced = filter_i;
Tests: T1 T2 T3
45 end
46
47 always_ff @(posedge clk_i or negedge rst_ni) begin
48 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
49 1/1 stored_value_q <= 1'b0;
Tests: T1 T2 T3
50 1/1 end else if (update_stored_value) begin
Tests: T1 T2 T3
51 1/1 stored_value_q <= filter_synced;
Tests: T1 T2 T3
52 end
MISSING_ELSE
53 end
54
55 1/1 assign stored_vector_d = {stored_vector_q[Cycles-2:0],filter_synced};
Tests: T1 T2 T3
56 1/1 assign unused_stored_vector_q_msb = stored_vector_q[Cycles-1];
Tests: T1 T2 T3
57
58 always_ff @(posedge clk_i or negedge rst_ni) begin
59 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
60 1/1 stored_vector_q <= '0;
Tests: T1 T2 T3
61 end else begin
62 1/1 stored_vector_q <= stored_vector_d;
Tests: T1 T2 T3
63 end
64 end
65
66 1/1 assign update_stored_value =
Tests: T1 T2 T3
67 (stored_vector_d == {Cycles{1'b0}}) |
68 (stored_vector_d == {Cycles{1'b1}});
69
70 1/1 assign filter_o = enable_i ? stored_value_q : filter_synced;
Tests: T1 T2 T3
Cond Coverage for Module :
prim_filter
| Total | Covered | Percent |
Conditions | 8 | 8 | 100.00 |
Logical | 8 | 8 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 66
EXPRESSION ((stored_vector_d == {Cycles {1'b0}}) | (stored_vector_d == {Cycles {1'b1}}))
------------------1----------------- ------------------2-----------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (stored_vector_d == {Cycles {1'b0}})
------------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (stored_vector_d == {Cycles {1'b1}})
------------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 70
EXPRESSION (enable_i ? stored_value_q : filter_synced)
----1---
-1- | Status | Tests |
0 | Unreachable | |
1 | Covered | T1,T2,T3 |
Branch Coverage for Module :
prim_filter
| Line No. | Total | Covered | Percent |
Branches |
|
6 |
6 |
100.00 |
TERNARY |
70 |
1 |
1 |
100.00 |
IF |
48 |
3 |
3 |
100.00 |
IF |
59 |
2 |
2 |
100.00 |
70 assign filter_o = enable_i ? stored_value_q : filter_synced;
-1-
==>
==> (Unreachable)
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Unreachable |
|
48 if (!rst_ni) begin
-1-
49 stored_value_q <= 1'b0;
==>
50 end else if (update_stored_value) begin
-2-
51 stored_value_q <= filter_synced;
==>
52 end
MISSING_ELSE
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
59 if (!rst_ni) begin
-1-
60 stored_vector_q <= '0;
==>
61 end else begin
62 stored_vector_q <= stored_vector_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.usbdev_impl.u_usbdev_linkstate.filter_se0
| Line No. | Total | Covered | Percent |
TOTAL | | 12 | 12 | 100.00 |
CONT_ASSIGN | 44 | 1 | 1 | 100.00 |
ALWAYS | 48 | 4 | 4 | 100.00 |
CONT_ASSIGN | 55 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
ALWAYS | 59 | 3 | 3 | 100.00 |
CONT_ASSIGN | 66 | 1 | 1 | 100.00 |
CONT_ASSIGN | 70 | 1 | 1 | 100.00 |
43 end else begin : gen_sync
44 1/1 assign filter_synced = filter_i;
Tests: T1 T2 T3
45 end
46
47 always_ff @(posedge clk_i or negedge rst_ni) begin
48 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
49 1/1 stored_value_q <= 1'b0;
Tests: T1 T2 T3
50 1/1 end else if (update_stored_value) begin
Tests: T1 T2 T3
51 1/1 stored_value_q <= filter_synced;
Tests: T1 T2 T3
52 end
MISSING_ELSE
53 end
54
55 1/1 assign stored_vector_d = {stored_vector_q[Cycles-2:0],filter_synced};
Tests: T1 T2 T3
56 1/1 assign unused_stored_vector_q_msb = stored_vector_q[Cycles-1];
Tests: T1 T2 T3
57
58 always_ff @(posedge clk_i or negedge rst_ni) begin
59 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
60 1/1 stored_vector_q <= '0;
Tests: T1 T2 T3
61 end else begin
62 1/1 stored_vector_q <= stored_vector_d;
Tests: T1 T2 T3
63 end
64 end
65
66 1/1 assign update_stored_value =
Tests: T1 T2 T3
67 (stored_vector_d == {Cycles{1'b0}}) |
68 (stored_vector_d == {Cycles{1'b1}});
69
70 1/1 assign filter_o = enable_i ? stored_value_q : filter_synced;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.usbdev_impl.u_usbdev_linkstate.filter_se0
| Total | Covered | Percent |
Conditions | 8 | 8 | 100.00 |
Logical | 8 | 8 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 66
EXPRESSION ((stored_vector_d == {Cycles {1'b0}}) | (stored_vector_d == {Cycles {1'b1}}))
------------------1----------------- ------------------2-----------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (stored_vector_d == {Cycles {1'b0}})
------------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (stored_vector_d == {Cycles {1'b1}})
------------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 70
EXPRESSION (enable_i ? stored_value_q : filter_synced)
----1---
-1- | Status | Tests |
0 | Unreachable | |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.usbdev_impl.u_usbdev_linkstate.filter_se0
| Line No. | Total | Covered | Percent |
Branches |
|
6 |
6 |
100.00 |
TERNARY |
70 |
1 |
1 |
100.00 |
IF |
48 |
3 |
3 |
100.00 |
IF |
59 |
2 |
2 |
100.00 |
70 assign filter_o = enable_i ? stored_value_q : filter_synced;
-1-
==>
==> (Unreachable)
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Unreachable |
|
48 if (!rst_ni) begin
-1-
49 stored_value_q <= 1'b0;
==>
50 end else if (update_stored_value) begin
-2-
51 stored_value_q <= filter_synced;
==>
52 end
MISSING_ELSE
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
59 if (!rst_ni) begin
-1-
60 stored_vector_q <= '0;
==>
61 end else begin
62 stored_vector_q <= stored_vector_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.usbdev_impl.u_usbdev_linkstate.filter_pwr_sense
| Line No. | Total | Covered | Percent |
TOTAL | | 12 | 12 | 100.00 |
CONT_ASSIGN | 44 | 1 | 1 | 100.00 |
ALWAYS | 48 | 4 | 4 | 100.00 |
CONT_ASSIGN | 55 | 1 | 1 | 100.00 |
CONT_ASSIGN | 56 | 1 | 1 | 100.00 |
ALWAYS | 59 | 3 | 3 | 100.00 |
CONT_ASSIGN | 66 | 1 | 1 | 100.00 |
CONT_ASSIGN | 70 | 1 | 1 | 100.00 |
43 end else begin : gen_sync
44 1/1 assign filter_synced = filter_i;
Tests: T1 T2 T3
45 end
46
47 always_ff @(posedge clk_i or negedge rst_ni) begin
48 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
49 1/1 stored_value_q <= 1'b0;
Tests: T1 T2 T3
50 1/1 end else if (update_stored_value) begin
Tests: T1 T2 T3
51 1/1 stored_value_q <= filter_synced;
Tests: T1 T2 T3
52 end
MISSING_ELSE
53 end
54
55 1/1 assign stored_vector_d = {stored_vector_q[Cycles-2:0],filter_synced};
Tests: T1 T2 T3
56 1/1 assign unused_stored_vector_q_msb = stored_vector_q[Cycles-1];
Tests: T1 T2 T3
57
58 always_ff @(posedge clk_i or negedge rst_ni) begin
59 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
60 1/1 stored_vector_q <= '0;
Tests: T1 T2 T3
61 end else begin
62 1/1 stored_vector_q <= stored_vector_d;
Tests: T1 T2 T3
63 end
64 end
65
66 1/1 assign update_stored_value =
Tests: T1 T2 T3
67 (stored_vector_d == {Cycles{1'b0}}) |
68 (stored_vector_d == {Cycles{1'b1}});
69
70 1/1 assign filter_o = enable_i ? stored_value_q : filter_synced;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.usbdev_impl.u_usbdev_linkstate.filter_pwr_sense
| Total | Covered | Percent |
Conditions | 8 | 8 | 100.00 |
Logical | 8 | 8 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 66
EXPRESSION ((stored_vector_d == {Cycles {1'b0}}) | (stored_vector_d == {Cycles {1'b1}}))
------------------1----------------- ------------------2-----------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (stored_vector_d == {Cycles {1'b0}})
------------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
SUB-EXPRESSION (stored_vector_d == {Cycles {1'b1}})
------------------1-----------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 70
EXPRESSION (enable_i ? stored_value_q : filter_synced)
----1---
-1- | Status | Tests |
0 | Unreachable | |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.usbdev_impl.u_usbdev_linkstate.filter_pwr_sense
| Line No. | Total | Covered | Percent |
Branches |
|
6 |
6 |
100.00 |
TERNARY |
70 |
1 |
1 |
100.00 |
IF |
48 |
3 |
3 |
100.00 |
IF |
59 |
2 |
2 |
100.00 |
70 assign filter_o = enable_i ? stored_value_q : filter_synced;
-1-
==>
==> (Unreachable)
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Unreachable |
|
48 if (!rst_ni) begin
-1-
49 stored_value_q <= 1'b0;
==>
50 end else if (update_stored_value) begin
-2-
51 stored_value_q <= filter_synced;
==>
52 end
MISSING_ELSE
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
59 if (!rst_ni) begin
-1-
60 stored_vector_q <= '0;
==>
61 end else begin
62 stored_vector_q <= stored_vector_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |