aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/hilomap.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-26 15:57:57 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-26 15:58:23 +0200
commitf8fdc47d3361c1a3445a9357ca26cfe75907d6b0 (patch)
treee4b1c2f97db2c317f8b986635141dfd7bb8e78d8 /passes/techmap/hilomap.cc
parentb7dda723022ad00c6c0089be888eab319953faa8 (diff)
downloadyosys-f8fdc47d3361c1a3445a9357ca26cfe75907d6b0.tar.gz
yosys-f8fdc47d3361c1a3445a9357ca26cfe75907d6b0.tar.bz2
yosys-f8fdc47d3361c1a3445a9357ca26cfe75907d6b0.zip
Manual fixes for new cell connections API
Diffstat (limited to 'passes/techmap/hilomap.cc')
-rw-r--r--passes/techmap/hilomap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/techmap/hilomap.cc b/passes/techmap/hilomap.cc
index 2e5dd7dca..309777876 100644
--- a/passes/techmap/hilomap.cc
+++ b/passes/techmap/hilomap.cc
@@ -35,7 +35,7 @@ void hilomap_worker(RTLIL::SigSpec &sig)
if (!singleton_mode || last_hi == RTLIL::State::Sm) {
last_hi = module->addWire(NEW_ID);
RTLIL::Cell *cell = module->addCell(NEW_ID, RTLIL::escape_id(hicell_celltype));
- cell->connections()[RTLIL::escape_id(hicell_portname)] = last_hi;
+ cell->set(RTLIL::escape_id(hicell_portname), last_hi);
}
bit = last_hi;
}
@@ -43,7 +43,7 @@ void hilomap_worker(RTLIL::SigSpec &sig)
if (!singleton_mode || last_lo == RTLIL::State::Sm) {
last_lo = module->addWire(NEW_ID);
RTLIL::Cell *cell = module->addCell(NEW_ID, RTLIL::escape_id(locell_celltype));
- cell->connections()[RTLIL::escape_id(locell_portname)] = last_lo;
+ cell->set(RTLIL::escape_id(locell_portname), last_lo);
}
bit = last_lo;
}