Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 730 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 730 Bytes

ProjectOdessy

Creating Multiply Unit

You can find a module that implements the integer multiply and divide instructions at src/main/scala/alu/entnM.scala. Currently the module does not cover all instructions defined in M-extension of riscv.

To complete the design to implement every instruction in 1 cycle, complete lines 26 to line 47 in src/main/scala/alu/entnM.scala. The instruction that needs to be completed for each line is indicated by a comment. Lines 28 and 31 has been completed.

Testing your multiply implementation(Only tested on Ubuntu)

cd cpu-test/
./verilator.sh