refining the DEF warning on missing foreign cell

This commit is contained in:
Matthias Koefferlein 2025-04-08 23:52:50 +02:00
parent 3bd9a96f67
commit 0ec8e18173
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ LEFDEFReader::read_lefdef (db::Layout &layout, const db::LoadLayoutOptions &opti
// Warn about cells that could not be resolved
for (std::map<std::string, db::cell_index_type>::iterator f = foreign_cells.begin (); f != foreign_cells.end (); ++f) {
if (f->second != seen) {
if (f->second != seen && layout.cell (f->second).is_ghost_cell ()) {
importer.warn (tl::sprintf (tl::to_string (tr ("Could not find a substitution layout for foreign cell '%s'")),
f->first));
}