mirror of https://github.com/YosysHQ/yosys.git
Do not fix port widths on any blackbox instances
This commit is contained in:
parent
db7314bc02
commit
69468d5a16
|
@ -630,7 +630,7 @@ struct HierarchyPass : public Pass {
|
|||
|
||||
Module *m = design->module(cell->type);
|
||||
|
||||
if (m == nullptr)
|
||||
if (m == nullptr || m->get_bool_attribute("\\blackbox"))
|
||||
continue;
|
||||
|
||||
for (auto &conn : cell->connections())
|
||||
|
|
Loading…
Reference in New Issue