From 73d19b095642d4ed7e200231b0beb3fc7325c8d3 Mon Sep 17 00:00:00 2001 From: slmnemo Date: Tue, 17 May 2022 16:57:29 -0700 Subject: [PATCH] Revert "Intentionally broke wally by setting datapath Rs1D to use bits 18:14 instead of 19:15 to test regression" This reverts commit 83e4ab711cc4f66fc0cde311aa9bf7ca35431812. unbroke wally --- pipelined/src/ieu/datapath.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelined/src/ieu/datapath.sv b/pipelined/src/ieu/datapath.sv index 068beb1c3..90b5f0335 100644 --- a/pipelined/src/ieu/datapath.sv +++ b/pipelined/src/ieu/datapath.sv @@ -88,7 +88,7 @@ module datapath ( logic [`XLEN-1:0] IFResultW; // Decode stage - assign Rs1D = InstrD[18:14]; // Broke this, it should be 19 to 15. + assign Rs1D = InstrD[19:15]; assign Rs2D = InstrD[24:20]; assign RdD = InstrD[11:7]; regfile regf(clk, reset, RegWriteW, Rs1D, Rs2D, RdW, ResultW, R1D, R2D);