Copy-paste typo

This commit is contained in:
Eddie Hung 2019-08-22 08:43:44 -07:00
parent 6f971470f8
commit 9245f0d3f5
1 changed files with 1 additions and 1 deletions

View 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);