File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,18 @@ module flow_standby_i2c
162
162
163
163
164
164
always_ff @ (posedge clk_i or negedge rst_ni) begin : undriven_update_resp_data_length
165
- response_fifo_wdata_o.__rsvd23_16 <= '0 ;
166
- // TODO: Implement, controller functionality skipped for now
167
- response_fifo_wdata_o.err_status <= i3c_resp_err_status_e ' (0 );
168
- response_fifo_wdata_o.tid <= '0 ;
165
+ if (! rst_ni) begin
166
+ response_fifo_wdata_o.__rsvd23_16 <= '0 ;
167
+ response_fifo_wdata_o.err_status <= i3c_resp_err_status_e ' (0 );
168
+ response_fifo_wdata_o.tid <= '0 ;
169
+ end else begin
170
+ response_fifo_wdata_o.__rsvd23_16 <= '0 ;
171
+ // TODO: Implement, controller functionality skipped for now
172
+ response_fifo_wdata_o.err_status <= i3c_resp_err_status_e ' (0 );
173
+ response_fifo_wdata_o.tid <= '0 ;
174
+ end
169
175
end
176
+
170
177
always_ff @ (posedge clk_i or negedge rst_ni) begin : update_resp_data_length
171
178
if (! rst_ni) begin
172
179
response_fifo_wdata_o.data_length <= 0 ;
You can’t perform that action at this time.
0 commit comments