aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-04-11 16:21:01 -0700
committerEddie Hung <eddie@fpgeh.com>2019-04-11 16:21:01 -0700
commit53513c52df5247f79ef1288a9291862d72ed59af (patch)
treea142f42b87075ec25c6a3b5db85efbb1c73a6627
parent35181a786684d13664814a4c51ea91e96aabd840 (diff)
parentf587950bde58b326e1f7319c84d5652a0dc43216 (diff)
downloadyosys-53513c52df5247f79ef1288a9291862d72ed59af.tar.gz
yosys-53513c52df5247f79ef1288a9291862d72ed59af.tar.bz2
yosys-53513c52df5247f79ef1288a9291862d72ed59af.zip
Merge remote-tracking branch 'origin/pmux2shiftx' into xc7mux
-rw-r--r--passes/techmap/pmux2shiftx.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/passes/techmap/pmux2shiftx.cc b/passes/techmap/pmux2shiftx.cc
index 08cb06d5f..f8cdf5783 100644
--- a/passes/techmap/pmux2shiftx.cc
+++ b/passes/techmap/pmux2shiftx.cc
@@ -62,7 +62,6 @@ struct Pmux2ShiftxPass : public Pass {
shiftx_a.append(cell->getPort("\\A"));
pmux_s.append(module->Not(NEW_ID, module->ReduceOr(NEW_ID, cell->getPort("\\S"))));
}
- const int width = cell->getParam("\\WIDTH").as_int();
const int clog2width = ceil(log2(s_width));
RTLIL::SigSpec pmux_b;