mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-26 14:07:55 +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
|
@ -47,7 +47,7 @@ static void apply_prefix(std::string prefix, RTLIL::SigSpec &sig, RTLIL::Module
|
|||
std::string wire_name = sig.chunks()[i].wire->name;
|
||||
apply_prefix(prefix, wire_name);
|
||||
assert(module->wires.count(wire_name) > 0);
|
||||
sig.chunks()[i].wire = module->wires[wire_name];
|
||||
sig.chunks_rw()[i].wire = module->wires[wire_name];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue