From: Eddie Hung Date: Thu, 11 Apr 2019 23:18:01 +0000 (-0700) Subject: Remove unused X-Git-Tag: yosys-0.9~171^2~9^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b15b410b41cca3a79bfcfc9c91f665815f31ab5b;p=yosys.git Remove unused --- diff --git a/passes/techmap/pmux2shiftx.cc b/passes/techmap/pmux2shiftx.cc index 9b05f8f6d..08cb06d5f 100644 --- a/passes/techmap/pmux2shiftx.cc +++ b/passes/techmap/pmux2shiftx.cc @@ -73,7 +73,6 @@ struct Pmux2ShiftxPass : public Pass { pmux_s.append(cell->getPort("\\S")); RTLIL::SigSpec pmux_y = module->addWire(NEW_ID, clog2width); - RTLIL::SigSpec shiftx_s = module->addWire(NEW_ID, 1 << clog2width); module->addPmux(NEW_ID, RTLIL::Const(RTLIL::Sx, clog2width), pmux_b, pmux_s, pmux_y); module->addShiftx(NEW_ID, shiftx_a, pmux_y, cell->getPort("\\Y")); module->remove(cell);