From 495f2ed27497dd04ebc103201a37b16034b6658f Mon Sep 17 00:00:00 2001 From: David Harris Date: Fri, 7 Apr 2023 21:37:12 -0700 Subject: [PATCH] Improved RAS predictor coverage by eliminating unreachable StallM term --- src/ifu/bpred/RASPredictor.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifu/bpred/RASPredictor.sv b/src/ifu/bpred/RASPredictor.sv index f1a39f75..21cad922 100644 --- a/src/ifu/bpred/RASPredictor.sv +++ b/src/ifu/bpred/RASPredictor.sv @@ -62,7 +62,7 @@ module RASPredictor #(parameter int StackSize = 16 )( assign PushE = CallE & ~StallM & ~FlushM; assign WrongPredReturnD = (BPReturnWrongD) & ~StallE & ~FlushE; - assign FlushedReturnDE = (~StallE & FlushE & ReturnD) | (~StallM & FlushM & ReturnE); // flushed return + assign FlushedReturnDE = (~StallE & FlushE & ReturnD) | (FlushM & ReturnE); // flushed return assign RepairD = WrongPredReturnD | FlushedReturnDE ;