mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 05:13:40 +00:00
SigSpec refactoring: change RTLIL::SigSpec::chunks() to be read-only, created interim RTLIL::SigSpec::chunks_rw()
This commit is contained in:
parent
7bffde6abd
commit
28b3fd05fa
20 changed files with 29 additions and 34 deletions
|
@ -164,7 +164,7 @@ struct SubmodWorker
|
|||
for (RTLIL::Cell *cell : submod.cells) {
|
||||
RTLIL::Cell *new_cell = new RTLIL::Cell(*cell);
|
||||
for (auto &conn : new_cell->connections)
|
||||
for (auto &c : conn.second.chunks())
|
||||
for (auto &c : conn.second.chunks_rw())
|
||||
if (c.wire != NULL) {
|
||||
assert(wire_flags.count(c.wire) > 0);
|
||||
c.wire = wire_flags[c.wire].new_wire;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue