Skip to content

Commit

Permalink
Fixed issue #1503 (Import LEF/DEF - LEF files given in list are ignor…
Browse files Browse the repository at this point in the history
…ed for DEF import)
  • Loading branch information
Matthias Koefferlein committed Oct 6, 2023
1 parent 01c1904 commit 7560201
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,13 @@ class LEFDEFImportPluginDeclaration
}

db::LEFDEFReader reader (stream);

// Add the LEF files specified explicitly
db::LEFDEFReaderOptions *lefdef_options = dynamic_cast<db::LEFDEFReaderOptions *> (options.get_options (reader.format ()));
auto lef_files = lefdef_options->lef_files ();
lef_files.insert (lef_files.end (), data.lef_files.begin (), data.lef_files.end ());
lefdef_options->set_lef_files (lef_files);

reader.read_lefdef (*layout, options, import_lef);

lay::LayoutView *view = lay::LayoutView::current ();
Expand Down

0 comments on commit 7560201

Please sign in to comment.