From 86c1c652616c45046246be0c54495563e1977232 Mon Sep 17 00:00:00 2001 From: Jonathan Woodruff Date: Thu, 3 Jul 2025 11:46:43 +0100 Subject: [PATCH] Revert "Give commit redirect priority over branch/execute redirect." This reverts commit 7bc17965b683e6188ccb1c2c1b87e707cb071b6c. --- src_Core/CPU/Core.bsv | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src_Core/CPU/Core.bsv b/src_Core/CPU/Core.bsv index 63a66ff..ee84408 100644 --- a/src_Core/CPU/Core.bsv +++ b/src_Core/CPU/Core.bsv @@ -337,8 +337,6 @@ module mkCore#(CoreId coreId)(Core); endinterface); MMIOCore mmio <- mkMMIOCore(mmioInIfc); - PulseWire commitRedirect <- mkPulseWire; - // fix point module to instantiate other function units module mkCoreFixPoint#(CoreFixPoint fix)(CoreFixPoint); // spec update @@ -422,7 +420,7 @@ module mkCore#(CoreId coreId)(Core); method setRegReadyAggr = writeAggr(aluWrAggrPort(i)); interface sendBypass = sendBypassIfc; method writeRegFile = writeCons(aluWrConsPort(i)); - method Action redirect(CapMem new_pc, SpecTag spec_tag, InstTag inst_tag, SpecBits spec_bits) if (!commitRedirect); + method Action redirect(CapMem new_pc, SpecTag spec_tag, InstTag inst_tag, SpecBits spec_bits); if (verbose) begin $display("[ALU redirect - %d] ", i, fshow(new_pc), "; ", fshow(spec_tag), "; ", fshow(inst_tag)); @@ -528,7 +526,6 @@ module mkCore#(CoreId coreId)(Core); interface memExeIfc = memExe; method Action killAll; globalSpecUpdate.incorrectSpec(True, ?, ?, 0); - commitRedirect.send(); endmethod interface doStatsIfc = doStatsReg; method pendingIncorrectSpec = globalSpecUpdate.pendingIncorrectSpec;