mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
conns and params from dict, oldcell no longer attrobject
This commit is contained in:
parent
193a43e82c
commit
866b7a7121
3 changed files with 49 additions and 8 deletions
|
@ -395,8 +395,7 @@ static void extract_fsm(RTLIL::Wire *wire)
|
|||
RTLIL::SigSpec port_sig = assign_map(cell->getPort(cellport.second));
|
||||
RTLIL::SigSpec unconn_sig = port_sig.extract(ctrl_out);
|
||||
RTLIL::Wire *unconn_wire = module->addWire(stringf("$fsm_unconnect$%d", autoidx++), unconn_sig.size());
|
||||
auto &x = cell->connections_[cellport.second];
|
||||
port_sig.replace(unconn_sig, RTLIL::SigSpec(unconn_wire), x);
|
||||
port_sig.replace(unconn_sig, RTLIL::SigSpec(unconn_wire), cell->connections_[cellport.second]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue