Fixed submod for non-cleaned designs

This commit is contained in:
Clifford Wolf 2013-12-02 12:18:07 +01:00
parent a66ca0472a
commit e881878341
1 changed files with 4 additions and 1 deletions

View File

@ -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();