From e97d445908f39a3a1a215a824f52b283147e6195 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 2 Oct 2022 09:49:48 -0600 Subject: Major shifter-ALU redesign The shifter unit now works in parallel with the ALU and is no longer part of it. Instructions that use the shifter as input to the ALU will now take an additional cycle, unless the control unit can detect a "trivial shift" situation where the shifter's output will be the same as its input. This change improves Fmax substantially. --- rtl/core/psr.sv | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'rtl/core/psr.sv') diff --git a/rtl/core/psr.sv b/rtl/core/psr.sv index bc682c1..2c0d48f 100644 --- a/rtl/core/psr.sv +++ b/rtl/core/psr.sv @@ -7,11 +7,10 @@ module core_psr alu_v_valid, input psr_flags alu_flags, - output psr_flags flags + output psr_flags flags, + next_flags ); - psr_flags next_flags; - always_comb begin next_flags = flags; -- cgit v1.2.3