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 | T3,T27,T5 |
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 | T3,T27,T5 |
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,T18,T11 |
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 | T53,T138,T55 |
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 |
103664272 |
10627002 |
0 |
7616 |
T1 |
947 |
732 |
0 |
1 |
T2 |
969 |
739 |
0 |
1 |
T3 |
3672 |
1879 |
0 |
1 |
T4 |
10787 |
8106 |
0 |
1 |
T5 |
2830 |
0 |
0 |
2 |
T6 |
5534 |
0 |
0 |
2 |
T10 |
4234 |
0 |
0 |
2 |
T11 |
2886 |
892 |
0 |
1 |
T12 |
1882 |
0 |
0 |
1 |
T13 |
0 |
2997 |
0 |
0 |
T18 |
0 |
1537 |
0 |
0 |
T25 |
1139 |
0 |
0 |
1 |
T26 |
1147 |
0 |
0 |
1 |
T27 |
4534 |
1473 |
0 |
2 |
T28 |
0 |
763 |
0 |
0 |
T29 |
0 |
2376 |
0 |
0 |
T30 |
2528 |
0 |
0 |
1 |
T31 |
0 |
585 |
0 |
0 |
T32 |
812 |
0 |
0 |
1 |
T40 |
2969 |
0 |
0 |
1 |
T41 |
2494 |
4603 |
0 |
1 |
T43 |
0 |
774 |
0 |
0 |
T44 |
0 |
383 |
0 |
0 |
T45 |
1057 |
0 |
0 |
1 |
T49 |
0 |
1478 |
0 |
0 |
T63 |
1343 |
977 |
0 |
1 |
T65 |
0 |
886 |
0 |
0 |
T67 |
1482 |
0 |
0 |
1 |
T71 |
0 |
3085 |
0 |
0 |
T72 |
0 |
596 |
0 |
0 |
T73 |
0 |
1113 |
0 |
0 |
T74 |
0 |
731 |
0 |
0 |
T75 |
1343 |
0 |
0 |
1 |
T76 |
1397 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
103664272 |
10627002 |
0 |
0 |
T1 |
947 |
732 |
0 |
0 |
T2 |
969 |
739 |
0 |
0 |
T3 |
3672 |
1879 |
0 |
0 |
T4 |
10787 |
8106 |
0 |
0 |
T5 |
2830 |
0 |
0 |
0 |
T6 |
5534 |
0 |
0 |
0 |
T10 |
4234 |
0 |
0 |
0 |
T11 |
2886 |
892 |
0 |
0 |
T12 |
1882 |
0 |
0 |
0 |
T13 |
0 |
2997 |
0 |
0 |
T18 |
0 |
1537 |
0 |
0 |
T25 |
1139 |
0 |
0 |
0 |
T26 |
1147 |
0 |
0 |
0 |
T27 |
4534 |
1473 |
0 |
0 |
T28 |
0 |
763 |
0 |
0 |
T29 |
0 |
2376 |
0 |
0 |
T30 |
2528 |
0 |
0 |
0 |
T31 |
0 |
585 |
0 |
0 |
T32 |
812 |
0 |
0 |
0 |
T40 |
2969 |
0 |
0 |
0 |
T41 |
2494 |
4603 |
0 |
0 |
T43 |
0 |
774 |
0 |
0 |
T44 |
0 |
383 |
0 |
0 |
T45 |
1057 |
0 |
0 |
0 |
T49 |
0 |
1478 |
0 |
0 |
T63 |
1343 |
977 |
0 |
0 |
T65 |
0 |
886 |
0 |
0 |
T67 |
1482 |
0 |
0 |
0 |
T71 |
0 |
3085 |
0 |
0 |
T72 |
0 |
596 |
0 |
0 |
T73 |
0 |
1113 |
0 |
0 |
T74 |
0 |
731 |
0 |
0 |
T75 |
1343 |
0 |
0 |
0 |
T76 |
1397 |
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 | T3,T27,T5 |
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 | T3,T27,T5 |
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,T18,T11 |
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 |
12958034 |
83725 |
0 |
952 |
T3 |
3672 |
8 |
0 |
1 |
T4 |
10787 |
0 |
0 |
1 |
T5 |
1415 |
86 |
0 |
1 |
T6 |
2767 |
0 |
0 |
1 |
T10 |
2117 |
582 |
0 |
1 |
T11 |
0 |
607 |
0 |
0 |
T12 |
0 |
426 |
0 |
0 |
T16 |
44823 |
0 |
0 |
1 |
T25 |
1139 |
0 |
0 |
1 |
T26 |
1147 |
0 |
0 |
1 |
T27 |
2267 |
2 |
0 |
1 |
T29 |
0 |
11 |
0 |
0 |
T31 |
0 |
41 |
0 |
0 |
T32 |
0 |
13 |
0 |
0 |
T42 |
0 |
763 |
0 |
0 |
T63 |
1343 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
83725 |
0 |
0 |
T3 |
3672 |
8 |
0 |
0 |
T4 |
10787 |
0 |
0 |
0 |
T5 |
1415 |
86 |
0 |
0 |
T6 |
2767 |
0 |
0 |
0 |
T10 |
2117 |
582 |
0 |
0 |
T11 |
0 |
607 |
0 |
0 |
T12 |
0 |
426 |
0 |
0 |
T16 |
44823 |
0 |
0 |
0 |
T25 |
1139 |
0 |
0 |
0 |
T26 |
1147 |
0 |
0 |
0 |
T27 |
2267 |
2 |
0 |
0 |
T29 |
0 |
11 |
0 |
0 |
T31 |
0 |
41 |
0 |
0 |
T32 |
0 |
13 |
0 |
0 |
T42 |
0 |
763 |
0 |
0 |
T63 |
1343 |
0 |
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 | T53,T138,T55 |
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 |
12958034 |
9231057 |
0 |
952 |
T1 |
947 |
732 |
0 |
1 |
T2 |
969 |
739 |
0 |
1 |
T3 |
3672 |
1879 |
0 |
1 |
T4 |
10787 |
8106 |
0 |
1 |
T5 |
1415 |
0 |
0 |
1 |
T6 |
2767 |
0 |
0 |
1 |
T10 |
2117 |
0 |
0 |
1 |
T18 |
0 |
1537 |
0 |
0 |
T25 |
1139 |
0 |
0 |
1 |
T26 |
1147 |
0 |
0 |
1 |
T27 |
2267 |
0 |
0 |
1 |
T28 |
0 |
763 |
0 |
0 |
T29 |
0 |
2376 |
0 |
0 |
T31 |
0 |
585 |
0 |
0 |
T63 |
0 |
977 |
0 |
0 |
T65 |
0 |
886 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
9231057 |
0 |
0 |
T1 |
947 |
732 |
0 |
0 |
T2 |
969 |
739 |
0 |
0 |
T3 |
3672 |
1879 |
0 |
0 |
T4 |
10787 |
8106 |
0 |
0 |
T5 |
1415 |
0 |
0 |
0 |
T6 |
2767 |
0 |
0 |
0 |
T10 |
2117 |
0 |
0 |
0 |
T18 |
0 |
1537 |
0 |
0 |
T25 |
1139 |
0 |
0 |
0 |
T26 |
1147 |
0 |
0 |
0 |
T27 |
2267 |
0 |
0 |
0 |
T28 |
0 |
763 |
0 |
0 |
T29 |
0 |
2376 |
0 |
0 |
T31 |
0 |
585 |
0 |
0 |
T63 |
0 |
977 |
0 |
0 |
T65 |
0 |
886 |
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 | T11,T41,T43 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T41,T43 |
1 | 0 | Covered | T11,T41,T43 |
1 | 1 | Covered | T11,T41,T43 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T11,T41,T43 |
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 | T11,T41,T43 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T11,T41,T43 |
1 | 1 | Covered | T11,T41,T43 |
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 | T11,T41,T43 |
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 | T11,T41,T43 |
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 | T11,T41,T43 |
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 | T11,T41,T43 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T41,T43 |
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 | T228,T229,T230 |
1 | 1 | Covered | T11,T41,T43 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T11,T41,T43 |
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 |
T11,T41,T43 |
0 |
0 |
1 |
Covered |
T11,T41,T43 |
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 |
T11,T41,T43 |
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 |
T11,T41,T43 |
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 |
12958034 |
261482 |
0 |
952 |
T11 |
2886 |
892 |
0 |
1 |
T12 |
1882 |
0 |
0 |
1 |
T13 |
0 |
1392 |
0 |
0 |
T30 |
2528 |
0 |
0 |
1 |
T32 |
812 |
0 |
0 |
1 |
T40 |
2969 |
0 |
0 |
1 |
T41 |
2494 |
2317 |
0 |
1 |
T43 |
0 |
774 |
0 |
0 |
T44 |
0 |
383 |
0 |
0 |
T45 |
1057 |
0 |
0 |
1 |
T49 |
0 |
1478 |
0 |
0 |
T67 |
1482 |
0 |
0 |
1 |
T71 |
0 |
1546 |
0 |
0 |
T72 |
0 |
596 |
0 |
0 |
T73 |
0 |
1113 |
0 |
0 |
T74 |
0 |
731 |
0 |
0 |
T75 |
1343 |
0 |
0 |
1 |
T76 |
1397 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
261482 |
0 |
0 |
T11 |
2886 |
892 |
0 |
0 |
T12 |
1882 |
0 |
0 |
0 |
T13 |
0 |
1392 |
0 |
0 |
T30 |
2528 |
0 |
0 |
0 |
T32 |
812 |
0 |
0 |
0 |
T40 |
2969 |
0 |
0 |
0 |
T41 |
2494 |
2317 |
0 |
0 |
T43 |
0 |
774 |
0 |
0 |
T44 |
0 |
383 |
0 |
0 |
T45 |
1057 |
0 |
0 |
0 |
T49 |
0 |
1478 |
0 |
0 |
T67 |
1482 |
0 |
0 |
0 |
T71 |
0 |
1546 |
0 |
0 |
T72 |
0 |
596 |
0 |
0 |
T73 |
0 |
1113 |
0 |
0 |
T74 |
0 |
731 |
0 |
0 |
T75 |
1343 |
0 |
0 |
0 |
T76 |
1397 |
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 | T27,T45,T30 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T27,T45,T30 |
1 | 0 | Covered | T27,T5,T45 |
1 | 1 | Covered | T27,T45,T30 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T27,T45,T30 |
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 | T27,T5,T45 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T27,T5,T45 |
1 | 1 | Covered | T27,T5,T45 |
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 | T27,T5,T45 |
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 | T27,T5,T45 |
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 | T27,T5,T45 |
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 | T27,T5,T45 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T27,T5,T45 |
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 | T208,T231,T232 |
1 | 1 | Covered | T27,T5,T45 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T27,T5,T45 |
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 |
T27,T5,T45 |
0 |
0 |
1 |
Covered |
T27,T5,T45 |
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 |
T27,T5,T45 |
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 |
T27,T5,T45 |
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 |
12958034 |
228866 |
0 |
952 |
T5 |
1415 |
657 |
0 |
1 |
T6 |
2767 |
0 |
0 |
1 |
T9 |
0 |
216 |
0 |
0 |
T10 |
2117 |
0 |
0 |
1 |
T13 |
0 |
1605 |
0 |
0 |
T16 |
44823 |
0 |
0 |
1 |
T19 |
475 |
0 |
0 |
1 |
T22 |
0 |
721 |
0 |
0 |
T27 |
2267 |
1473 |
0 |
1 |
T28 |
1030 |
0 |
0 |
1 |
T29 |
3883 |
0 |
0 |
1 |
T30 |
0 |
1405 |
0 |
0 |
T41 |
0 |
2286 |
0 |
0 |
T45 |
0 |
808 |
0 |
0 |
T46 |
0 |
2240 |
0 |
0 |
T63 |
1343 |
0 |
0 |
1 |
T64 |
6052 |
0 |
0 |
1 |
T71 |
0 |
1539 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
228866 |
0 |
0 |
T5 |
1415 |
657 |
0 |
0 |
T6 |
2767 |
0 |
0 |
0 |
T9 |
0 |
216 |
0 |
0 |
T10 |
2117 |
0 |
0 |
0 |
T13 |
0 |
1605 |
0 |
0 |
T16 |
44823 |
0 |
0 |
0 |
T19 |
475 |
0 |
0 |
0 |
T22 |
0 |
721 |
0 |
0 |
T27 |
2267 |
1473 |
0 |
0 |
T28 |
1030 |
0 |
0 |
0 |
T29 |
3883 |
0 |
0 |
0 |
T30 |
0 |
1405 |
0 |
0 |
T41 |
0 |
2286 |
0 |
0 |
T45 |
0 |
808 |
0 |
0 |
T46 |
0 |
2240 |
0 |
0 |
T63 |
1343 |
0 |
0 |
0 |
T64 |
6052 |
0 |
0 |
0 |
T71 |
0 |
1539 |
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 | T12,T41,T46 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T12,T41,T46 |
1 | 0 | Covered | T12,T41,T17 |
1 | 1 | Covered | T12,T41,T46 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T12,T41,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 | T12,T41,T17 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T12,T41,T17 |
1 | 1 | Covered | T12,T41,T17 |
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 | T12,T41,T17 |
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 | T12,T41,T17 |
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 | T12,T41,T17 |
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 | T12,T41,T17 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T12,T41,T17 |
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 | T83,T132,T185 |
1 | 1 | Covered | T12,T41,T17 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T12,T41,T17 |
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 |
T12,T41,T17 |
0 |
0 |
1 |
Covered |
T12,T41,T17 |
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 |
T12,T41,T17 |
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 |
T12,T41,T17 |
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 |
12958034 |
223424 |
0 |
952 |
T12 |
1882 |
543 |
0 |
1 |
T13 |
0 |
1464 |
0 |
0 |
T17 |
746 |
323 |
0 |
1 |
T30 |
2528 |
0 |
0 |
1 |
T41 |
2494 |
1454 |
0 |
1 |
T46 |
0 |
2251 |
0 |
0 |
T56 |
9051 |
0 |
0 |
1 |
T70 |
1115 |
0 |
0 |
1 |
T71 |
0 |
1354 |
0 |
0 |
T75 |
1343 |
0 |
0 |
1 |
T76 |
1397 |
0 |
0 |
1 |
T82 |
0 |
1279 |
0 |
0 |
T83 |
0 |
539 |
0 |
0 |
T84 |
0 |
1166 |
0 |
0 |
T85 |
0 |
669 |
0 |
0 |
T86 |
1338 |
0 |
0 |
1 |
T87 |
2089 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
223424 |
0 |
0 |
T12 |
1882 |
543 |
0 |
0 |
T13 |
0 |
1464 |
0 |
0 |
T17 |
746 |
323 |
0 |
0 |
T30 |
2528 |
0 |
0 |
0 |
T41 |
2494 |
1454 |
0 |
0 |
T46 |
0 |
2251 |
0 |
0 |
T56 |
9051 |
0 |
0 |
0 |
T70 |
1115 |
0 |
0 |
0 |
T71 |
0 |
1354 |
0 |
0 |
T75 |
1343 |
0 |
0 |
0 |
T76 |
1397 |
0 |
0 |
0 |
T82 |
0 |
1279 |
0 |
0 |
T83 |
0 |
539 |
0 |
0 |
T84 |
0 |
1166 |
0 |
0 |
T85 |
0 |
669 |
0 |
0 |
T86 |
1338 |
0 |
0 |
0 |
T87 |
2089 |
0 |
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 | T41,T47,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,T47,T46 |
1 | 0 | Covered | T41,T47,T46 |
1 | 1 | Covered | T41,T47,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,T47,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,T47,T46 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T41,T47,T46 |
1 | 1 | Covered | T41,T47,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,T47,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,T47,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,T47,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,T47,T46 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T41,T47,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,T90,T233 |
1 | 1 | Covered | T41,T47,T46 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T41,T47,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[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 |
T41,T47,T46 |
0 |
0 |
1 |
Covered |
T41,T47,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,T47,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,T47,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[4].u_prim_packer_fifo_ep
Assertion Details
DataOStableWhenPending_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
230915 |
0 |
952 |
T8 |
0 |
344 |
0 |
0 |
T13 |
0 |
3203 |
0 |
0 |
T17 |
746 |
0 |
0 |
1 |
T41 |
2494 |
1438 |
0 |
1 |
T46 |
0 |
2454 |
0 |
0 |
T47 |
0 |
131 |
0 |
0 |
T48 |
0 |
773 |
0 |
0 |
T49 |
0 |
1424 |
0 |
0 |
T56 |
9051 |
0 |
0 |
1 |
T57 |
3311 |
0 |
0 |
1 |
T70 |
1115 |
0 |
0 |
1 |
T75 |
1343 |
0 |
0 |
1 |
T76 |
1397 |
0 |
0 |
1 |
T77 |
0 |
1771 |
0 |
0 |
T82 |
0 |
1900 |
0 |
0 |
T86 |
1338 |
0 |
0 |
1 |
T87 |
2089 |
0 |
0 |
1 |
T89 |
0 |
1015 |
0 |
0 |
T91 |
2711 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
230915 |
0 |
0 |
T8 |
0 |
344 |
0 |
0 |
T13 |
0 |
3203 |
0 |
0 |
T17 |
746 |
0 |
0 |
0 |
T41 |
2494 |
1438 |
0 |
0 |
T46 |
0 |
2454 |
0 |
0 |
T47 |
0 |
131 |
0 |
0 |
T48 |
0 |
773 |
0 |
0 |
T49 |
0 |
1424 |
0 |
0 |
T56 |
9051 |
0 |
0 |
0 |
T57 |
3311 |
0 |
0 |
0 |
T70 |
1115 |
0 |
0 |
0 |
T75 |
1343 |
0 |
0 |
0 |
T76 |
1397 |
0 |
0 |
0 |
T77 |
0 |
1771 |
0 |
0 |
T82 |
0 |
1900 |
0 |
0 |
T86 |
1338 |
0 |
0 |
0 |
T87 |
2089 |
0 |
0 |
0 |
T89 |
0 |
1015 |
0 |
0 |
T91 |
2711 |
0 |
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 | T25,T10,T22 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T25,T10,T22 |
1 | 0 | Covered | T25,T10,T12 |
1 | 1 | Covered | T25,T10,T22 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T25,T10,T22 |
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 | T25,T10,T12 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T25,T10,T12 |
1 | 1 | Covered | T25,T10,T12 |
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 | T25,T10,T12 |
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 | T25,T10,T12 |
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 | T25,T10,T12 |
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 | T25,T10,T12 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T25,T10,T12 |
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 | T22,T184,T95 |
1 | 1 | Covered | T25,T10,T12 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T25,T10,T12 |
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 |
T25,T10,T12 |
0 |
0 |
1 |
Covered |
T25,T10,T12 |
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 |
T25,T10,T12 |
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 |
T25,T10,T12 |
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 |
12958034 |
197632 |
0 |
952 |
T5 |
1415 |
0 |
0 |
1 |
T6 |
2767 |
0 |
0 |
1 |
T10 |
2117 |
935 |
0 |
1 |
T12 |
0 |
562 |
0 |
0 |
T16 |
44823 |
0 |
0 |
1 |
T22 |
0 |
545 |
0 |
0 |
T24 |
0 |
694 |
0 |
0 |
T25 |
1139 |
888 |
0 |
1 |
T26 |
1147 |
0 |
0 |
1 |
T27 |
2267 |
0 |
0 |
1 |
T28 |
1030 |
0 |
0 |
1 |
T29 |
3883 |
0 |
0 |
1 |
T47 |
0 |
981 |
0 |
0 |
T49 |
0 |
1236 |
0 |
0 |
T50 |
0 |
538 |
0 |
0 |
T63 |
1343 |
0 |
0 |
1 |
T93 |
0 |
584 |
0 |
0 |
T94 |
0 |
844 |
0 |
0 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
197632 |
0 |
0 |
T5 |
1415 |
0 |
0 |
0 |
T6 |
2767 |
0 |
0 |
0 |
T10 |
2117 |
935 |
0 |
0 |
T12 |
0 |
562 |
0 |
0 |
T16 |
44823 |
0 |
0 |
0 |
T22 |
0 |
545 |
0 |
0 |
T24 |
0 |
694 |
0 |
0 |
T25 |
1139 |
888 |
0 |
0 |
T26 |
1147 |
0 |
0 |
0 |
T27 |
2267 |
0 |
0 |
0 |
T28 |
1030 |
0 |
0 |
0 |
T29 |
3883 |
0 |
0 |
0 |
T47 |
0 |
981 |
0 |
0 |
T49 |
0 |
1236 |
0 |
0 |
T50 |
0 |
538 |
0 |
0 |
T63 |
1343 |
0 |
0 |
0 |
T93 |
0 |
584 |
0 |
0 |
T94 |
0 |
844 |
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 | T42,T41,T13 |
LINE 137
SUB-EXPRESSION (rready_i && (depth_q == gen_unpack_mode.lsb_is_one))
----1--- -------------------2-------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T42,T41,T13 |
1 | 0 | Covered | T42,T41,T13 |
1 | 1 | Covered | T42,T41,T13 |
LINE 137
SUB-EXPRESSION (depth_q == gen_unpack_mode.lsb_is_one)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T42,T41,T13 |
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 | T42,T41,T13 |
LINE 140
EXPRESSION (rvalid_o && rready_i)
----1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T42,T41,T13 |
1 | 1 | Covered | T42,T41,T13 |
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 | T42,T41,T13 |
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 | T42,T41,T13 |
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 | T42,T41,T13 |
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 | T42,T41,T13 |
LINE 156
EXPRESSION ((depth_q == '0) && ((!clr_q)))
-------1------- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T42,T41,T13 |
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 | T42,T234,T205 |
1 | 1 | Covered | T42,T41,T13 |
LINE 158
SUB-EXPRESSION ( ! (depth_q == '0) )
-------1-------
-1- | Status | Tests |
0 | Covered | T42,T41,T13 |
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 |
T42,T41,T13 |
0 |
0 |
1 |
Covered |
T42,T41,T13 |
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 |
T42,T41,T13 |
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 |
T42,T41,T13 |
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 |
12958034 |
169901 |
0 |
952 |
T11 |
2886 |
0 |
0 |
1 |
T13 |
0 |
1562 |
0 |
0 |
T18 |
2424 |
0 |
0 |
1 |
T32 |
812 |
0 |
0 |
1 |
T40 |
2969 |
0 |
0 |
1 |
T41 |
0 |
1383 |
0 |
0 |
T42 |
1116 |
141 |
0 |
1 |
T45 |
1057 |
0 |
0 |
1 |
T49 |
0 |
1318 |
0 |
0 |
T52 |
0 |
541 |
0 |
0 |
T66 |
1352 |
0 |
0 |
1 |
T67 |
1482 |
0 |
0 |
1 |
T69 |
1633 |
0 |
0 |
1 |
T77 |
0 |
1988 |
0 |
0 |
T99 |
0 |
822 |
0 |
0 |
T100 |
0 |
877 |
0 |
0 |
T101 |
0 |
866 |
0 |
0 |
T102 |
0 |
881 |
0 |
0 |
T103 |
1710 |
0 |
0 |
1 |
ValidOPairedWithReadyI_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
12958034 |
169901 |
0 |
0 |
T11 |
2886 |
0 |
0 |
0 |
T13 |
0 |
1562 |
0 |
0 |
T18 |
2424 |
0 |
0 |
0 |
T32 |
812 |
0 |
0 |
0 |
T40 |
2969 |
0 |
0 |
0 |
T41 |
0 |
1383 |
0 |
0 |
T42 |
1116 |
141 |
0 |
0 |
T45 |
1057 |
0 |
0 |
0 |
T49 |
0 |
1318 |
0 |
0 |
T52 |
0 |
541 |
0 |
0 |
T66 |
1352 |
0 |
0 |
0 |
T67 |
1482 |
0 |
0 |
0 |
T69 |
1633 |
0 |
0 |
0 |
T77 |
0 |
1988 |
0 |
0 |
T99 |
0 |
822 |
0 |
0 |
T100 |
0 |
877 |
0 |
0 |
T101 |
0 |
866 |
0 |
0 |
T102 |
0 |
881 |
0 |
0 |
T103 |
1710 |
0 |
0 |
0 |