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.
1 parent 535709a commit 5658785Copy full SHA for 5658785
nexus/pack.cc
@@ -1318,8 +1318,14 @@ struct NexusPacker
1318
CellInfo *ci = cell.second.get();
1319
if (ci->type != id_CCU2)
1320
continue;
1321
- if (ci->getPort(id_CIN) != nullptr)
+ NetInfo *cin = ci->getPort(id_CIN);
1322
+ if (cin) {
1323
+ if (cin->driver.cell && cin->driver.cell->type != id_CCU2) {
1324
+ log_error("CCU2 '%s' CIN net '%s' driven by non-CCU2 cell '%s'.\n",
1325
+ ctx->nameOf(ci), ctx->nameOf(cin), ctx->nameOf(cin->driver.cell));
1326
+ }
1327
1328
1329
roots.push_back(ci);
1330
}
1331
for (CellInfo *root : roots) {
0 commit comments