From: Clifford Wolf Date: Mon, 2 Dec 2013 11:18:07 +0000 (+0100) Subject: Fixed submod for non-cleaned designs X-Git-Tag: yosys-0.2.0~271 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e881878341d676471dc867265bbc406ecb777948;p=yosys.git Fixed submod for non-cleaned designs --- 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();