mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-24 22:07:43 -04:00
Fix problem with LSU not stalling
This commit is contained in:
parent
aa7604680f
commit
0b706da5c1
1 changed files with 3 additions and 2 deletions
|
@ -481,14 +481,15 @@ module riscv_load_store_unit
|
||||||
assign data_addr_int = (operand_a_ex_i + operand_b_ex_i);
|
assign data_addr_int = (operand_a_ex_i + operand_b_ex_i);
|
||||||
`endif // PREPOST_SUPPORT
|
`endif // PREPOST_SUPPORT
|
||||||
|
|
||||||
assign busy_o = (CS == WAIT_RVALID) || (CS == WAIT_RVALID_EX_STALL) || (CS == IDLE_EX_STALL) || (data_req_o == 1'b1);
|
|
||||||
|
|
||||||
`else // LSU_ADDER_SUPPORT
|
`else // LSU_ADDER_SUPPORT
|
||||||
|
|
||||||
assign data_addr_int = adder_result_ex_i;
|
assign data_addr_int = adder_result_ex_i;
|
||||||
|
|
||||||
`endif // LSU_ADDER_SUPPORT
|
`endif // LSU_ADDER_SUPPORT
|
||||||
|
|
||||||
|
assign busy_o = (CS == WAIT_RVALID) || (CS == WAIT_RVALID_EX_STALL) || (CS == IDLE_EX_STALL) || (data_req_o == 1'b1);
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
// Assertions
|
// Assertions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue