Copy-paste typo
authorEddie Hung <eddie@fpgeh.com>
Thu, 22 Aug 2019 15:43:44 +0000 (08:43 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 22 Aug 2019 15:43:44 +0000 (08:43 -0700)
passes/opt/opt_expr.cc

index 73f48317a77ea537e350599031a87c74a1cf48de..00d7d6063cc275c85be6c2c9848ae211a36aea8a 100644 (file)
@@ -758,7 +758,7 @@ void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons
                        }
 
                        if (width < GetSize(sig_a)) {
-                               cover_list("opt.opt_expr.xbit", "$shiftx", "$shift", cell->type.str());
+                               cover_list("opt.opt_expr.trim", "$shiftx", "$shift", cell->type.str());
                                sig_a.remove(width, GetSize(sig_a)-width);
                                cell->setPort(ID::A, sig_a);
                                cell->setParam(ID(A_WIDTH), width);