Line Coverage for Module :
prim_arbiter_fixed
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 14 | 87.50 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
ALWAYS | 105 | 6 | 6 | 100.00 |
CONT_ASSIGN | 124 | 1 | 1 | 100.00 |
CONT_ASSIGN | 128 | 1 | 1 | 100.00 |
CONT_ASSIGN | 129 | 1 | 1 | 100.00 |
CONT_ASSIGN | 132 | 1 | 1 | 100.00 |
84 // forward path
85 2/2 assign req_tree[Pa] = req_i[offset];
Tests: T1 T2 T3 | T1 T2 T3
86 assign idx_tree[Pa] = offset;
87 0/2 ==> assign data_tree[Pa] = data_i[offset];
88 // backward (grant) path
89 2/2 assign gnt_o[offset] = gnt_tree[Pa];
Tests: T1 T2 T3 | T1 T2 T3
90
91 end else begin : gen_tie_off
92 // forward path
93 assign req_tree[Pa] = '0;
94 assign idx_tree[Pa] = '0;
95 assign data_tree[Pa] = '0;
96 logic unused_sigs;
97 assign unused_sigs = gnt_tree[Pa];
98 end
99 // this creates the node assignments
100 end else begin : gen_nodes
101 // forward path
102 logic sel; // local helper variable
103 always_comb begin : p_node
104 // this always gives priority to the left child
105 1/1 sel = ~req_tree[C0];
Tests: T1 T2 T3
106 // propagate requests
107 1/1 req_tree[Pa] = req_tree[C0] | req_tree[C1];
Tests: T1 T2 T3
108 // data and index muxes
109 1/1 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
Tests: T1 T2 T3
110 1/1 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
Tests: T1 T2 T3
111 // propagate the grants back to the input
112 1/1 gnt_tree[C0] = gnt_tree[Pa] & ~sel;
Tests: T1 T2 T3
113 1/1 gnt_tree[C1] = gnt_tree[Pa] & sel;
Tests: T1 T2 T3
114 end
115 end
116 end : gen_level
117 end : gen_tree
118
119 // the results can be found at the tree root
120 if (EnDataPort) begin : gen_data_port
121 assign data_o = data_tree[0];
122 end else begin : gen_no_dataport
123 logic [DW-1:0] unused_data;
124 1/1 assign unused_data = data_tree[0];
Tests: T1 T2 T3
125 assign data_o = '1;
126 end
127
128 1/1 assign idx_o = idx_tree[0];
Tests: T1 T2 T3
129 1/1 assign valid_o = req_tree[0];
Tests: T1 T2 T3
130
131 // this propagates a grant back to the input
132 1/1 assign gnt_tree[0] = valid_o & ready_i;
Tests: T1 T2 T3
Cond Coverage for Module :
prim_arbiter_fixed
| Total | Covered | Percent |
Conditions | 16 | 16 | 100.00 |
Logical | 16 | 16 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 107
EXPRESSION (gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C0] | gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C1])
----------------------------------1---------------------------------- ----------------------------------2----------------------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T8,T9 |
LINE 109
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T5,T8,T9 |
1 | Covered | T1,T2,T3 |
LINE 110
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T5,T8,T9 |
1 | Covered | T1,T2,T3 |
LINE 112
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & ((~gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)))
----------------------------------1---------------------------------- -----------------------------2-----------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T5,T31,T25 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T5,T8,T9 |
LINE 113
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)
----------------------------------1---------------------------------- ---------------------------2--------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T8,T9 |
1 | 1 | Covered | T1,T2,T3 |
LINE 132
EXPRESSION (valid_o & ready_i)
---1--- ---2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T31,T25 |
1 | 1 | Covered | T1,T2,T3 |
Branch Coverage for Module :
prim_arbiter_fixed
| Line No. | Total | Covered | Percent |
Branches |
|
4 |
4 |
100.00 |
TERNARY |
109 |
2 |
2 |
100.00 |
TERNARY |
110 |
2 |
2 |
100.00 |
109 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T5,T8,T9 |
110 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T5,T8,T9 |
Assert Coverage for Module :
prim_arbiter_fixed
Assertion Details
CheckHotOne_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
1561456680 |
0 |
0 |
T1 |
8280 |
7880 |
0 |
0 |
T2 |
13920 |
13524 |
0 |
0 |
T3 |
7548 |
7288 |
0 |
0 |
T4 |
17480 |
15648 |
0 |
0 |
T5 |
2708 |
2316 |
0 |
0 |
T8 |
180852 |
180604 |
0 |
0 |
T9 |
5624 |
5272 |
0 |
0 |
T10 |
8496 |
8184 |
0 |
0 |
T16 |
6164 |
5884 |
0 |
0 |
T17 |
6500 |
6168 |
0 |
0 |
CheckNGreaterZero_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
4204 |
4204 |
0 |
0 |
T1 |
4 |
4 |
0 |
0 |
T2 |
4 |
4 |
0 |
0 |
T3 |
4 |
4 |
0 |
0 |
T4 |
4 |
4 |
0 |
0 |
T5 |
4 |
4 |
0 |
0 |
T8 |
4 |
4 |
0 |
0 |
T9 |
4 |
4 |
0 |
0 |
T10 |
4 |
4 |
0 |
0 |
T16 |
4 |
4 |
0 |
0 |
T17 |
4 |
4 |
0 |
0 |
GntImpliesReady_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
391772688 |
0 |
0 |
T1 |
4140 |
356 |
0 |
0 |
T2 |
6960 |
4434 |
0 |
0 |
T3 |
3774 |
356 |
0 |
0 |
T4 |
17480 |
460 |
0 |
0 |
T5 |
2708 |
80 |
0 |
0 |
T6 |
2594 |
348 |
0 |
0 |
T8 |
180852 |
1960 |
0 |
0 |
T9 |
5624 |
84 |
0 |
0 |
T10 |
8496 |
1156 |
0 |
0 |
T11 |
0 |
8 |
0 |
0 |
T12 |
0 |
5790 |
0 |
0 |
T16 |
6164 |
64 |
0 |
0 |
T17 |
6500 |
64 |
0 |
0 |
T22 |
0 |
400 |
0 |
0 |
T25 |
0 |
1638 |
0 |
0 |
T30 |
0 |
27334 |
0 |
0 |
T31 |
3552 |
16 |
0 |
0 |
T61 |
0 |
12 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
GntImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
391772688 |
0 |
0 |
T1 |
4140 |
356 |
0 |
0 |
T2 |
6960 |
4434 |
0 |
0 |
T3 |
3774 |
356 |
0 |
0 |
T4 |
17480 |
460 |
0 |
0 |
T5 |
2708 |
80 |
0 |
0 |
T6 |
2594 |
348 |
0 |
0 |
T8 |
180852 |
1960 |
0 |
0 |
T9 |
5624 |
84 |
0 |
0 |
T10 |
8496 |
1156 |
0 |
0 |
T11 |
0 |
8 |
0 |
0 |
T12 |
0 |
5790 |
0 |
0 |
T16 |
6164 |
64 |
0 |
0 |
T17 |
6500 |
64 |
0 |
0 |
T22 |
0 |
400 |
0 |
0 |
T25 |
0 |
1638 |
0 |
0 |
T30 |
0 |
27334 |
0 |
0 |
T31 |
3552 |
16 |
0 |
0 |
T61 |
0 |
12 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
GrantKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
1561456680 |
0 |
0 |
T1 |
8280 |
7880 |
0 |
0 |
T2 |
13920 |
13524 |
0 |
0 |
T3 |
7548 |
7288 |
0 |
0 |
T4 |
17480 |
15648 |
0 |
0 |
T5 |
2708 |
2316 |
0 |
0 |
T8 |
180852 |
180604 |
0 |
0 |
T9 |
5624 |
5272 |
0 |
0 |
T10 |
8496 |
8184 |
0 |
0 |
T16 |
6164 |
5884 |
0 |
0 |
T17 |
6500 |
6168 |
0 |
0 |
IdxKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
1561456680 |
0 |
0 |
T1 |
8280 |
7880 |
0 |
0 |
T2 |
13920 |
13524 |
0 |
0 |
T3 |
7548 |
7288 |
0 |
0 |
T4 |
17480 |
15648 |
0 |
0 |
T5 |
2708 |
2316 |
0 |
0 |
T8 |
180852 |
180604 |
0 |
0 |
T9 |
5624 |
5272 |
0 |
0 |
T10 |
8496 |
8184 |
0 |
0 |
T16 |
6164 |
5884 |
0 |
0 |
T17 |
6500 |
6168 |
0 |
0 |
IndexIsCorrect_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
391772688 |
0 |
0 |
T1 |
4140 |
356 |
0 |
0 |
T2 |
6960 |
4434 |
0 |
0 |
T3 |
3774 |
356 |
0 |
0 |
T4 |
17480 |
460 |
0 |
0 |
T5 |
2708 |
80 |
0 |
0 |
T6 |
2594 |
348 |
0 |
0 |
T8 |
180852 |
1960 |
0 |
0 |
T9 |
5624 |
84 |
0 |
0 |
T10 |
8496 |
1156 |
0 |
0 |
T11 |
0 |
8 |
0 |
0 |
T12 |
0 |
5790 |
0 |
0 |
T16 |
6164 |
64 |
0 |
0 |
T17 |
6500 |
64 |
0 |
0 |
T22 |
0 |
400 |
0 |
0 |
T25 |
0 |
1638 |
0 |
0 |
T30 |
0 |
27334 |
0 |
0 |
T31 |
3552 |
16 |
0 |
0 |
T61 |
0 |
12 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
NoReadyValidNoGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
171451698 |
0 |
0 |
T1 |
4140 |
656 |
0 |
0 |
T2 |
6960 |
256 |
0 |
0 |
T3 |
3774 |
986 |
0 |
0 |
T4 |
8740 |
1536 |
0 |
0 |
T5 |
1354 |
302 |
0 |
0 |
T6 |
2594 |
0 |
0 |
0 |
T8 |
180852 |
3138 |
0 |
0 |
T9 |
5624 |
286 |
0 |
0 |
T10 |
8496 |
316 |
0 |
0 |
T11 |
986 |
14 |
0 |
0 |
T12 |
0 |
186 |
0 |
0 |
T16 |
6164 |
256 |
0 |
0 |
T17 |
6500 |
256 |
0 |
0 |
T22 |
0 |
1060 |
0 |
0 |
T25 |
10626 |
170 |
0 |
0 |
T30 |
0 |
1746 |
0 |
0 |
T31 |
3552 |
32 |
0 |
0 |
T48 |
0 |
756 |
0 |
0 |
T61 |
0 |
16 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
T67 |
0 |
2770 |
0 |
0 |
Priority_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
416175602 |
0 |
0 |
T1 |
4140 |
356 |
0 |
0 |
T2 |
6960 |
4434 |
0 |
0 |
T3 |
3774 |
356 |
0 |
0 |
T4 |
17480 |
460 |
0 |
0 |
T5 |
2708 |
80 |
0 |
0 |
T6 |
2594 |
348 |
0 |
0 |
T8 |
180852 |
1960 |
0 |
0 |
T9 |
5624 |
84 |
0 |
0 |
T10 |
8496 |
1156 |
0 |
0 |
T11 |
0 |
10 |
0 |
0 |
T12 |
0 |
5790 |
0 |
0 |
T16 |
6164 |
64 |
0 |
0 |
T17 |
6500 |
64 |
0 |
0 |
T22 |
0 |
400 |
0 |
0 |
T25 |
0 |
1638 |
0 |
0 |
T30 |
0 |
27336 |
0 |
0 |
T31 |
3552 |
16 |
0 |
0 |
T61 |
0 |
20 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
ReadyAndValidImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
391772688 |
0 |
0 |
T1 |
4140 |
356 |
0 |
0 |
T2 |
6960 |
4434 |
0 |
0 |
T3 |
3774 |
356 |
0 |
0 |
T4 |
17480 |
460 |
0 |
0 |
T5 |
2708 |
80 |
0 |
0 |
T6 |
2594 |
348 |
0 |
0 |
T8 |
180852 |
1960 |
0 |
0 |
T9 |
5624 |
84 |
0 |
0 |
T10 |
8496 |
1156 |
0 |
0 |
T11 |
0 |
8 |
0 |
0 |
T12 |
0 |
5790 |
0 |
0 |
T16 |
6164 |
64 |
0 |
0 |
T17 |
6500 |
64 |
0 |
0 |
T22 |
0 |
400 |
0 |
0 |
T25 |
0 |
1638 |
0 |
0 |
T30 |
0 |
27334 |
0 |
0 |
T31 |
3552 |
16 |
0 |
0 |
T61 |
0 |
12 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
ReqAndReadyImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
391772688 |
0 |
0 |
T1 |
4140 |
356 |
0 |
0 |
T2 |
6960 |
4434 |
0 |
0 |
T3 |
3774 |
356 |
0 |
0 |
T4 |
17480 |
460 |
0 |
0 |
T5 |
2708 |
80 |
0 |
0 |
T6 |
2594 |
348 |
0 |
0 |
T8 |
180852 |
1960 |
0 |
0 |
T9 |
5624 |
84 |
0 |
0 |
T10 |
8496 |
1156 |
0 |
0 |
T11 |
0 |
8 |
0 |
0 |
T12 |
0 |
5790 |
0 |
0 |
T16 |
6164 |
64 |
0 |
0 |
T17 |
6500 |
64 |
0 |
0 |
T22 |
0 |
400 |
0 |
0 |
T25 |
0 |
1638 |
0 |
0 |
T30 |
0 |
27334 |
0 |
0 |
T31 |
3552 |
16 |
0 |
0 |
T61 |
0 |
12 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
ReqImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
416175602 |
0 |
0 |
T1 |
4140 |
356 |
0 |
0 |
T2 |
6960 |
4434 |
0 |
0 |
T3 |
3774 |
356 |
0 |
0 |
T4 |
17480 |
460 |
0 |
0 |
T5 |
2708 |
80 |
0 |
0 |
T6 |
2594 |
348 |
0 |
0 |
T8 |
180852 |
1960 |
0 |
0 |
T9 |
5624 |
84 |
0 |
0 |
T10 |
8496 |
1156 |
0 |
0 |
T11 |
0 |
10 |
0 |
0 |
T12 |
0 |
5790 |
0 |
0 |
T16 |
6164 |
64 |
0 |
0 |
T17 |
6500 |
64 |
0 |
0 |
T22 |
0 |
400 |
0 |
0 |
T25 |
0 |
1638 |
0 |
0 |
T30 |
0 |
27336 |
0 |
0 |
T31 |
3552 |
16 |
0 |
0 |
T61 |
0 |
20 |
0 |
0 |
T62 |
2148 |
0 |
0 |
0 |
ValidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1564706768 |
1561456680 |
0 |
0 |
T1 |
8280 |
7880 |
0 |
0 |
T2 |
13920 |
13524 |
0 |
0 |
T3 |
7548 |
7288 |
0 |
0 |
T4 |
17480 |
15648 |
0 |
0 |
T5 |
2708 |
2316 |
0 |
0 |
T8 |
180852 |
180604 |
0 |
0 |
T9 |
5624 |
5272 |
0 |
0 |
T10 |
8496 |
8184 |
0 |
0 |
T16 |
6164 |
5884 |
0 |
0 |
T17 |
6500 |
6168 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 14 | 87.50 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
ALWAYS | 105 | 6 | 6 | 100.00 |
CONT_ASSIGN | 124 | 1 | 1 | 100.00 |
CONT_ASSIGN | 128 | 1 | 1 | 100.00 |
CONT_ASSIGN | 129 | 1 | 1 | 100.00 |
CONT_ASSIGN | 132 | 1 | 1 | 100.00 |
84 // forward path
85 2/2 assign req_tree[Pa] = req_i[offset];
Tests: T1 T2 T3 | T1 T2 T3
86 assign idx_tree[Pa] = offset;
87 0/2 ==> assign data_tree[Pa] = data_i[offset];
88 // backward (grant) path
89 2/2 assign gnt_o[offset] = gnt_tree[Pa];
Tests: T1 T2 T3 | T1 T2 T3
90
91 end else begin : gen_tie_off
92 // forward path
93 assign req_tree[Pa] = '0;
94 assign idx_tree[Pa] = '0;
95 assign data_tree[Pa] = '0;
96 logic unused_sigs;
97 assign unused_sigs = gnt_tree[Pa];
98 end
99 // this creates the node assignments
100 end else begin : gen_nodes
101 // forward path
102 logic sel; // local helper variable
103 always_comb begin : p_node
104 // this always gives priority to the left child
105 1/1 sel = ~req_tree[C0];
Tests: T1 T2 T3
106 // propagate requests
107 1/1 req_tree[Pa] = req_tree[C0] | req_tree[C1];
Tests: T1 T2 T3
108 // data and index muxes
109 1/1 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
Tests: T1 T2 T3
110 1/1 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
Tests: T1 T2 T3
111 // propagate the grants back to the input
112 1/1 gnt_tree[C0] = gnt_tree[Pa] & ~sel;
Tests: T1 T2 T3
113 1/1 gnt_tree[C1] = gnt_tree[Pa] & sel;
Tests: T1 T2 T3
114 end
115 end
116 end : gen_level
117 end : gen_tree
118
119 // the results can be found at the tree root
120 if (EnDataPort) begin : gen_data_port
121 assign data_o = data_tree[0];
122 end else begin : gen_no_dataport
123 logic [DW-1:0] unused_data;
124 1/1 assign unused_data = data_tree[0];
Tests: T1 T2 T3
125 assign data_o = '1;
126 end
127
128 1/1 assign idx_o = idx_tree[0];
Tests: T1 T2 T3
129 1/1 assign valid_o = req_tree[0];
Tests: T1 T2 T3
130
131 // this propagates a grant back to the input
132 1/1 assign gnt_tree[0] = valid_o & ready_i;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
| Total | Covered | Percent |
Conditions | 16 | 16 | 100.00 |
Logical | 16 | 16 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 107
EXPRESSION (gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C0] | gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C1])
----------------------------------1---------------------------------- ----------------------------------2----------------------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T8,T9 |
LINE 109
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T5,T8,T9 |
1 | Covered | T1,T2,T3 |
LINE 110
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T5,T8,T9 |
1 | Covered | T1,T2,T3 |
LINE 112
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & ((~gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)))
----------------------------------1---------------------------------- -----------------------------2-----------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T5,T31,T25 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T5,T8,T9 |
LINE 113
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)
----------------------------------1---------------------------------- ---------------------------2--------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T8,T9 |
1 | 1 | Covered | T1,T2,T3 |
LINE 132
EXPRESSION (valid_o & ready_i)
---1--- ---2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T31,T25 |
1 | 1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
Branches |
|
4 |
4 |
100.00 |
TERNARY |
109 |
2 |
2 |
100.00 |
TERNARY |
110 |
2 |
2 |
100.00 |
109 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T5,T8,T9 |
110 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T5,T8,T9 |
Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
Assertion Details
CheckHotOne_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
CheckNGreaterZero_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1051 |
1051 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T4 |
1 |
1 |
0 |
0 |
T5 |
1 |
1 |
0 |
0 |
T8 |
1 |
1 |
0 |
0 |
T9 |
1 |
1 |
0 |
0 |
T10 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
GntImpliesReady_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180207 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
GntImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180207 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
GrantKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IdxKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IndexIsCorrect_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180207 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
NoReadyValidNoGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
44849696 |
0 |
0 |
T1 |
2070 |
328 |
0 |
0 |
T2 |
3480 |
128 |
0 |
0 |
T3 |
1887 |
493 |
0 |
0 |
T4 |
4370 |
768 |
0 |
0 |
T5 |
677 |
151 |
0 |
0 |
T8 |
45213 |
971 |
0 |
0 |
T9 |
1406 |
143 |
0 |
0 |
T10 |
2124 |
158 |
0 |
0 |
T16 |
1541 |
128 |
0 |
0 |
T17 |
1625 |
128 |
0 |
0 |
Priority_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
111254444 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ReadyAndValidImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180207 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ReqAndReadyImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180207 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ReqImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
111254444 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ValidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 14 | 87.50 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
ALWAYS | 105 | 6 | 6 | 100.00 |
CONT_ASSIGN | 124 | 1 | 1 | 100.00 |
CONT_ASSIGN | 128 | 1 | 1 | 100.00 |
CONT_ASSIGN | 129 | 1 | 1 | 100.00 |
CONT_ASSIGN | 132 | 1 | 1 | 100.00 |
84 // forward path
85 2/2 assign req_tree[Pa] = req_i[offset];
Tests: T1 T2 T3 | T1 T2 T3
86 assign idx_tree[Pa] = offset;
87 0/2 ==> assign data_tree[Pa] = data_i[offset];
88 // backward (grant) path
89 2/2 assign gnt_o[offset] = gnt_tree[Pa];
Tests: T1 T2 T3 | T1 T2 T3
90
91 end else begin : gen_tie_off
92 // forward path
93 assign req_tree[Pa] = '0;
94 assign idx_tree[Pa] = '0;
95 assign data_tree[Pa] = '0;
96 logic unused_sigs;
97 assign unused_sigs = gnt_tree[Pa];
98 end
99 // this creates the node assignments
100 end else begin : gen_nodes
101 // forward path
102 logic sel; // local helper variable
103 always_comb begin : p_node
104 // this always gives priority to the left child
105 1/1 sel = ~req_tree[C0];
Tests: T1 T2 T3
106 // propagate requests
107 1/1 req_tree[Pa] = req_tree[C0] | req_tree[C1];
Tests: T1 T2 T3
108 // data and index muxes
109 1/1 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
Tests: T1 T2 T3
110 1/1 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
Tests: T1 T2 T3
111 // propagate the grants back to the input
112 1/1 gnt_tree[C0] = gnt_tree[Pa] & ~sel;
Tests: T1 T2 T3
113 1/1 gnt_tree[C1] = gnt_tree[Pa] & sel;
Tests: T1 T2 T3
114 end
115 end
116 end : gen_level
117 end : gen_tree
118
119 // the results can be found at the tree root
120 if (EnDataPort) begin : gen_data_port
121 assign data_o = data_tree[0];
122 end else begin : gen_no_dataport
123 logic [DW-1:0] unused_data;
124 1/1 assign unused_data = data_tree[0];
Tests: T1 T2 T3
125 assign data_o = '1;
126 end
127
128 1/1 assign idx_o = idx_tree[0];
Tests: T1 T2 T3
129 1/1 assign valid_o = req_tree[0];
Tests: T1 T2 T3
130
131 // this propagates a grant back to the input
132 1/1 assign gnt_tree[0] = valid_o & ready_i;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
| Total | Covered | Percent |
Conditions | 16 | 16 | 100.00 |
Logical | 16 | 16 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 107
EXPRESSION (gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C0] | gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C1])
----------------------------------1---------------------------------- ----------------------------------2----------------------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T8,T9 |
LINE 109
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T5,T8,T9 |
1 | Covered | T1,T2,T3 |
LINE 110
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T5,T8,T9 |
1 | Covered | T1,T2,T3 |
LINE 112
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & ((~gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)))
----------------------------------1---------------------------------- -----------------------------2-----------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T5,T31,T25 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T5,T8,T9 |
LINE 113
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)
----------------------------------1---------------------------------- ---------------------------2--------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T8,T9 |
1 | 1 | Covered | T1,T2,T3 |
LINE 132
EXPRESSION (valid_o & ready_i)
---1--- ---2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T5,T31,T25 |
1 | 1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
Branches |
|
4 |
4 |
100.00 |
TERNARY |
109 |
2 |
2 |
100.00 |
TERNARY |
110 |
2 |
2 |
100.00 |
109 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T5,T8,T9 |
110 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T5,T8,T9 |
Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
Assertion Details
CheckHotOne_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
CheckNGreaterZero_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1051 |
1051 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T4 |
1 |
1 |
0 |
0 |
T5 |
1 |
1 |
0 |
0 |
T8 |
1 |
1 |
0 |
0 |
T9 |
1 |
1 |
0 |
0 |
T10 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
GntImpliesReady_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180125 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
GntImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180125 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
GrantKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IdxKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IndexIsCorrect_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180125 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
NoReadyValidNoGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
44849696 |
0 |
0 |
T1 |
2070 |
328 |
0 |
0 |
T2 |
3480 |
128 |
0 |
0 |
T3 |
1887 |
493 |
0 |
0 |
T4 |
4370 |
768 |
0 |
0 |
T5 |
677 |
151 |
0 |
0 |
T8 |
45213 |
971 |
0 |
0 |
T9 |
1406 |
143 |
0 |
0 |
T10 |
2124 |
158 |
0 |
0 |
T16 |
1541 |
128 |
0 |
0 |
T17 |
1625 |
128 |
0 |
0 |
Priority_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
111254362 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ReadyAndValidImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180125 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ReqAndReadyImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
105180125 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ReqImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
111254362 |
0 |
0 |
T1 |
2070 |
178 |
0 |
0 |
T2 |
3480 |
2217 |
0 |
0 |
T3 |
1887 |
178 |
0 |
0 |
T4 |
4370 |
226 |
0 |
0 |
T5 |
677 |
40 |
0 |
0 |
T8 |
45213 |
588 |
0 |
0 |
T9 |
1406 |
42 |
0 |
0 |
T10 |
2124 |
578 |
0 |
0 |
T16 |
1541 |
32 |
0 |
0 |
T17 |
1625 |
32 |
0 |
0 |
ValidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 14 | 87.50 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
ALWAYS | 105 | 6 | 6 | 100.00 |
CONT_ASSIGN | 124 | 1 | 1 | 100.00 |
CONT_ASSIGN | 128 | 1 | 1 | 100.00 |
CONT_ASSIGN | 129 | 1 | 1 | 100.00 |
CONT_ASSIGN | 132 | 1 | 1 | 100.00 |
84 // forward path
85 2/2 assign req_tree[Pa] = req_i[offset];
Tests: T1 T2 T3 | T1 T2 T3
86 assign idx_tree[Pa] = offset;
87 0/2 ==> assign data_tree[Pa] = data_i[offset];
88 // backward (grant) path
89 2/2 assign gnt_o[offset] = gnt_tree[Pa];
Tests: T1 T2 T3 | T1 T2 T3
90
91 end else begin : gen_tie_off
92 // forward path
93 assign req_tree[Pa] = '0;
94 assign idx_tree[Pa] = '0;
95 assign data_tree[Pa] = '0;
96 logic unused_sigs;
97 assign unused_sigs = gnt_tree[Pa];
98 end
99 // this creates the node assignments
100 end else begin : gen_nodes
101 // forward path
102 logic sel; // local helper variable
103 always_comb begin : p_node
104 // this always gives priority to the left child
105 1/1 sel = ~req_tree[C0];
Tests: T1 T2 T3
106 // propagate requests
107 1/1 req_tree[Pa] = req_tree[C0] | req_tree[C1];
Tests: T1 T2 T3
108 // data and index muxes
109 1/1 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
Tests: T1 T2 T3
110 1/1 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
Tests: T1 T2 T3
111 // propagate the grants back to the input
112 1/1 gnt_tree[C0] = gnt_tree[Pa] & ~sel;
Tests: T1 T2 T3
113 1/1 gnt_tree[C1] = gnt_tree[Pa] & sel;
Tests: T1 T2 T3
114 end
115 end
116 end : gen_level
117 end : gen_tree
118
119 // the results can be found at the tree root
120 if (EnDataPort) begin : gen_data_port
121 assign data_o = data_tree[0];
122 end else begin : gen_no_dataport
123 logic [DW-1:0] unused_data;
124 1/1 assign unused_data = data_tree[0];
Tests: T1 T2 T3
125 assign data_o = '1;
126 end
127
128 1/1 assign idx_o = idx_tree[0];
Tests: T1 T2 T3
129 1/1 assign valid_o = req_tree[0];
Tests: T1 T2 T3
130
131 // this propagates a grant back to the input
132 1/1 assign gnt_tree[0] = valid_o & ready_i;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
| Total | Covered | Percent |
Conditions | 16 | 16 | 100.00 |
Logical | 16 | 16 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 107
EXPRESSION (gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C0] | gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C1])
----------------------------------1---------------------------------- ----------------------------------2----------------------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T4,T8,T6 |
1 | 0 | Covered | T8,T31,T25 |
LINE 109
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T8,T31,T25 |
1 | Covered | T1,T2,T3 |
LINE 110
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T8,T31,T25 |
1 | Covered | T1,T2,T3 |
LINE 112
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & ((~gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)))
----------------------------------1---------------------------------- -----------------------------2-----------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T31,T25,T11 |
1 | 0 | Covered | T4,T8,T6 |
1 | 1 | Covered | T8,T31,T25 |
LINE 113
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)
----------------------------------1---------------------------------- ---------------------------2--------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T8,T31,T25 |
1 | 1 | Covered | T4,T8,T6 |
LINE 132
EXPRESSION (valid_o & ready_i)
---1--- ---2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T31,T25,T11 |
1 | 1 | Covered | T4,T8,T6 |
Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
Branches |
|
4 |
4 |
100.00 |
TERNARY |
109 |
2 |
2 |
100.00 |
TERNARY |
110 |
2 |
2 |
100.00 |
109 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T8,T31,T25 |
110 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T8,T31,T25 |
Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[0].gen_fixed_arbiter.u_arb
Assertion Details
CheckHotOne_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
CheckNGreaterZero_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1051 |
1051 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T4 |
1 |
1 |
0 |
0 |
T5 |
1 |
1 |
0 |
0 |
T8 |
1 |
1 |
0 |
0 |
T9 |
1 |
1 |
0 |
0 |
T10 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
GntImpliesReady_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706219 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
GntImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706219 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
GrantKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IdxKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IndexIsCorrect_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706219 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
NoReadyValidNoGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
40876153 |
0 |
0 |
T6 |
1297 |
0 |
0 |
0 |
T8 |
45213 |
598 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
493 |
7 |
0 |
0 |
T12 |
0 |
93 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
530 |
0 |
0 |
T25 |
5313 |
85 |
0 |
0 |
T30 |
0 |
873 |
0 |
0 |
T31 |
1776 |
16 |
0 |
0 |
T48 |
0 |
378 |
0 |
0 |
T61 |
0 |
8 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
T67 |
0 |
1385 |
0 |
0 |
Priority_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
96833439 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
5 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13668 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
10 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ReadyAndValidImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706219 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ReqAndReadyImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706219 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ReqImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
96833439 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
5 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13668 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
10 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ValidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 14 | 87.50 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 87 | 1 | 0 | 0.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
ALWAYS | 105 | 6 | 6 | 100.00 |
CONT_ASSIGN | 124 | 1 | 1 | 100.00 |
CONT_ASSIGN | 128 | 1 | 1 | 100.00 |
CONT_ASSIGN | 129 | 1 | 1 | 100.00 |
CONT_ASSIGN | 132 | 1 | 1 | 100.00 |
84 // forward path
85 2/2 assign req_tree[Pa] = req_i[offset];
Tests: T1 T2 T3 | T1 T2 T3
86 assign idx_tree[Pa] = offset;
87 0/2 ==> assign data_tree[Pa] = data_i[offset];
88 // backward (grant) path
89 2/2 assign gnt_o[offset] = gnt_tree[Pa];
Tests: T1 T2 T3 | T1 T2 T3
90
91 end else begin : gen_tie_off
92 // forward path
93 assign req_tree[Pa] = '0;
94 assign idx_tree[Pa] = '0;
95 assign data_tree[Pa] = '0;
96 logic unused_sigs;
97 assign unused_sigs = gnt_tree[Pa];
98 end
99 // this creates the node assignments
100 end else begin : gen_nodes
101 // forward path
102 logic sel; // local helper variable
103 always_comb begin : p_node
104 // this always gives priority to the left child
105 1/1 sel = ~req_tree[C0];
Tests: T1 T2 T3
106 // propagate requests
107 1/1 req_tree[Pa] = req_tree[C0] | req_tree[C1];
Tests: T1 T2 T3
108 // data and index muxes
109 1/1 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
Tests: T1 T2 T3
110 1/1 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
Tests: T1 T2 T3
111 // propagate the grants back to the input
112 1/1 gnt_tree[C0] = gnt_tree[Pa] & ~sel;
Tests: T1 T2 T3
113 1/1 gnt_tree[C1] = gnt_tree[Pa] & sel;
Tests: T1 T2 T3
114 end
115 end
116 end : gen_level
117 end : gen_tree
118
119 // the results can be found at the tree root
120 if (EnDataPort) begin : gen_data_port
121 assign data_o = data_tree[0];
122 end else begin : gen_no_dataport
123 logic [DW-1:0] unused_data;
124 1/1 assign unused_data = data_tree[0];
Tests: T1 T2 T3
125 assign data_o = '1;
126 end
127
128 1/1 assign idx_o = idx_tree[0];
Tests: T1 T2 T3
129 1/1 assign valid_o = req_tree[0];
Tests: T1 T2 T3
130
131 // this propagates a grant back to the input
132 1/1 assign gnt_tree[0] = valid_o & ready_i;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
| Total | Covered | Percent |
Conditions | 16 | 16 | 100.00 |
Logical | 16 | 16 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 107
EXPRESSION (gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C0] | gen_normal_case.req_tree[gen_normal_case.gen_tree[0].gen_level[0].C1])
----------------------------------1---------------------------------- ----------------------------------2----------------------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T4,T8,T6 |
1 | 0 | Covered | T8,T31,T25 |
LINE 109
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.idx_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T8,T31,T25 |
1 | Covered | T1,T2,T3 |
LINE 110
EXPRESSION
Number Term
1 gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel ? gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C1] : gen_normal_case.data_tree[gen_normal_case.gen_tree[0].gen_level[0].C0])
-1- | Status | Tests |
0 | Covered | T8,T31,T25 |
1 | Covered | T1,T2,T3 |
LINE 112
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & ((~gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)))
----------------------------------1---------------------------------- -----------------------------2-----------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T31,T25,T11 |
1 | 0 | Covered | T4,T8,T6 |
1 | 1 | Covered | T8,T31,T25 |
LINE 113
EXPRESSION (gen_normal_case.gnt_tree[gen_normal_case.gen_tree[0].gen_level[0].Pa] & gen_normal_case.gen_tree[0].gen_level[0].gen_nodes.sel)
----------------------------------1---------------------------------- ---------------------------2--------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T8,T31,T25 |
1 | 1 | Covered | T4,T8,T6 |
LINE 132
EXPRESSION (valid_o & ready_i)
---1--- ---2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T31,T25,T11 |
1 | 1 | Covered | T4,T8,T6 |
Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
| Line No. | Total | Covered | Percent |
Branches |
|
4 |
4 |
100.00 |
TERNARY |
109 |
2 |
2 |
100.00 |
TERNARY |
110 |
2 |
2 |
100.00 |
109 idx_tree[Pa] = (sel) ? idx_tree[C1] : idx_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T8,T31,T25 |
110 data_tree[Pa] = (sel) ? data_tree[C1] : data_tree[C0];
-1-
==>
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T8,T31,T25 |
Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core.u_host_arb.gen_input_bufs[1].gen_fixed_arbiter.u_arb
Assertion Details
CheckHotOne_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
CheckNGreaterZero_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1051 |
1051 |
0 |
0 |
T1 |
1 |
1 |
0 |
0 |
T2 |
1 |
1 |
0 |
0 |
T3 |
1 |
1 |
0 |
0 |
T4 |
1 |
1 |
0 |
0 |
T5 |
1 |
1 |
0 |
0 |
T8 |
1 |
1 |
0 |
0 |
T9 |
1 |
1 |
0 |
0 |
T10 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
GntImpliesReady_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706137 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
GntImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706137 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
GrantKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IdxKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |
IndexIsCorrect_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706137 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
NoReadyValidNoGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
40876153 |
0 |
0 |
T6 |
1297 |
0 |
0 |
0 |
T8 |
45213 |
598 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
493 |
7 |
0 |
0 |
T12 |
0 |
93 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
530 |
0 |
0 |
T25 |
5313 |
85 |
0 |
0 |
T30 |
0 |
873 |
0 |
0 |
T31 |
1776 |
16 |
0 |
0 |
T48 |
0 |
378 |
0 |
0 |
T61 |
0 |
8 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
T67 |
0 |
1385 |
0 |
0 |
Priority_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
96833357 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
5 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13668 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
10 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ReadyAndValidImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706137 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ReqAndReadyImplyGrant_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
90706137 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
4 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13667 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
6 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ReqImpliesValid_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
96833357 |
0 |
0 |
T4 |
4370 |
4 |
0 |
0 |
T5 |
677 |
0 |
0 |
0 |
T6 |
1297 |
174 |
0 |
0 |
T8 |
45213 |
392 |
0 |
0 |
T9 |
1406 |
0 |
0 |
0 |
T10 |
2124 |
0 |
0 |
0 |
T11 |
0 |
5 |
0 |
0 |
T12 |
0 |
2895 |
0 |
0 |
T16 |
1541 |
0 |
0 |
0 |
T17 |
1625 |
0 |
0 |
0 |
T22 |
0 |
200 |
0 |
0 |
T25 |
0 |
819 |
0 |
0 |
T30 |
0 |
13668 |
0 |
0 |
T31 |
1776 |
8 |
0 |
0 |
T61 |
0 |
10 |
0 |
0 |
T62 |
1074 |
0 |
0 |
0 |
ValidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
391176692 |
390364170 |
0 |
0 |
T1 |
2070 |
1970 |
0 |
0 |
T2 |
3480 |
3381 |
0 |
0 |
T3 |
1887 |
1822 |
0 |
0 |
T4 |
4370 |
3912 |
0 |
0 |
T5 |
677 |
579 |
0 |
0 |
T8 |
45213 |
45151 |
0 |
0 |
T9 |
1406 |
1318 |
0 |
0 |
T10 |
2124 |
2046 |
0 |
0 |
T16 |
1541 |
1471 |
0 |
0 |
T17 |
1625 |
1542 |
0 |
0 |