projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f9ea1
)
Fix spacing
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 23 May 2019 19:58:30 +0000
(12:58 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 23 May 2019 19:58:30 +0000
(12:58 -0700)
passes/opt/opt_rmdff.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_rmdff.cc
b/passes/opt/opt_rmdff.cc
index a4ed582cb3400160a6d2a647cd10afa4cffe6f2c..3cb8e2b1e255e2114a6cfbab4fb3f070e927326b 100644
(file)
--- a/
passes/opt/opt_rmdff.cc
+++ b/
passes/opt/opt_rmdff.cc
@@
-342,8
+342,8
@@
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);
+
if (has_init)
+
mod->connect(sig_q, val_init);
goto delete_dff;
}
}