3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

opt_clean: really make 'clean' identical to 'opt_clean' by rminit too

This commit is contained in:
Eddie Hung 2020-05-14 00:19:58 -07:00
parent 27b7ffc754
commit 68b31f5e99

View file

@ -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(), false);
rmunused_module(module, purge_mode, ys_debug(), true);
}
log_suppressed();