From 7ea5a26734771ab9f292085163dfaa489bb8fb66 Mon Sep 17 00:00:00 2001 From: Sergiusz Bazanski Date: Mon, 22 Jan 2018 18:15:53 +0000 Subject: [PATCH] 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. --- litex/soc/cores/cpu/picorv32/core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/litex/soc/cores/cpu/picorv32/core.py b/litex/soc/cores/cpu/picorv32/core.py index 6d20a9d04..9a0af3a37 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,