Fixed use of selection in splitnets command
This commit is contained in:
parent
d3dc22a90f
commit
42ce3db983
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ struct SplitnetsPass : public Pass {
|
|||
{
|
||||
for (auto &w : module->wires) {
|
||||
RTLIL::Wire *wire = w.second;
|
||||
if (wire->width > 1 && (wire->port_id == 0 || flag_ports))
|
||||
if (wire->width > 1 && (wire->port_id == 0 || flag_ports) && design->selected(module, w.second))
|
||||
worker.splitmap[wire] = std::vector<RTLIL::SigBit>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue