projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c7d4a
)
Added RTLIL::Const::size()
author
Clifford Wolf
<clifford@clifford.at>
Sun, 31 Aug 2014 16:07:48 +0000
(18:07 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 31 Aug 2014 16:07:48 +0000
(18:07 +0200)
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index 9076004082f4daee29ea89e4a33605e507b2b403..9353293849c656f90bb2fcb2d2df1340e3dea049 100644
(file)
--- 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