aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds/connect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/cmds/connect.cc')
-rw-r--r--passes/cmds/connect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/connect.cc b/passes/cmds/connect.cc
index 3e13fd4d4..30c80f732 100644
--- a/passes/cmds/connect.cc
+++ b/passes/cmds/connect.cc
@@ -176,7 +176,7 @@ struct ConnectPass : public Pass {
if (!RTLIL::SigSpec::parse_sel(sig, design, module, port_expr))
log_cmd_error("Failed to parse port expression `%s'.\n", port_expr.c_str());
- module->cells_.at(RTLIL::escape_id(port_cell))->set(RTLIL::escape_id(port_port), sigmap(sig));
+ module->cells_.at(RTLIL::escape_id(port_cell))->setPort(RTLIL::escape_id(port_port), sigmap(sig));
}
else
log_cmd_error("Expected -set, -unset, or -port.\n");