Added RTLIL::Const::size()

This commit is contained in:
Clifford Wolf 2014-08-31 18:07:48 +02:00
parent a1c7d4a8e2
commit be44157c0f
1 changed files with 2 additions and 0 deletions

View File

@ -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