mirror of https://github.com/YosysHQ/yosys.git
Do not eagerly fix port widths on parameterized cells
This commit is contained in:
parent
828303791b
commit
76c4ee096b
|
@ -625,6 +625,9 @@ struct HierarchyPass : public Pass {
|
|||
for (auto module : design->modules())
|
||||
for (auto cell : module->cells())
|
||||
{
|
||||
if (GetSize(cell->parameters) != 0)
|
||||
continue;
|
||||
|
||||
Module *m = design->module(cell->type);
|
||||
|
||||
if (m == nullptr)
|
||||
|
|
Loading…
Reference in New Issue