diff --git a/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImport.cc b/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImport.cc index b08d3384a5..49a703a83b 100644 --- a/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImport.cc +++ b/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImport.cc @@ -140,6 +140,13 @@ class LEFDEFImportPluginDeclaration } db::LEFDEFReader reader (stream); + + // Add the LEF files specified explicitly + db::LEFDEFReaderOptions *lefdef_options = dynamic_cast (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 ();