1
0
mirror of synced 2026-05-22 21:40:08 +00:00

check: don't fail on $input_port

This commit is contained in:
Emil J. Tywoniak
2026-03-07 00:42:01 +01:00
parent 8c4816c802
commit dcc4cbea2f

View File

@@ -257,6 +257,9 @@ struct CheckPass : public Pass {
pool<Cell *> coarsened_cells;
for (auto cell : module->cells())
{
if (cell->type == ID($input_port))
continue;
if (mapped && cell->type.begins_with("$") && design->module(cell->type) == nullptr) {
if (allow_tbuf && cell->type == ID($_TBUF_)) goto cell_allowed;
log_warning("Cell %s.%s is an unmapped internal cell of type %s.\n", module, cell, cell->type.unescape());