diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-05-28 17:42:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 17:42:16 +0200 |
commit | 8e647901ef6ea484bfe41628f258c53590ae4114 (patch) | |
tree | bf7e482b1bf628c39cf81ac89622e67bbd9bfb08 /kernel/rtlil.h | |
parent | 49d641d97f98526484d4ea7021f6ed15584fa4c9 (diff) | |
parent | ba2185ead89fdb6afeec6043ab18f2e045d80247 (diff) | |
download | yosys-8e647901ef6ea484bfe41628f258c53590ae4114.tar.gz yosys-8e647901ef6ea484bfe41628f258c53590ae4114.tar.bz2 yosys-8e647901ef6ea484bfe41628f258c53590ae4114.zip |
Merge pull request #1050 from YosysHQ/clifford/wandwor
Refactored wand/wor support
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 81ca93dce..8509670ff 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -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; |