mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
SigSpec refactoring: change RTLIL::SigSpec::size() to be read-only
This commit is contained in:
parent
4b4048bc5f
commit
7bffde6abd
3 changed files with 18 additions and 94 deletions
|
@ -504,8 +504,7 @@ public:
|
|||
std::vector<RTLIL::SigChunk> &chunks() { return chunks_; }
|
||||
const std::vector<RTLIL::SigChunk> &chunks() const { return chunks_; }
|
||||
|
||||
int &size() { return width_; }
|
||||
const int &size() const { return width_; }
|
||||
int size() const { return width_; }
|
||||
|
||||
SigSpec();
|
||||
SigSpec(const RTLIL::Const &data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue