mirror of https://github.com/YosysHQ/yosys.git
Added RTLIL::Const::size()
This commit is contained in:
parent
a1c7d4a8e2
commit
be44157c0f
|
@ -440,6 +440,8 @@ struct RTLIL::Const
|
||||||
std::string as_string() const;
|
std::string as_string() const;
|
||||||
|
|
||||||
std::string decode_string() const;
|
std::string decode_string() const;
|
||||||
|
|
||||||
|
inline int size() const { return bits.size(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RTLIL::Selection
|
struct RTLIL::Selection
|
||||||
|
|
Loading…
Reference in New Issue