ice40_dsp to accept $__MUL16X16 too
authorEddie Hung <eddie@fpgeh.com>
Thu, 18 Jul 2019 22:38:28 +0000 (15:38 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 18 Jul 2019 22:38:28 +0000 (15:38 -0700)
passes/pmgen/ice40_dsp.pmg

index 1f3590d4ecd84610d1bf99bac8fca35267dbe773..f2b7f2169874723f51394a9a24a8e101a46166b6 100644 (file)
@@ -6,7 +6,7 @@ state <SigSpec> sigA sigB sigY sigS
 state <Cell*> addAB muxAB
 
 match mul
-       select mul->type.in($mul)
+       select mul->type.in($mul, $__MUL16X16)
        select GetSize(mul->getPort(\A)) + GetSize(mul->getPort(\B)) > 10
        select GetSize(mul->getPort(\Y)) > 10
 endmatch