check: don't fail on $input_port

This commit is contained in:
Emil J. Tywoniak
2026-09-17 14:12:38 +02:00
parent f2fbfbb512
commit c0a29e2d40
+3
View File
@@ -290,6 +290,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());