mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 02:47:48 +02:00
Refinement
* Option added to buddy tools ("lefdef-skip-duplicate-macros")
* Properly adding to GSI
* Tests for GSI binding in LoadLayoutOptions
This commit is contained in:
@@ -968,17 +968,22 @@ gsi::Class<db::LEFDEFReaderOptions> decl_lefdef_config ("db", "LEFDEFReaderConfi
|
||||
"This property has been added in version 0.27. The ability to supply multiple files has been added in version 0.30.6.\n"
|
||||
) +
|
||||
gsi::method ("skip_duplicate_macros", &db::LEFDEFReaderOptions::skip_duplicate_macros,
|
||||
"@brief Get the setting for wether to skip douplicate LEF Macro definitions.\n"
|
||||
"This property describes what to do when while reading LEF files douplicate MACRO definitions are "
|
||||
"discovered. Normally an error is issued and the import fails. When setting this flag to true a"
|
||||
"warning is issued and the macro definition is skipped. So always the first definition of MACRO is used.\n"
|
||||
"@brief Gets a value indicating wether to skip duplicate LEF Macro definitions.\n"
|
||||
"If this property is 'true', having the same macro in different LEF files is a warning rather than being an error. "
|
||||
"In that case, the first occurance is used. Use this option with care, as it may render invalid layouts when "
|
||||
"the versions of the macro are defined differently. It is intended for cases, when macros with the same name are guaranteed "
|
||||
"to be identical. KLayout does not check, if that is actually the case."
|
||||
"\n"
|
||||
"The default is 'false' (duplicate macro names are an error).\n"
|
||||
"\n"
|
||||
"This property has been added in version 0.30.x.\n"
|
||||
) +
|
||||
gsi::method ("skip_duplicate_macros=", &db::LEFDEFReaderOptions::set_skip_duplicate_macros, gsi::arg ("skip_duplicate_macros"),
|
||||
"@brief Sets mode how to handle douplicate MARCO definitions.\n"
|
||||
"@brief Sets a value indicating wether to skip duplicate LEF Macro definitions.\n"
|
||||
"\n"
|
||||
"This property has been added in version 0.30.x.\n"
|
||||
"See \\skip_duplicate_macros for a description of this property.\n"
|
||||
"\n"
|
||||
"This property has been added in version 0.30.11.\n"
|
||||
) +
|
||||
gsi::method ("macro_resolution_mode", &db::LEFDEFReaderOptions::macro_resolution_mode,
|
||||
"@brief Gets the macro resolution mode (LEF macros into DEF).\n"
|
||||
|
||||
Reference in New Issue
Block a user