mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
SigSpec refactoring: using the accessor functions everywhere
This commit is contained in:
parent
16e5ae0b92
commit
4b4048bc5f
62 changed files with 800 additions and 800 deletions
|
@ -28,7 +28,7 @@ struct DeleteWireWorker
|
|||
|
||||
void operator()(RTLIL::SigSpec &sig) {
|
||||
sig.optimize();
|
||||
for (auto &c : sig.__chunks)
|
||||
for (auto &c : sig.chunks())
|
||||
if (c.wire != NULL && delete_wires_p->count(c.wire->name)) {
|
||||
c.wire = module->addWire(NEW_ID, c.width);
|
||||
c.offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue