summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-16 17:39:50 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-16 17:39:50 +0100
commit42ce3db983fdb512e181daab1817991a661066ff (patch)
tree2aa8e4a5c3de0ab79679e44564731b6cbe0ee822
parentd3dc22a90f8b87ffe0109b0fa2074d887642e7cb (diff)
Fixed use of selection in splitnets command
-rw-r--r--passes/cmds/splitnets.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/splitnets.cc b/passes/cmds/splitnets.cc
index da9ef43f..7e043bcf 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<RTLIL::SigBit>();
}