Line Coverage for Module :
prim_packer_fifo ( parameter InW=128,OutW=128,ClearOnRead=0,MaxW=128,MinW=128,DepthW=0 )
Line Coverage for Module self-instances :
| Line No. | Total | Covered | Percent |
TOTAL | | 23 | 23 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
Line Coverage for Module :
prim_packer_fifo ( parameter InW=128,OutW=32,ClearOnRead=0,MaxW=128,MinW=32,DepthW=2 )
Line Coverage for Module self-instances :
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Module :
prim_packer_fifo ( parameter InW=128,OutW=128,ClearOnRead=0,MaxW=128,MinW=128,DepthW=0 )
Cond Coverage for Module self-instances :
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------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 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T10,T25 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T4,T10,T25 |
1 | 1 | Covered | T1,T2,T3 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Not Covered | |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Not Covered | |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T10,T11,T16 |
1 | 1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Cond Coverage for Module :
prim_packer_fifo ( parameter InW=128,OutW=32,ClearOnRead=0,MaxW=128,MinW=32,DepthW=2 )
Cond Coverage for Module self-instances :
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------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 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T1,T2,T3 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T25,T28,T177 |
1 | 1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Module :
prim_packer_fifo
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Module :
prim_packer_fifo
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
95049488 |
9390526 |
0 |
7576 |
T1 |
1479 |
1124 |
0 |
1 |
T2 |
904 |
707 |
0 |
1 |
T3 |
3835 |
2329 |
0 |
1 |
T4 |
889 |
0 |
0 |
1 |
T5 |
1783 |
0 |
0 |
1 |
T6 |
0 |
636 |
0 |
0 |
T7 |
0 |
240 |
0 |
0 |
T10 |
2747 |
0 |
0 |
1 |
T11 |
3567 |
1173 |
0 |
1 |
T16 |
0 |
1042 |
0 |
0 |
T19 |
1951 |
0 |
0 |
1 |
T23 |
0 |
1616 |
0 |
0 |
T24 |
882 |
0 |
0 |
1 |
T25 |
2039 |
1296 |
0 |
1 |
T26 |
1178 |
0 |
0 |
1 |
T27 |
1382 |
939 |
0 |
1 |
T28 |
809 |
46 |
0 |
1 |
T29 |
1539 |
923 |
0 |
1 |
T30 |
0 |
302 |
0 |
0 |
T31 |
1942 |
975 |
0 |
1 |
T32 |
1800 |
0 |
0 |
1 |
T37 |
0 |
1010 |
0 |
0 |
T41 |
3624 |
2351 |
0 |
2 |
T43 |
0 |
1147 |
0 |
0 |
T45 |
0 |
770 |
0 |
0 |
T50 |
0 |
2777 |
0 |
0 |
T57 |
0 |
1128 |
0 |
0 |
T59 |
0 |
391 |
0 |
0 |
T64 |
1295 |
0 |
0 |
1 |
T67 |
1089 |
0 |
0 |
1 |
T68 |
1312 |
0 |
0 |
1 |
T69 |
2147 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
95049488 |
9390526 |
0 |
0 |
T1 |
1479 |
1124 |
0 |
0 |
T2 |
904 |
707 |
0 |
0 |
T3 |
3835 |
2329 |
0 |
0 |
T4 |
889 |
0 |
0 |
0 |
T5 |
1783 |
0 |
0 |
0 |
T6 |
0 |
636 |
0 |
0 |
T7 |
0 |
240 |
0 |
0 |
T10 |
2747 |
0 |
0 |
0 |
T11 |
3567 |
1173 |
0 |
0 |
T16 |
0 |
1042 |
0 |
0 |
T19 |
1951 |
0 |
0 |
0 |
T23 |
0 |
1616 |
0 |
0 |
T24 |
882 |
0 |
0 |
0 |
T25 |
2039 |
1296 |
0 |
0 |
T26 |
1178 |
0 |
0 |
0 |
T27 |
1382 |
939 |
0 |
0 |
T28 |
809 |
46 |
0 |
0 |
T29 |
1539 |
923 |
0 |
0 |
T30 |
0 |
302 |
0 |
0 |
T31 |
1942 |
975 |
0 |
0 |
T32 |
1800 |
0 |
0 |
0 |
T37 |
0 |
1010 |
0 |
0 |
T41 |
3624 |
2351 |
0 |
0 |
T43 |
0 |
1147 |
0 |
0 |
T45 |
0 |
770 |
0 |
0 |
T50 |
0 |
2777 |
0 |
0 |
T57 |
0 |
1128 |
0 |
0 |
T59 |
0 |
391 |
0 |
0 |
T64 |
1295 |
0 |
0 |
0 |
T67 |
1089 |
0 |
0 |
0 |
T68 |
1312 |
0 |
0 |
0 |
T69 |
2147 |
0 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.u_prim_packer_fifo_cs
| Line No. | Total | Covered | Percent |
TOTAL | | 23 | 23 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.u_prim_packer_fifo_cs
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------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 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T10,T25 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T4,T10,T25 |
1 | 1 | Covered | T1,T2,T3 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Not Covered | |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Not Covered | |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T10,T11,T16 |
1 | 1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.u_prim_packer_fifo_cs
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
12 |
85.71 |
TERNARY |
142 |
4 |
3 |
75.00 |
TERNARY |
147 |
3 |
2 |
66.67 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Not Covered |
|
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Not Covered |
|
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.u_prim_packer_fifo_cs
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
125834 |
0 |
947 |
T4 |
889 |
32 |
0 |
1 |
T5 |
1783 |
0 |
0 |
1 |
T6 |
26706 |
0 |
0 |
1 |
T10 |
2747 |
545 |
0 |
1 |
T11 |
0 |
564 |
0 |
0 |
T12 |
0 |
4 |
0 |
0 |
T24 |
882 |
0 |
0 |
1 |
T25 |
2039 |
61 |
0 |
1 |
T26 |
1178 |
0 |
0 |
1 |
T27 |
1382 |
0 |
0 |
1 |
T28 |
809 |
508 |
0 |
1 |
T29 |
0 |
29 |
0 |
0 |
T31 |
0 |
13 |
0 |
0 |
T37 |
1266 |
0 |
0 |
1 |
T41 |
0 |
1 |
0 |
0 |
T69 |
0 |
42 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
125834 |
0 |
0 |
T4 |
889 |
32 |
0 |
0 |
T5 |
1783 |
0 |
0 |
0 |
T6 |
26706 |
0 |
0 |
0 |
T10 |
2747 |
545 |
0 |
0 |
T11 |
0 |
564 |
0 |
0 |
T12 |
0 |
4 |
0 |
0 |
T24 |
882 |
0 |
0 |
0 |
T25 |
2039 |
61 |
0 |
0 |
T26 |
1178 |
0 |
0 |
0 |
T27 |
1382 |
0 |
0 |
0 |
T28 |
809 |
508 |
0 |
0 |
T29 |
0 |
29 |
0 |
0 |
T31 |
0 |
13 |
0 |
0 |
T37 |
1266 |
0 |
0 |
0 |
T41 |
0 |
1 |
0 |
0 |
T69 |
0 |
42 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[0].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[0].u_prim_packer_fifo_ep
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------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 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T1,T2,T3 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T25,T177,T229 |
1 | 1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[0].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[0].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
8001814 |
0 |
947 |
T1 |
1479 |
1124 |
0 |
1 |
T2 |
904 |
707 |
0 |
1 |
T3 |
3835 |
2329 |
0 |
1 |
T4 |
889 |
0 |
0 |
1 |
T5 |
1783 |
0 |
0 |
1 |
T6 |
0 |
636 |
0 |
0 |
T10 |
2747 |
0 |
0 |
1 |
T11 |
0 |
1173 |
0 |
0 |
T24 |
882 |
0 |
0 |
1 |
T25 |
2039 |
1296 |
0 |
1 |
T26 |
1178 |
0 |
0 |
1 |
T27 |
1382 |
939 |
0 |
1 |
T29 |
0 |
923 |
0 |
0 |
T31 |
0 |
975 |
0 |
0 |
T37 |
0 |
1010 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
8001814 |
0 |
0 |
T1 |
1479 |
1124 |
0 |
0 |
T2 |
904 |
707 |
0 |
0 |
T3 |
3835 |
2329 |
0 |
0 |
T4 |
889 |
0 |
0 |
0 |
T5 |
1783 |
0 |
0 |
0 |
T6 |
0 |
636 |
0 |
0 |
T10 |
2747 |
0 |
0 |
0 |
T11 |
0 |
1173 |
0 |
0 |
T24 |
882 |
0 |
0 |
0 |
T25 |
2039 |
1296 |
0 |
0 |
T26 |
1178 |
0 |
0 |
0 |
T27 |
1382 |
939 |
0 |
0 |
T29 |
0 |
923 |
0 |
0 |
T31 |
0 |
975 |
0 |
0 |
T37 |
0 |
1010 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[1].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[1].u_prim_packer_fifo_ep
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------1-------------------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T28,T41,T16 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T28,T41,T16 |
1 | 0 | Covered | T28,T41,T16 |
1 | 1 | Covered | T28,T41,T16 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T28,T41,T16 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T28,T41,T16 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T28,T41,T16 |
1 | 1 | Covered | T28,T41,T16 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T28,T41,T16 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T28,T41,T16 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T28,T41,T16 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T28,T41,T16 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T28,T41,T16 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T28,T230,T231 |
1 | 1 | Covered | T28,T41,T16 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T28,T41,T16 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[1].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T28,T41,T16 |
0 |
0 |
1 |
Covered |
T28,T41,T16 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T28,T41,T16 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T28,T41,T16 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[1].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
251770 |
0 |
947 |
T7 |
0 |
240 |
0 |
0 |
T11 |
3567 |
0 |
0 |
1 |
T16 |
0 |
1042 |
0 |
0 |
T19 |
1951 |
0 |
0 |
1 |
T23 |
0 |
1616 |
0 |
0 |
T28 |
809 |
46 |
0 |
1 |
T29 |
1539 |
0 |
0 |
1 |
T31 |
1942 |
0 |
0 |
1 |
T32 |
1800 |
0 |
0 |
1 |
T41 |
1812 |
1245 |
0 |
1 |
T43 |
0 |
1147 |
0 |
0 |
T45 |
0 |
770 |
0 |
0 |
T50 |
0 |
2777 |
0 |
0 |
T57 |
0 |
1128 |
0 |
0 |
T59 |
0 |
391 |
0 |
0 |
T64 |
1295 |
0 |
0 |
1 |
T67 |
1089 |
0 |
0 |
1 |
T68 |
1312 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
251770 |
0 |
0 |
T7 |
0 |
240 |
0 |
0 |
T11 |
3567 |
0 |
0 |
0 |
T16 |
0 |
1042 |
0 |
0 |
T19 |
1951 |
0 |
0 |
0 |
T23 |
0 |
1616 |
0 |
0 |
T28 |
809 |
46 |
0 |
0 |
T29 |
1539 |
0 |
0 |
0 |
T31 |
1942 |
0 |
0 |
0 |
T32 |
1800 |
0 |
0 |
0 |
T41 |
1812 |
1245 |
0 |
0 |
T43 |
0 |
1147 |
0 |
0 |
T45 |
0 |
770 |
0 |
0 |
T50 |
0 |
2777 |
0 |
0 |
T57 |
0 |
1128 |
0 |
0 |
T59 |
0 |
391 |
0 |
0 |
T64 |
1295 |
0 |
0 |
0 |
T67 |
1089 |
0 |
0 |
0 |
T68 |
1312 |
0 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[2].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[2].u_prim_packer_fifo_ep
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------1-------------------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T41,T46,T47 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T41,T46,T47 |
1 | 0 | Covered | T41,T30,T46 |
1 | 1 | Covered | T41,T46,T47 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T46,T47 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T41,T30,T46 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T41,T30,T46 |
1 | 1 | Covered | T41,T30,T46 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T30,T46 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T30,T46 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T30,T46 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T30,T46 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T41,T30,T46 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T47,T81,T232 |
1 | 1 | Covered | T41,T30,T46 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T41,T30,T46 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[2].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T41,T30,T46 |
0 |
0 |
1 |
Covered |
T41,T30,T46 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T41,T30,T46 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T41,T30,T46 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[2].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
225440 |
0 |
947 |
T12 |
1809 |
0 |
0 |
1 |
T30 |
0 |
302 |
0 |
0 |
T41 |
1812 |
1106 |
0 |
1 |
T42 |
7536 |
0 |
0 |
1 |
T46 |
0 |
2756 |
0 |
0 |
T47 |
0 |
44 |
0 |
0 |
T48 |
0 |
1138 |
0 |
0 |
T56 |
27185 |
0 |
0 |
1 |
T65 |
1314 |
0 |
0 |
1 |
T69 |
2147 |
0 |
0 |
1 |
T70 |
1046 |
0 |
0 |
1 |
T72 |
0 |
2186 |
0 |
0 |
T78 |
0 |
994 |
0 |
0 |
T79 |
0 |
4603 |
0 |
0 |
T80 |
0 |
387 |
0 |
0 |
T81 |
0 |
304 |
0 |
0 |
T82 |
878 |
0 |
0 |
1 |
T83 |
1050 |
0 |
0 |
1 |
T84 |
1214 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
225440 |
0 |
0 |
T12 |
1809 |
0 |
0 |
0 |
T30 |
0 |
302 |
0 |
0 |
T41 |
1812 |
1106 |
0 |
0 |
T42 |
7536 |
0 |
0 |
0 |
T46 |
0 |
2756 |
0 |
0 |
T47 |
0 |
44 |
0 |
0 |
T48 |
0 |
1138 |
0 |
0 |
T56 |
27185 |
0 |
0 |
0 |
T65 |
1314 |
0 |
0 |
0 |
T69 |
2147 |
0 |
0 |
0 |
T70 |
1046 |
0 |
0 |
0 |
T72 |
0 |
2186 |
0 |
0 |
T78 |
0 |
994 |
0 |
0 |
T79 |
0 |
4603 |
0 |
0 |
T80 |
0 |
387 |
0 |
0 |
T81 |
0 |
304 |
0 |
0 |
T82 |
878 |
0 |
0 |
0 |
T83 |
1050 |
0 |
0 |
0 |
T84 |
1214 |
0 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[3].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[3].u_prim_packer_fifo_ep
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------1-------------------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T41,T49,T21 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T41,T49,T21 |
1 | 0 | Covered | T41,T49,T21 |
1 | 1 | Covered | T41,T49,T21 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T49,T21 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T41,T49,T21 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T41,T49,T21 |
1 | 1 | Covered | T41,T49,T21 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T49,T21 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T49,T21 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T49,T21 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T49,T21 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T41,T49,T21 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T87,T51,T201 |
1 | 1 | Covered | T41,T49,T21 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T41,T49,T21 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[3].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T41,T49,T21 |
0 |
0 |
1 |
Covered |
T41,T49,T21 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T41,T49,T21 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T41,T49,T21 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[3].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
223645 |
0 |
947 |
T12 |
1809 |
0 |
0 |
1 |
T21 |
0 |
821 |
0 |
0 |
T23 |
0 |
3404 |
0 |
0 |
T41 |
1812 |
1226 |
0 |
1 |
T42 |
7536 |
0 |
0 |
1 |
T46 |
0 |
2200 |
0 |
0 |
T48 |
0 |
1918 |
0 |
0 |
T49 |
0 |
1097 |
0 |
0 |
T50 |
0 |
1471 |
0 |
0 |
T56 |
27185 |
0 |
0 |
1 |
T65 |
1314 |
0 |
0 |
1 |
T69 |
2147 |
0 |
0 |
1 |
T70 |
1046 |
0 |
0 |
1 |
T82 |
878 |
0 |
0 |
1 |
T83 |
1050 |
0 |
0 |
1 |
T84 |
1214 |
0 |
0 |
1 |
T87 |
0 |
46 |
0 |
0 |
T88 |
0 |
856 |
0 |
0 |
T89 |
0 |
1039 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
223645 |
0 |
0 |
T12 |
1809 |
0 |
0 |
0 |
T21 |
0 |
821 |
0 |
0 |
T23 |
0 |
3404 |
0 |
0 |
T41 |
1812 |
1226 |
0 |
0 |
T42 |
7536 |
0 |
0 |
0 |
T46 |
0 |
2200 |
0 |
0 |
T48 |
0 |
1918 |
0 |
0 |
T49 |
0 |
1097 |
0 |
0 |
T50 |
0 |
1471 |
0 |
0 |
T56 |
27185 |
0 |
0 |
0 |
T65 |
1314 |
0 |
0 |
0 |
T69 |
2147 |
0 |
0 |
0 |
T70 |
1046 |
0 |
0 |
0 |
T82 |
878 |
0 |
0 |
0 |
T83 |
1050 |
0 |
0 |
0 |
T84 |
1214 |
0 |
0 |
0 |
T87 |
0 |
46 |
0 |
0 |
T88 |
0 |
856 |
0 |
0 |
T89 |
0 |
1039 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[4].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[4].u_prim_packer_fifo_ep
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------1-------------------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T10,T19,T41 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T10,T19,T41 |
1 | 0 | Covered | T10,T19,T41 |
1 | 1 | Covered | T10,T19,T41 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T10,T19,T41 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T10,T19,T41 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T10,T19,T41 |
1 | 1 | Covered | T10,T19,T41 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T10,T19,T41 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T10,T19,T41 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T10,T19,T41 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T10,T19,T41 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T10,T19,T41 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T53,T178,T196 |
1 | 1 | Covered | T10,T19,T41 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T10,T19,T41 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[4].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T10,T19,T41 |
0 |
0 |
1 |
Covered |
T10,T19,T41 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T10,T19,T41 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T10,T19,T41 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[4].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
204952 |
0 |
947 |
T6 |
26706 |
0 |
0 |
1 |
T10 |
2747 |
1017 |
0 |
1 |
T19 |
1951 |
1216 |
0 |
1 |
T23 |
0 |
3381 |
0 |
0 |
T25 |
2039 |
0 |
0 |
1 |
T26 |
1178 |
0 |
0 |
1 |
T27 |
1382 |
0 |
0 |
1 |
T28 |
809 |
0 |
0 |
1 |
T29 |
1539 |
0 |
0 |
1 |
T32 |
1800 |
0 |
0 |
1 |
T37 |
1266 |
0 |
0 |
1 |
T41 |
0 |
1218 |
0 |
0 |
T45 |
0 |
805 |
0 |
0 |
T46 |
0 |
1195 |
0 |
0 |
T50 |
0 |
1350 |
0 |
0 |
T52 |
0 |
1385 |
0 |
0 |
T53 |
0 |
75 |
0 |
0 |
T55 |
0 |
1130 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
204952 |
0 |
0 |
T6 |
26706 |
0 |
0 |
0 |
T10 |
2747 |
1017 |
0 |
0 |
T19 |
1951 |
1216 |
0 |
0 |
T23 |
0 |
3381 |
0 |
0 |
T25 |
2039 |
0 |
0 |
0 |
T26 |
1178 |
0 |
0 |
0 |
T27 |
1382 |
0 |
0 |
0 |
T28 |
809 |
0 |
0 |
0 |
T29 |
1539 |
0 |
0 |
0 |
T32 |
1800 |
0 |
0 |
0 |
T37 |
1266 |
0 |
0 |
0 |
T41 |
0 |
1218 |
0 |
0 |
T45 |
0 |
805 |
0 |
0 |
T46 |
0 |
1195 |
0 |
0 |
T50 |
0 |
1350 |
0 |
0 |
T52 |
0 |
1385 |
0 |
0 |
T53 |
0 |
75 |
0 |
0 |
T55 |
0 |
1130 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[5].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[5].u_prim_packer_fifo_ep
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------1-------------------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T24,T11,T23 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T24,T11,T23 |
1 | 0 | Covered | T4,T24,T11 |
1 | 1 | Covered | T24,T11,T23 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T24,T11,T23 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T4,T24,T11 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T4,T24,T11 |
1 | 1 | Covered | T4,T24,T11 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T24,T11 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T24,T11 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T24,T11 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T24,T11 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T24,T11 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T96,T225,T233 |
1 | 1 | Covered | T4,T24,T11 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T4,T24,T11 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[5].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T4,T24,T11 |
0 |
0 |
1 |
Covered |
T4,T24,T11 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T4,T24,T11 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T4,T24,T11 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[5].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
167178 |
0 |
947 |
T4 |
889 |
383 |
0 |
1 |
T5 |
1783 |
0 |
0 |
1 |
T6 |
26706 |
0 |
0 |
1 |
T10 |
2747 |
0 |
0 |
1 |
T11 |
0 |
1100 |
0 |
0 |
T22 |
0 |
713 |
0 |
0 |
T23 |
0 |
3219 |
0 |
0 |
T24 |
882 |
679 |
0 |
1 |
T25 |
2039 |
0 |
0 |
1 |
T26 |
1178 |
0 |
0 |
1 |
T27 |
1382 |
0 |
0 |
1 |
T28 |
809 |
0 |
0 |
1 |
T37 |
1266 |
0 |
0 |
1 |
T48 |
0 |
1909 |
0 |
0 |
T50 |
0 |
1399 |
0 |
0 |
T54 |
0 |
976 |
0 |
0 |
T93 |
0 |
826 |
0 |
0 |
T94 |
0 |
437 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
167178 |
0 |
0 |
T4 |
889 |
383 |
0 |
0 |
T5 |
1783 |
0 |
0 |
0 |
T6 |
26706 |
0 |
0 |
0 |
T10 |
2747 |
0 |
0 |
0 |
T11 |
0 |
1100 |
0 |
0 |
T22 |
0 |
713 |
0 |
0 |
T23 |
0 |
3219 |
0 |
0 |
T24 |
882 |
679 |
0 |
0 |
T25 |
2039 |
0 |
0 |
0 |
T26 |
1178 |
0 |
0 |
0 |
T27 |
1382 |
0 |
0 |
0 |
T28 |
809 |
0 |
0 |
0 |
T37 |
1266 |
0 |
0 |
0 |
T48 |
0 |
1909 |
0 |
0 |
T50 |
0 |
1399 |
0 |
0 |
T54 |
0 |
976 |
0 |
0 |
T93 |
0 |
826 |
0 |
0 |
T94 |
0 |
437 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[6].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 82 | 7 | 7 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 96 | 1 | 1 | 100.00 |
ALWAYS | 127 | 3 | 3 | 100.00 |
CONT_ASSIGN | 136 | 1 | 1 | 100.00 |
CONT_ASSIGN | 137 | 1 | 1 | 100.00 |
CONT_ASSIGN | 138 | 1 | 1 | 100.00 |
CONT_ASSIGN | 139 | 1 | 1 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 156 | 1 | 1 | 100.00 |
CONT_ASSIGN | 157 | 1 | 1 | 100.00 |
CONT_ASSIGN | 158 | 1 | 1 | 100.00 |
CONT_ASSIGN | 163 | 1 | 1 | 100.00 |
81 always_ff @(posedge clk_i or negedge rst_ni) begin
82 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
83 1/1 depth_q <= '0;
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 clr_q <= 1'b1;
Tests: T1 T2 T3
86 end else begin
87 1/1 depth_q <= depth_d;
Tests: T1 T2 T3
88 1/1 data_q <= data_d;
Tests: T1 T2 T3
89 1/1 clr_q <= clr_d;
Tests: T1 T2 T3
90 end
91 end
92
93 // flop for handling reset case for clr
94 1/1 assign clr_d = clr_i;
Tests: T1 T2 T3
95
96 1/1 assign depth_o = depth_q;
Tests: T1 T2 T3
97
98 if (InW < OutW) begin : gen_pack_mode
99 logic [MaxW-1:0] wdata_shifted;
100
101 assign wdata_shifted = {{OutW - InW{1'b0}}, wdata_i} << (depth_q*InW);
102 assign clear_status = (rready_i && rvalid_o) || clr_q;
103 assign clear_data = (ClearOnRead && clear_status) || clr_q;
104 assign load_data = wvalid_i && wready_o;
105
106 assign depth_d = clear_status ? '0 :
107 load_data ? (depth_q + DepthOne):
108 depth_q;
109
110 assign data_d = clear_data ? '0 :
111 load_data ? (wdata_shifted | (depth_q == 0 ? '0 : data_q)) :
112 data_q;
113
114 // set outputs
115 assign wready_o = !(depth_q == FullDepth) && !clr_q;
116 assign rdata_o = data_q;
117 assign rvalid_o = (depth_q == FullDepth) && !clr_q;
118
119 end else begin : gen_unpack_mode
120 logic [MaxW-1:0] rdata_shifted;
121 logic pull_data;
122 logic [DepthW:0] ptr_q, ptr_d;
123 logic [DepthW:0] lsb_is_one;
124 logic [DepthW:0] max_value;
125
126 always_ff @(posedge clk_i or negedge rst_ni) begin
127 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
128 1/1 ptr_q <= '0;
Tests: T1 T2 T3
129 end else begin
130 1/1 ptr_q <= ptr_d;
Tests: T1 T2 T3
131 end
132 end
133
134 assign lsb_is_one = {{DepthW{1'b0}},1'b1};
135 assign max_value = FullDepth;
136 1/1 assign rdata_shifted = data_q >> ptr_q*OutW;
Tests: T1 T2 T3
137 1/1 assign clear_status = (rready_i && (depth_q == lsb_is_one)) || clr_q;
Tests: T1 T2 T3
138 1/1 assign clear_data = (ClearOnRead && clear_status) || clr_q;
Tests: T1 T2 T3
139 1/1 assign load_data = wvalid_i && wready_o;
Tests: T1 T2 T3
140 1/1 assign pull_data = rvalid_o && rready_i;
Tests: T1 T2 T3
141
142 1/1 assign depth_d = clear_status ? '0 :
Tests: T1 T2 T3
143 load_data ? max_value :
144 pull_data ? (depth_q - DepthOne) :
145 depth_q;
146
147 1/1 assign ptr_d = clear_status ? '0 :
Tests: T1 T2 T3
148 pull_data ? (ptr_q + DepthOne) :
149 ptr_q;
150
151 1/1 assign data_d = clear_data ? '0 :
Tests: T1 T2 T3
152 load_data ? wdata_i :
153 data_q;
154
155 // set outputs
156 1/1 assign wready_o = (depth_q == '0) && !clr_q;
Tests: T1 T2 T3
157 1/1 assign rdata_o = rdata_shifted[OutW-1:0];
Tests: T1 T2 T3
158 1/1 assign rvalid_o = !(depth_q == '0) && !clr_q;
Tests: T1 T2 T3
159
160 // Avoid possible lint errors in case InW > OutW.
161 if (InW > OutW) begin : gen_unused
162 logic [MaxW-MinW-1:0] unused_rdata_shifted;
163 1/1 assign unused_rdata_shifted = rdata_shifted[MaxW-1:MinW];
Tests: T1 T2 T3
Cond Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[6].u_prim_packer_fifo_ep
| Total | Covered | Percent |
Conditions | 42 | 40 | 95.24 |
Logical | 42 | 40 | 95.24 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 137
EXPRESSION ((rready_i && (depth_q == gen_unpack_mode.lsb_is_one)) || clr_q)
--------------------------1-------------------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T41,T23,T46 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T41,T23,T46 |
1 | 0 | Covered | T41,T33,T23 |
1 | 1 | Covered | T41,T23,T46 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T23,T46 |
LINE 138
EXPRESSION (((ClearOnRead && clear_status)) || clr_q)
---------------1--------------- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Unreachable | |
LINE 139
EXPRESSION (wvalid_i && wready_o)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T41,T33,T23 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T41,T33,T23 |
1 | 1 | Covered | T41,T33,T23 |
LINE 142
EXPRESSION (clear_status ? '0 : (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 142
SUB-EXPRESSION (load_data ? gen_unpack_mode.max_value : (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q))
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T33,T23 |
LINE 142
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((depth_q - DepthOne)) : depth_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T33,T23 |
LINE 147
EXPRESSION (clear_status ? '0 : (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 147
SUB-EXPRESSION (gen_unpack_mode.pull_data ? ((gen_unpack_mode.ptr_q + DepthOne)) : gen_unpack_mode.ptr_q)
------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T33,T23 |
LINE 151
EXPRESSION (clear_data ? '0 : (load_data ? wdata_i : data_q))
-----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 151
SUB-EXPRESSION (load_data ? wdata_i : data_q)
----1----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T41,T33,T23 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T41,T33,T23 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 156
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 158
EXPRESSION (( ! (depth_q == '0) ) && ((!clr_q)))
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T227,T234,T235 |
1 | 1 | Covered | T41,T33,T23 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T41,T33,T23 |
1 | Covered | T1,T2,T3 |
LINE 158
SUB-EXPRESSION (depth_q == '0)
-------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[6].u_prim_packer_fifo_ep
| Line No. | Total | Covered | Percent |
Branches |
|
14 |
14 |
100.00 |
TERNARY |
142 |
4 |
4 |
100.00 |
TERNARY |
147 |
3 |
3 |
100.00 |
TERNARY |
151 |
3 |
3 |
100.00 |
IF |
82 |
2 |
2 |
100.00 |
IF |
127 |
2 |
2 |
100.00 |
142 assign depth_d = clear_status ? '0 :
-1-
==>
143 load_data ? max_value :
-2-
==>
144 pull_data ? (depth_q - DepthOne) :
-3-
==>
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T41,T33,T23 |
0 |
0 |
1 |
Covered |
T41,T33,T23 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
147 assign ptr_d = clear_status ? '0 :
-1-
==>
148 pull_data ? (ptr_q + DepthOne) :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T41,T33,T23 |
0 |
0 |
Covered |
T1,T2,T3 |
151 assign data_d = clear_data ? '0 :
-1-
==>
152 load_data ? wdata_i :
-2-
==>
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T41,T33,T23 |
0 |
0 |
Covered |
T1,T2,T3 |
82 if (!rst_ni) begin
-1-
83 depth_q <= '0;
==>
84 data_q <= '0;
85 clr_q <= 1'b1;
86 end else begin
87 depth_q <= depth_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
127 if (!rst_ni) begin
-1-
128 ptr_q <= '0;
==>
129 end else begin
130 ptr_q <= ptr_d;
==>
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.u_edn_core.gen_ep_blk[6].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
189893 |
0 |
947 |
T12 |
1809 |
0 |
0 |
1 |
T23 |
0 |
2713 |
0 |
0 |
T33 |
0 |
544 |
0 |
0 |
T41 |
1812 |
955 |
0 |
1 |
T42 |
7536 |
0 |
0 |
1 |
T46 |
0 |
1196 |
0 |
0 |
T56 |
27185 |
0 |
0 |
1 |
T65 |
1314 |
0 |
0 |
1 |
T69 |
2147 |
0 |
0 |
1 |
T70 |
1046 |
0 |
0 |
1 |
T73 |
0 |
1474 |
0 |
0 |
T82 |
878 |
0 |
0 |
1 |
T83 |
1050 |
0 |
0 |
1 |
T84 |
1214 |
0 |
0 |
1 |
T97 |
0 |
993 |
0 |
0 |
T98 |
0 |
755 |
0 |
0 |
T99 |
0 |
543 |
0 |
0 |
T100 |
0 |
1097 |
0 |
0 |
T101 |
0 |
761 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
11881186 |
189893 |
0 |
0 |
T12 |
1809 |
0 |
0 |
0 |
T23 |
0 |
2713 |
0 |
0 |
T33 |
0 |
544 |
0 |
0 |
T41 |
1812 |
955 |
0 |
0 |
T42 |
7536 |
0 |
0 |
0 |
T46 |
0 |
1196 |
0 |
0 |
T56 |
27185 |
0 |
0 |
0 |
T65 |
1314 |
0 |
0 |
0 |
T69 |
2147 |
0 |
0 |
0 |
T70 |
1046 |
0 |
0 |
0 |
T73 |
0 |
1474 |
0 |
0 |
T82 |
878 |
0 |
0 |
0 |
T83 |
1050 |
0 |
0 |
0 |
T84 |
1214 |
0 |
0 |
0 |
T97 |
0 |
993 |
0 |
0 |
T98 |
0 |
755 |
0 |
0 |
T99 |
0 |
543 |
0 |
0 |
T100 |
0 |
1097 |
0 |
0 |
T101 |
0 |
761 |
0 |
0 |