mirror of https://github.com/YosysHQ/yosys.git
check: don't fail on $input_port
This commit is contained in:
parent
3d5ee37d9a
commit
d8520e20bc
|
|
@ -257,6 +257,9 @@ struct CheckPass : public Pass {
|
||||||
pool<Cell *> coarsened_cells;
|
pool<Cell *> coarsened_cells;
|
||||||
for (auto cell : module->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 (mapped && cell->type.begins_with("$") && design->module(cell->type) == nullptr) {
|
||||||
if (allow_tbuf && cell->type == ID($_TBUF_)) goto cell_allowed;
|
if (allow_tbuf && cell->type == ID($_TBUF_)) goto cell_allowed;
|
||||||
log_warning("Cell %s.%s is an unmapped internal cell of type %s.\n", log_id(module), log_id(cell), log_id(cell->type));
|
log_warning("Cell %s.%s is an unmapped internal cell of type %s.\n", log_id(module), log_id(cell), log_id(cell->type));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue