We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
keep_hierarchy
1 parent c33f7b9 commit 6ad4918Copy full SHA for 6ad4918
passes/hierarchy/keep_hierarchy.cc
@@ -37,6 +37,9 @@ struct ThresholdHierarchyKeeping {
37
if (module->has_attribute(ID(gate_cost_equivalent)))
38
return module->attributes[ID(gate_cost_equivalent)].as_int();
39
40
+ if (module->has_attribute(ID(keep_hierarchy)))
41
+ return 0;
42
+
43
if (module->get_blackbox_attribute())
44
log_error("Missing cost information on instanced blackbox %s\n", log_id(module));
45
0 commit comments