diff options
author | Claire Xen <claire@clairexen.net> | 2021-12-06 16:09:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 16:09:00 +0100 |
commit | 354f65ab4a4b47defed961ac6efbfee559ffa641 (patch) | |
tree | 8ae2d60404dab8a52a78f8f1ab49f0c97c650ab2 /picosoc/picosoc.v | |
parent | e8edf98772672653c67dc3f4877980abcaaedf09 (diff) | |
parent | eeca10190b6934889cf068b49478388703afbf70 (diff) | |
download | picorv32-354f65ab4a4b47defed961ac6efbfee559ffa641.tar.gz picorv32-354f65ab4a4b47defed961ac6efbfee559ffa641.zip |
Merge pull request #202 from osresearch/icebreaker-fast-mul
picosoc: enable fast multiply option for icebreaker
Diffstat (limited to 'picosoc/picosoc.v')
-rw-r--r-- | picosoc/picosoc.v | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/picosoc/picosoc.v b/picosoc/picosoc.v index 6315219..9790791 100644 --- a/picosoc/picosoc.v +++ b/picosoc/picosoc.v @@ -70,7 +70,9 @@ module picosoc ( input flash_io3_di ); parameter [0:0] BARREL_SHIFTER = 1; - parameter [0:0] ENABLE_MULDIV = 1; + parameter [0:0] ENABLE_MUL = 1; + parameter [0:0] ENABLE_DIV = 1; + parameter [0:0] ENABLE_FAST_MUL = 0; parameter [0:0] ENABLE_COMPRESSED = 1; parameter [0:0] ENABLE_COUNTERS = 1; parameter [0:0] ENABLE_IRQ_QREGS = 0; @@ -136,8 +138,9 @@ module picosoc ( .BARREL_SHIFTER(BARREL_SHIFTER), .COMPRESSED_ISA(ENABLE_COMPRESSED), .ENABLE_COUNTERS(ENABLE_COUNTERS), - .ENABLE_MUL(ENABLE_MULDIV), - .ENABLE_DIV(ENABLE_MULDIV), + .ENABLE_MUL(ENABLE_MUL), + .ENABLE_DIV(ENABLE_DIV), + .ENABLE_FAST_MUL(ENABLE_FAST_MUL), .ENABLE_IRQ(1), .ENABLE_IRQ_QREGS(ENABLE_IRQ_QREGS) ) cpu ( |