From: Clifford Wolf Date: Sun, 16 Feb 2014 16:39:50 +0000 (+0100) Subject: Fixed use of selection in splitnets command X-Git-Tag: yosys-0.3.0~148 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42ce3db983fdb512e181daab1817991a661066ff;p=yosys.git Fixed use of selection in splitnets command --- diff --git a/passes/cmds/splitnets.cc b/passes/cmds/splitnets.cc index da9ef43f9..7e043bcff 100644 --- a/passes/cmds/splitnets.cc +++ b/passes/cmds/splitnets.cc @@ -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(); }