We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b97bc commit f477bd4Copy full SHA for f477bd4
src/main/scala/CPU.scala
@@ -144,14 +144,14 @@ class CPU extends Module {
144
regFile.io.writeEnable := true.B
145
alu.io.A := regFile.io.outputA
146
alu.io.B := immGen.io.result.asUInt()
147
- alu.io.op := Cat(0.U(1), instruction(14, 12))
+ alu.io.op := Cat(instruction(30), instruction(14, 12))
148
regFile.io.input := alu.io.result
149
}
150
is(CALCULATE_REG) {
151
152
153
alu.io.B := regFile.io.outputB
154
155
156
157
is(FENCE) {
0 commit comments