Cleanup abstract modules at end of "hierarchy -top"

This commit is contained in:
Clifford Wolf 2016-03-21 16:33:34 +01:00
parent 2c7e107d7a
commit 043fa0fad0
1 changed files with 0 additions and 2 deletions

View File

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