From: Eddie Hung Date: Fri, 30 Aug 2019 19:22:14 +0000 (-0700) Subject: Do not restrict multiplier to unsigned X-Git-Tag: working-ls180~956^2~38^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1459bc748d0d2c47dcb2366e5a0893736d6d463;p=yosys.git Do not restrict multiplier to unsigned --- diff --git a/passes/pmgen/ice40_dsp.cc b/passes/pmgen/ice40_dsp.cc index 39d033a04..16bfe537f 100644 --- a/passes/pmgen/ice40_dsp.cc +++ b/passes/pmgen/ice40_dsp.cc @@ -64,11 +64,6 @@ void create_ice40_dsp(ice40_dsp_pm &pm) bool mul_signed = st.mul->getParam("\\A_SIGNED").as_bool(); - if (mul_signed) { - log(" inference of signed iCE40 DSP arithmetic is currently not supported.\n"); - return; - } - log(" replacing $mul with SB_MAC16 cell.\n"); Cell *cell = pm.module->addCell(NEW_ID, "\\SB_MAC16");