3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Fix handling of empty cell port assignments (i.e. ignore them)

This commit is contained in:
Clifford Wolf 2017-07-21 19:32:31 +02:00
parent 36cf18ac4c
commit b3bc7068d1
2 changed files with 6 additions and 0 deletions

View file

@ -640,6 +640,9 @@ struct HierarchyPass : public Pass {
if (w == nullptr || w->port_id == 0)
continue;
if (GetSize(conn.second) == 0)
continue;
if (GetSize(w) == GetSize(conn.second))
continue;