mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +00:00
Add RTLIL::Const::is_fully_ones()
This commit is contained in:
parent
96ad688849
commit
76afff7ef6
2 changed files with 12 additions and 0 deletions
|
@ -480,6 +480,7 @@ struct RTLIL::Const
|
|||
inline const RTLIL::State &operator[](int index) const { return bits.at(index); }
|
||||
|
||||
bool is_fully_zero() const;
|
||||
bool is_fully_ones() const;
|
||||
bool is_fully_def() const;
|
||||
bool is_fully_undef() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue