Rewrite exercise stuff

This commit is contained in:
peteraa 2019-06-07 19:54:18 +02:00
parent 932413bb3d
commit f5d038eaf6
9 changed files with 330 additions and 148 deletions

View file

@ -40,7 +40,7 @@ class InstructionFetch extends MultiIOModule {
io.PC := PC
IMEM.io.instructionAddress := PC
PC := PC + 4.U
// PC := PC + 4.U
val instruction = Wire(new Instruction)
instruction := IMEM.io.instruction.asTypeOf(new Instruction)