Skip to content

Commit

Permalink
[rtl] fix XBUS readback gate
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Apr 15, 2024
1 parent e9948fb commit bb1acdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtl/core/neorv32_xbus.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ begin
xbus_cyc_o <= bus_req.stb or pending;

-- response gating --
bus_rsp.data <= xbus_dat_i when (pending = '1') else (others => '0');
bus_rsp.data <= xbus_dat_i when (pending = '1') and (bus_req.rw = '0') else (others => '0'); -- no read-back if READ operation
bus_rsp.ack <= xbus_ack_i when (pending = '1') else '0';
bus_rsp.err <= (xbus_err_i or timeout) when (pending = '1') else '0';

Expand Down

0 comments on commit bb1acdf

Please sign in to comment.