mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-23 21:39:13 -04:00
[rtl] Stop regfile writeback for load errors
- A data or PMP error should stop the register file from being updated - Fixes #832 Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
parent
9451df2965
commit
15ab023e25
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ module ibex_load_store_unit
|
|||
|
||||
assign data_or_pmp_err = lsu_err_q | data_err_i | pmp_err_q;
|
||||
assign lsu_resp_valid_o = (data_rvalid_i | pmp_err_q) & (ls_fsm_cs == IDLE);
|
||||
assign lsu_rdata_valid_o = lsu_resp_valid_o & ~data_we_q;
|
||||
assign lsu_rdata_valid_o = (ls_fsm_cs == IDLE) & data_rvalid_i & ~data_or_pmp_err & ~data_we_q;
|
||||
|
||||
// output to register file
|
||||
assign lsu_rdata_o = data_rdata_ext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue