projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ac7e38
)
Resolve @cliffordwolf review, set even if !has_init
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 24 May 2019 23:15:22 +0000
(16:15 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 24 May 2019 23:15:22 +0000
(16:15 -0700)
passes/opt/opt_rmdff.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_rmdff.cc
b/passes/opt/opt_rmdff.cc
index 3cb8e2b1e255e2114a6cfbab4fb3f070e927326b..a36b279c21480c6c9d7c910451db1664a96ee567 100644
(file)
--- a/
passes/opt/opt_rmdff.cc
+++ b/
passes/opt/opt_rmdff.cc
@@
-342,8
+342,7
@@
bool handle_dff(RTLIL::Module *mod, RTLIL::Cell *dff)
if (!sig_e.is_fully_const())
return false;
if (sig_e != val_ep) {
- if (has_init)
- mod->connect(sig_q, val_init);
+ mod->connect(sig_q, val_init);
goto delete_dff;
}
}