diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-20 15:16:10 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-20 15:33:06 +0200 |
commit | 8d04ca7d22e375fbe075dee1f189669046ee8906 (patch) | |
tree | c6c33cff1313f961891dc5b58a89a27615656996 /passes/hierarchy/submod.cc | |
parent | 2e358bd6678aba687908fe4a359c82aa5dff110d (diff) | |
download | yosys-8d04ca7d22e375fbe075dee1f189669046ee8906.tar.gz yosys-8d04ca7d22e375fbe075dee1f189669046ee8906.tar.bz2 yosys-8d04ca7d22e375fbe075dee1f189669046ee8906.zip |
Added call_on_selection() and call_on_module() API
Diffstat (limited to 'passes/hierarchy/submod.cc')
-rw-r--r-- | passes/hierarchy/submod.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/hierarchy/submod.cc b/passes/hierarchy/submod.cc index 7d0811254..55f5f0485 100644 --- a/passes/hierarchy/submod.cc +++ b/passes/hierarchy/submod.cc @@ -338,7 +338,7 @@ struct SubmodPass : public Pass { if (module == NULL) log("Nothing selected -> do nothing.\n"); else { - Pass::call_newsel(design, stringf("opt_clean %s", module->name.c_str())); + Pass::call_on_module(design, module, "opt_clean"); log_header("Continuing SUBMOD pass.\n"); SubmodWorker worker(design, module, opt_name); } |