summaryrefslogtreecommitdiff
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-12-02 12:18:07 +0100
committerClifford Wolf <clifford@clifford.at>2013-12-02 12:18:07 +0100
commite881878341d676471dc867265bbc406ecb777948 (patch)
tree0ca9c085ce2f6237e0e6981e2ae461c79fb29ba7 /passes
parenta66ca0472a171ecbdf9a99771129eb0f28aa55ac (diff)
Fixed submod for non-cleaned designs
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 a9218914..b241f9d0 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();