aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
Diffstat (limited to 'passes')
-rw-r--r--passes/submod/submod.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/passes/submod/submod.cc b/passes/submod/submod.cc
index a92189142..b241f9d09 100644
--- a/passes/submod/submod.cc
+++ b/passes/submod/submod.cc
@@ -336,8 +336,11 @@ struct SubmodPass : public Pass {
}
if (module == NULL)
log("Nothing selected -> do nothing.\n");
- else
+ else {
+ Pass::call_newsel(design, stringf("opt_clean %s", module->name.c_str()));
+ log_header("Continuing SUBMOD pass.\n");
SubmodWorker worker(design, module, opt_name);
+ }
}
log_pop();