diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-12-02 12:18:07 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-12-02 12:18:07 +0100 |
commit | e881878341d676471dc867265bbc406ecb777948 (patch) | |
tree | 0ca9c085ce2f6237e0e6981e2ae461c79fb29ba7 | |
parent | a66ca0472a171ecbdf9a99771129eb0f28aa55ac (diff) | |
download | yosys-e881878341d676471dc867265bbc406ecb777948.tar.gz yosys-e881878341d676471dc867265bbc406ecb777948.tar.bz2 yosys-e881878341d676471dc867265bbc406ecb777948.zip |
Fixed submod for non-cleaned designs
-rw-r--r-- | passes/submod/submod.cc | 5 |
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(); |