projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e867f
)
Fixed detection of init attribute in opt_rmdff
author
Clifford Wolf
<clifford@clifford.at>
Tue, 4 Feb 2014 22:00:32 +0000
(23:00 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 4 Feb 2014 22:00:32 +0000
(23:00 +0100)
passes/opt/opt_rmdff.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_rmdff.cc
b/passes/opt/opt_rmdff.cc
index 02b7f77e71610a6090b587a689edb22cddd8514d..9a438537c7fffb8c59ec205b387b8bd3a9c1cbac 100644
(file)
--- a/
passes/opt/opt_rmdff.cc
+++ b/
passes/opt/opt_rmdff.cc
@@
-73,7
+73,7
@@
static bool handle_dff(RTLIL::Module *mod, RTLIL::Cell *dff)
assign_map.apply(sig_c);
assign_map.apply(sig_r);
- bool has_init;
+ bool has_init
= false
;
RTLIL::Const val_init;
for (auto bit : dff_init_map(sig_q).to_sigbit_vector()) {
if (bit.wire == NULL)