Skip to content

Commit

Permalink
Fix IterativeShiftPlugin using bypassed value
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Feb 9, 2024
1 parent da9723d commit 07ec79c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class IterativeShifterPlugin(val layer: LaneLayer,

val amplitudeWidth = if(Riscv.XLEN.get == 64) 6 else 5
val shamt = srcp.SRC2.resize(amplitudeWidth).asUInt
val rs1 = el(IntRegFile, RS1).asBits
val rs1 = up(el(IntRegFile, RS1)).asBits

val busy = RegInit(False)
val flipped = Reg(Bool())
Expand Down

0 comments on commit 07ec79c

Please sign in to comment.