mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +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
|
@ -311,7 +311,7 @@ struct AST_INTERNAL::ProcessGenerator
|
|||
sig.optimize();
|
||||
for (size_t i = 0; i < sig.chunks().size(); i++)
|
||||
{
|
||||
RTLIL::SigChunk &chunk = sig.chunks()[i];
|
||||
RTLIL::SigChunk &chunk = sig.chunks_rw()[i];
|
||||
if (chunk.wire == NULL)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue