mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 05:13:40 +00:00
Added RTLIL::SigSpec is_chunk()/as_chunk() API
This commit is contained in:
parent
1834af5e53
commit
c762050e7f
2 changed files with 20 additions and 0 deletions
|
@ -577,6 +577,8 @@ public:
|
|||
inline bool operator !=(const RTLIL::SigSpec &other) const { return !(*this == other); }
|
||||
|
||||
bool is_wire() const;
|
||||
bool is_chunk() const;
|
||||
|
||||
bool is_fully_const() const;
|
||||
bool is_fully_def() const;
|
||||
bool is_fully_undef() const;
|
||||
|
@ -587,6 +589,7 @@ public:
|
|||
std::string as_string() const;
|
||||
RTLIL::Const as_const() const;
|
||||
RTLIL::Wire *as_wire() const;
|
||||
RTLIL::SigChunk as_chunk() const;
|
||||
|
||||
bool match(std::string pattern) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue