File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -385,6 +385,8 @@ module flow_active
385
385
dct_wdata_hw_o = '0 ;
386
386
ibi_queue_wdata_o = '0 ;
387
387
dct_index_hw_o = '0 ;
388
+ resp_data_length_q = '0 ;
389
+ resp_queue_wdata_o = '0 ;
388
390
unique case (state)
389
391
// Idle: Wait for command appearance in the Command Queue
390
392
Idle: begin
@@ -480,7 +482,6 @@ module flow_active
480
482
481
483
if (resp_queue_wready_i) begin
482
484
resp_queue_wvalid_o = 1'b1 ;
483
- // TODO: Fix inferred latch 'resp_queue_wdata_o'
484
485
resp_queue_wdata_o = resp_desc;
485
486
end
486
487
end
Original file line number Diff line number Diff line change @@ -154,12 +154,16 @@ module flow_standby_i2c
154
154
end
155
155
end : update_transfer_active
156
156
157
+
158
+ always_ff @ (posedge clk_i or negedge rst_ni) begin : undriven_update_resp_data_length
159
+ response_fifo_wdata_o.__rsvd23_16 <= '0 ;
160
+ // TODO: Implement, controller functionality skipped for now
161
+ response_fifo_wdata_o.err_status <= i3c_resp_err_status_e ' (0 );
162
+ response_fifo_wdata_o.tid <= '0 ;
163
+ end
157
164
always_ff @ (posedge clk_i or negedge rst_ni) begin : update_resp_data_length
158
165
if (! rst_ni) begin
159
166
response_fifo_wdata_o.data_length <= 0 ;
160
- response_fifo_wdata_o.err_status <= i3c_resp_err_status_e ' (0 );
161
- response_fifo_wdata_o.tid <= '0 ;
162
- response_fifo_wdata_o.__rsvd23_16 <= '0 ;
163
167
end
164
168
else if (deactivate_transfer) response_fifo_wdata_o.data_length <= transaction_byte_count;
165
169
end : update_resp_data_length
You can’t perform that action at this time.
0 commit comments