mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-03 04:41:22 +00:00
Merge remote-tracking branch 'origin/eddie/wreduce_add' into ice40dsp
This commit is contained in:
commit
e87916b7eb
3 changed files with 29 additions and 5 deletions
|
@ -818,6 +818,7 @@ public:
|
|||
|
||||
operator std::vector<RTLIL::SigChunk>() const { return chunks(); }
|
||||
operator std::vector<RTLIL::SigBit>() const { return bits(); }
|
||||
RTLIL::SigBit at(int offset, const RTLIL::SigBit &defval) { return offset < width_ ? (*this)[offset] : defval; }
|
||||
|
||||
unsigned int hash() const { if (!hash_) updhash(); return hash_; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue