Revert "Fix typo"
authorEddie Hung <eddie@fpgeh.com>
Fri, 9 Aug 2019 21:14:28 +0000 (14:14 -0700)
committerEddie Hung <eddie@fpgeh.com>
Fri, 9 Aug 2019 21:14:28 +0000 (14:14 -0700)
This reverts commit e3c39cc450a0317ad7e8234bb866d55465548c9c.

passes/pmgen/ice40_dsp.pmg

index 1a62c7bdacdd77edcc743d28705f67afa80d3c8e..c57d3f1b34aec8ca8126437976bd88e30dd3b60a 100644 (file)
@@ -143,7 +143,7 @@ code addAB sigCD sigO
 
                if ((actual_acc_width > actual_mul_width) && (natural_mul_width > actual_mul_width))
                        reject;
-               if ((actual_acc_width != actual_mul_width) && (param(mul, \A_SIGNED).as_bool() != param(addAB, \B_SIGNED).as_bool()))
+               if ((actual_acc_width != actual_mul_width) && (param(mul, \A_SIGNED).as_bool() != param(addAB, \A_SIGNED).as_bool()))
                        reject;
 
                sigO = port(addAB, \Y);