mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +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
|
@ -501,7 +501,7 @@ private:
|
|||
int width_;
|
||||
|
||||
public:
|
||||
std::vector<RTLIL::SigChunk> &chunks() { return chunks_; }
|
||||
std::vector<RTLIL::SigChunk> &chunks_rw() { return chunks_; }
|
||||
const std::vector<RTLIL::SigChunk> &chunks() const { return chunks_; }
|
||||
|
||||
int size() const { return width_; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue