diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-03-21 16:33:34 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-03-21 16:37:35 +0100 |
commit | 043fa0fad039287ee1b6a6fec3d925b9c7304af8 (patch) | |
tree | a405449b295e87c2c9443ff16e7735a1b24d27f6 | |
parent | 2c7e107d7a55a47fe6f6943e4541014649b57567 (diff) | |
download | yosys-043fa0fad039287ee1b6a6fec3d925b9c7304af8.tar.gz yosys-043fa0fad039287ee1b6a6fec3d925b9c7304af8.tar.bz2 yosys-043fa0fad039287ee1b6a6fec3d925b9c7304af8.zip |
Cleanup abstract modules at end of "hierarchy -top"
-rw-r--r-- | passes/hierarchy/hierarchy.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index fcc30d175..129f48399 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -297,8 +297,6 @@ void hierarchy_clean(RTLIL::Design *design, RTLIL::Module *top, bool purge_lib) int del_counter = 0; for (auto mod : del_modules) { - if (mod->name.substr(0, 9) == "$abstract") - continue; if (!purge_lib && mod->get_bool_attribute("\\blackbox")) continue; log("Removing unused module `%s'.\n", mod->name.c_str()); |