diff options
Diffstat (limited to 'passes/cmds/scatter.cc')
-rw-r--r-- | passes/cmds/scatter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/scatter.cc b/passes/cmds/scatter.cc index 0028f7ead..35ce0a110 100644 --- a/passes/cmds/scatter.cc +++ b/passes/cmds/scatter.cc @@ -58,10 +58,10 @@ struct ScatterPass : public Pass { if (ct.cell_output(c.second->type, p.first)) { RTLIL::SigSig sigsig(p.second, wire); - mod_it.second->connections_.push_back(sigsig); + mod_it.second->connect(sigsig); } else { RTLIL::SigSig sigsig(wire, p.second); - mod_it.second->connections_.push_back(sigsig); + mod_it.second->connect(sigsig); } p.second = wire; |