mirror of https://github.com/YosysHQ/yosys.git
Resolve @cliffordwolf comment on redundant check
This commit is contained in:
parent
5ab59cd59e
commit
887df8914c
|
@ -109,17 +109,9 @@ struct MuxpackWorker
|
||||||
}
|
}
|
||||||
else log_abort();
|
else log_abort();
|
||||||
|
|
||||||
{
|
for (auto bit : a_sig.bits())
|
||||||
for (auto bit : a_sig.bits())
|
if (sigbit_with_non_chain_users.count(bit))
|
||||||
if (sigbit_with_non_chain_users.count(bit))
|
|
||||||
goto start_cell;
|
|
||||||
|
|
||||||
Cell *c1 = sig_chain_prev.at(a_sig);
|
|
||||||
Cell *c2 = cell;
|
|
||||||
|
|
||||||
if (c1->getParam("\\WIDTH") != c2->getParam("\\WIDTH"))
|
|
||||||
goto start_cell;
|
goto start_cell;
|
||||||
}
|
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue