keep_hierarchy: Require size information on blackboxes

This commit is contained in:
Martin Povišer
2024-11-05 09:02:36 +01:00
parent 2425352551
commit cf79630be0
+3
View File
@@ -37,6 +37,9 @@ struct ThresholdHiearchyKeeping {
if (module->has_attribute(ID(gate_cost_equivalent)))
return module->attributes[ID(gate_cost_equivalent)].as_int();
if (module->get_blackbox_attribute())
log_error("Missing cost information on instanced blackbox %s\n", log_id(module));
if (done.count(module))
return done.at(module);