projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c7e107
)
Cleanup abstract modules at end of "hierarchy -top"
author
Clifford Wolf
<clifford@clifford.at>
Mon, 21 Mar 2016 15:33:34 +0000
(16:33 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 21 Mar 2016 15:37:35 +0000
(16:37 +0100)
passes/hierarchy/hierarchy.cc
patch
|
blob
|
history
diff --git
a/passes/hierarchy/hierarchy.cc
b/passes/hierarchy/hierarchy.cc
index fcc30d1756ceaaaafb4d4790ed00bba45b86fbcc..129f483990c8c4061c74417fb93aa2a824704771 100644
(file)
--- 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());