Use copy ALU OPs.
This commit is contained in:
parent
e09a358320
commit
934593fb6f
4 changed files with 42 additions and 42 deletions
|
@ -52,7 +52,6 @@ class InstructionDecode extends MultiIOModule {
|
|||
val select1Map = Array(
|
||||
Op1Select.rs1 -> registers.io.readData1.asSInt(),
|
||||
Op1Select.PC -> io.pc.asSInt(),
|
||||
Op1Select.Zero -> 0.S
|
||||
)
|
||||
io.op1 := MuxLookup(decoder.op1Select, 0.S(32.W), select1Map)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue