From e09ac73eaf907a429a10f05210ae5e71dc5be71a Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Mon, 3 May 2021 14:51:25 -0500 Subject: [PATCH] Removed combinational loops between icache and PMA checker. --- wally-pipelined/src/ifu/icache.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wally-pipelined/src/ifu/icache.sv b/wally-pipelined/src/ifu/icache.sv index f6890d7ff..2b8ee703e 100644 --- a/wally-pipelined/src/ifu/icache.sv +++ b/wally-pipelined/src/ifu/icache.sv @@ -238,7 +238,7 @@ module icachecontroller #(parameter LINESIZE = 256) ( assign PCNextIndexF = PCPFinalF; // truncate the offset from PCPF for memory address generation - assign PCPTrunkF = PCPFinalF[`XLEN-1:OFFSETWIDTH]; + assign PCPTrunkF = PCTagF[`XLEN-1:OFFSETWIDTH]; // Detect if the instruction is compressed assign CompressedF = FinalInstrRawF[1:0] != 2'b11;