Fix immu address corruption

This commit is contained in:
Chris Keilbart 2024-08-09 11:14:39 -07:00
parent 31f2cf64b4
commit 01fde601a0

View file

@ -76,7 +76,7 @@ module mmu
//Page Table addresses
always_ff @ (posedge clk) begin
if (state[IDLE] | l1_response.data_valid) begin
if (state[IDLE] | (l1_response.data_valid & ~discard_data)) begin
if (state[IDLE])
l1_request.addr <= {mmu.satp_ppn[19:0], mmu.virtual_address[31:22], 2'b00};
else