From 7a93056b8b44c567cd2b7f9dd0df5e3ffbbfe519 Mon Sep 17 00:00:00 2001 From: jon Date: Tue, 11 Aug 2020 15:30:03 +0100 Subject: [PATCH] Increase the capacity of f32d to enable full throughput. I don't know why this is necessary, but this allows performance parity with the baseline. --- src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv b/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv index 866fa9c..b6a476e 100644 --- a/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv +++ b/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv @@ -343,7 +343,7 @@ module mkFetchStage(FetchStage); // Pipeline Stage FIFOs Fifo#(2, Tuple2#(Bit#(TLog#(SupSizeX2)),Fetch1ToFetch2)) f12f2 <- mkCFFifo; Fifo#(4, Tuple2#(Bit#(TLog#(SupSizeX2)),Fetch2ToFetch3)) f22f3 <- mkCFFifo; // FIFO should match I$ latency - SupFifo#(SupSizeX2, 2, Fetch3ToDecode) f32d <- mkSupFifo; + SupFifo#(SupSizeX2, 3, Fetch3ToDecode) f32d <- mkSupFifo; // This fifo needs a capacity of 3 for full throughput. Unknown why. SupFifo#(SupSize, 2, FromFetchStage) out_fifo <- mkSupFifo; // Can the fifo size be smaller?