projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5de57e9
)
Fixed uninitialized const flags bug
author
Clifford Wolf
<clifford@clifford.at>
Sat, 7 Dec 2013 15:56:34 +0000
(16:56 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 7 Dec 2013 15:56:34 +0000
(16:56 +0100)
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index 5583be968e6ca1f24c456417a0aaabef87662f73..fbdab53ebf39287a0280d7ade9730faba9e628b4 100644
(file)
--- a/
kernel/rtlil.h
+++ b/
kernel/rtlil.h
@@
-195,7
+195,7
@@
struct RTLIL::Const {
Const(std::string str);
Const(int val, int width = 32);
Const(RTLIL::State bit, int width = 1);
- Const(std::vector<RTLIL::State> bits) : bits(bits) { };
+ Const(std::vector<RTLIL::State> bits) : bits(bits) {
flags = CONST_FLAG_NONE;
};
bool operator <(const RTLIL::Const &other) const;
bool operator ==(const RTLIL::Const &other) const;
bool operator !=(const RTLIL::Const &other) const;