projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27b7ffc
)
opt_clean: really make 'clean' identical to 'opt_clean' by rminit too
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 14 May 2020 07:19:58 +0000
(
00:19
-0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 14 May 2020 07:31:08 +0000
(
00:31
-0700)
passes/opt/opt_clean.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_clean.cc
b/passes/opt/opt_clean.cc
index 6271376f1fab51a40baa1d972ec7eeb24dc80588..4e8492f7bb8c72dd16161b9eed3a126a32a7d2af 100644
(file)
--- a/
passes/opt/opt_clean.cc
+++ b/
passes/opt/opt_clean.cc
@@
-611,8
+611,7
@@
struct CleanPass : public Pass {
}
break;
}
- if (argidx < args.size())
- extra_args(args, argidx, design);
+ extra_args(args, argidx, design);
keep_cache.reset(design);
@@
-627,7
+626,7
@@
struct CleanPass : public Pass {
for (auto module : design->selected_whole_modules()) {
if (module->has_processes())
continue;
- rmunused_module(module, purge_mode, ys_debug(),
fals
e);
+ rmunused_module(module, purge_mode, ys_debug(),
tru
e);
}
log_suppressed();