mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Refactor hierarchy wand/wor handling
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
e3ebac44df
commit
ba2185ead8
3 changed files with 163 additions and 121 deletions
|
@ -601,6 +601,7 @@ struct RTLIL::SigChunk
|
|||
RTLIL::SigChunk &operator =(const RTLIL::SigChunk &other) = default;
|
||||
|
||||
RTLIL::SigChunk extract(int offset, int length) const;
|
||||
inline int size() const { return width; }
|
||||
|
||||
bool operator <(const RTLIL::SigChunk &other) const;
|
||||
bool operator ==(const RTLIL::SigChunk &other) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue