Fix width of D
authorEddie Hung <eddie@fpgeh.com>
Fri, 20 Sep 2019 01:08:46 +0000 (18:08 -0700)
committerEddie Hung <eddie@fpgeh.com>
Fri, 20 Sep 2019 01:08:46 +0000 (18:08 -0700)
passes/pmgen/xilinx_dsp.cc

index 3cfaa93715bab55c6d5ca483c9e496e9f029176c..adc09a6e42e0ab95fec70b8079f471df7d97a236 100644 (file)
@@ -48,7 +48,7 @@ static Cell* addDsp(Module *module) {
        cell->setParam(ID(USE_SIMD), Const("ONE48"));
        cell->setParam(ID(USE_DPORT), Const("FALSE"));
 
-       cell->setPort(ID(D), Const(0, 24));
+       cell->setPort(ID(D), Const(0, 25));
        cell->setPort(ID(INMODE), Const(0, 5));
        cell->setPort(ID(ALUMODE), Const(0, 4));
        cell->setPort(ID(OPMODE), Const(0, 7));