From: Sergiusz Bazanski Date: Mon, 22 Jan 2018 18:15:53 +0000 (+0000) Subject: Enable hardware multiplier and divider in PicoRV32 X-Git-Tag: 24jan2021_ls180~1754^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ea5a26734771ab9f292085163dfaa489bb8fb66;p=litex.git Enable hardware multiplier and divider in PicoRV32 This should become tunable later once we can configure whether we link in the soft mul library or not. --- diff --git a/litex/soc/cores/cpu/picorv32/core.py b/litex/soc/cores/cpu/picorv32/core.py index 6d20a9d0..9a0af3a3 100644 --- a/litex/soc/cores/cpu/picorv32/core.py +++ b/litex/soc/cores/cpu/picorv32/core.py @@ -35,9 +35,10 @@ class PicoRV32(Module): p_CATCH_MISALIGN=1, p_CATCH_ILLINSN=1, p_ENABLE_PCPI=0, - p_ENABLE_MUL=0, + p_ENABLE_MUL=1, + p_ENABLE_DIV=1, p_ENABLE_FAST_MUL=0, - p_ENABLE_IRQ=0, + p_ENABLE_IRQ=1, p_ENABLE_IRQ_QREGS=1, p_ENABLE_IRQ_TIMER=1, p_ENABLE_TRACE=0,