Releases: zeeshanrafique23/mdu
Releases · zeeshanrafique23/mdu
MDU v1.0.0
Multiplication and Division Unit -MDU
This multiplication and division unit is in compliance with RISC-V standard M-extension, which can be integrated with any existing RISC-V processor.
Two operands, function3, and a valid signal are fetched from the
target processor and fed to the MDU. The function3 signal which is named
as i_mdu_op
, it decides that which operation MDU has to perform on the arrival of a valid signal as shown in the table below.
Instruction | i_mdu_op |
---|---|
MUL | 000 |
MULH | 001 |
MULHSU | 010 |
MULHU | 011 |
DIV | 100 |
DIVU | 101 |
REM | 110 |
REMU | 111 |