mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 11:57:12 -04:00
fix misalignement memory access
This commit is contained in:
parent
ad0b3383c0
commit
a6d33442be
1 changed files with 2 additions and 1 deletions
|
@ -391,11 +391,12 @@ module zeroriscy_load_store_unit
|
|||
increase_address = 1'b0;
|
||||
//tell the controller to update the address
|
||||
data_misaligned_o = 1'b1;
|
||||
data_req_o = 1'b1; //maybe better if controller handles this
|
||||
data_req_o = 1'b0;
|
||||
lsu_update_addr_o = data_gnt_i;
|
||||
|
||||
if(data_rvalid_i) begin
|
||||
//if first part rvalid is received
|
||||
data_req_o = 1'b1;
|
||||
if(data_gnt_i) begin
|
||||
//second grant is received
|
||||
NS = WAIT_RVALID;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue