read_verilog no warn on pg_pin connections
This commit is contained in:
parent
66c97a2579
commit
b9116bd56d
|
|
@ -1889,6 +1889,12 @@ VerilogReader::makeNamedInstPins(Cell *cell,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
LibertyPgPort *pg_port = nullptr;
|
||||||
|
LibertyCell *lib_cell = network_->libertyCell(cell);
|
||||||
|
if (lib_cell)
|
||||||
|
pg_port = lib_cell->findPgPort(port_name);
|
||||||
|
// Do not warn about connections to pg ports (which are ignored).
|
||||||
|
if (pg_port == nullptr)
|
||||||
linkWarn(201, parent_module->filename(), mod_inst->line(),
|
linkWarn(201, parent_module->filename(), mod_inst->line(),
|
||||||
"instance %s port %s not found.",
|
"instance %s port %s not found.",
|
||||||
verilogName(mod_inst),
|
verilogName(mod_inst),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue