Fix problem with LSU not stalling

This commit is contained in:
Markus Wegmann 2016-12-17 14:47:11 +01:00
parent aa7604680f
commit 0b706da5c1

View file

@ -481,7 +481,6 @@ module riscv_load_store_unit
assign data_addr_int = (operand_a_ex_i + operand_b_ex_i);
`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
@ -489,6 +488,8 @@ module riscv_load_store_unit
`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