3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-13 02:34:44 +00:00

Add is_mostly_const to SigSpec

This commit is contained in:
Akash Levy 2025-02-13 11:11:33 -08:00
parent 610d4cc716
commit 7d33fd463b
2 changed files with 13 additions and 0 deletions

View file

@ -1094,6 +1094,7 @@ public:
bool is_chunk() const;
inline bool is_bit() const { return width_ == 1; }
bool is_mostly_const() const;
bool is_fully_const() const;
bool is_fully_zero() const;
bool is_fully_ones() const;