mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-15 06:01:28 +00:00
More RTLIL::Cell API usage cleanups
This commit is contained in:
parent
97a59851a6
commit
3f4e3ca8ad
5 changed files with 39 additions and 39 deletions
|
@ -81,7 +81,7 @@ static void print_spice_module(FILE *f, RTLIL::Module *module, RTLIL::Design *de
|
|||
log_assert(wire != NULL);
|
||||
RTLIL::SigSpec sig(RTLIL::State::Sz, wire->width);
|
||||
if (cell->has(wire->name)) {
|
||||
sig = sigmap(cell->connections().at(wire->name));
|
||||
sig = sigmap(cell->get(wire->name));
|
||||
sig.extend(wire->width, false);
|
||||
}
|
||||
port_sigs.push_back(sig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue