mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Manual fixes for new cell connections API
This commit is contained in:
parent
b7dda72302
commit
f8fdc47d33
36 changed files with 169 additions and 123 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue