mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Add and use SigSpec::reverse()
This commit is contained in:
parent
e18aeda7ed
commit
6d27d43727
2 changed files with 5 additions and 3 deletions
|
@ -851,6 +851,8 @@ public:
|
|||
|
||||
RTLIL::SigSpec repeat(int num) const;
|
||||
|
||||
void reverse() { inline_unpack(); std::reverse(bits_.begin(), bits_.end()); }
|
||||
|
||||
bool operator <(const RTLIL::SigSpec &other) const;
|
||||
bool operator ==(const RTLIL::SigSpec &other) const;
|
||||
inline bool operator !=(const RTLIL::SigSpec &other) const { return !(*this == other); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue