From be44157c0f07c3bcca2363b5ce95a71fe7ad6dd9 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 31 Aug 2014 18:07:48 +0200 Subject: Added RTLIL::Const::size() --- kernel/rtlil.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 90760040..93532938 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -440,6 +440,8 @@ struct RTLIL::Const std::string as_string() const; std::string decode_string() const; + + inline int size() const { return bits.size(); } }; struct RTLIL::Selection -- cgit v1.2.3