From 4f436dc7f0454ef58f9a5ca0a03b80d45a7e7227 Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Sat, 24 Dec 2022 17:08:29 -0600 Subject: [PATCH] Added missing assignment for no branch predictor mode. --- pipelined/src/ifu/ifu.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelined/src/ifu/ifu.sv b/pipelined/src/ifu/ifu.sv index a0eaa20c..8014d238 100644 --- a/pipelined/src/ifu/ifu.sv +++ b/pipelined/src/ifu/ifu.sv @@ -330,7 +330,7 @@ module ifu ( end else begin : bpred mux2 #(`XLEN) pcmux1(.d0(PCPlus2or4F), .d1(IEUAdrE), .s(PCSrcE), .y(PCNext1F)); assign BPPredWrongE = PCSrcE; - assign {BPPredDirWrongM, BTBPredPCWrongM, RASPredPCWrongM, BPPredClassNonCFIWrongM} = '0; + assign {InstrClassM, BPPredDirWrongM, BTBPredPCWrongM, RASPredPCWrongM, BPPredClassNonCFIWrongM} = '0; assign PCNext0F = PCPlus2or4F; assign NextValidPCE = PCE; end