summaryrefslogtreecommitdiff
path: root/passes/sat/miter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/sat/miter.cc')
-rw-r--r--passes/sat/miter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/passes/sat/miter.cc b/passes/sat/miter.cc
index 34355122..96aa10ba 100644
--- a/passes/sat/miter.cc
+++ b/passes/sat/miter.cc
@@ -132,8 +132,8 @@ static void create_miter_equiv(struct Pass *that, std::vector<std::string> args,
w2->width = w1->width;
miter_module->add(w2);
- gold_cell->connections()[w1->name] = w2;
- gate_cell->connections()[w1->name] = w2;
+ gold_cell->set(w1->name, w2);
+ gate_cell->set(w1->name, w2);
}
if (w1->port_output)
@@ -150,8 +150,8 @@ static void create_miter_equiv(struct Pass *that, std::vector<std::string> args,
w2_gate->width = w1->width;
miter_module->add(w2_gate);
- gold_cell->connections()[w1->name] = w2_gold;
- gate_cell->connections()[w1->name] = w2_gate;
+ gold_cell->set(w1->name, w2_gold);
+ gate_cell->set(w1->name, w2_gate);
RTLIL::SigSpec this_condition;