3
0
Fork 0
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:
Clifford Wolf 2014-07-22 20:39:13 +02:00
parent 4b4048bc5f
commit 7bffde6abd
3 changed files with 18 additions and 94 deletions

View file

@ -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);