GitHub
10/15/2024, 8:41 AM.lydrc file, which is an XML wrapper around the DRC script: https://github.com/IHP-GmbH/IHP-Open-PDK/tree/dev/ihp-sg13g2/libs.tech/klayout/tech/drc
Instead, it would be great if the DRC script could be separated from the wrapper and simply included with # %include.
.lydrc files:
• run_drc_beol.lydrc
• run_drc_feol.lydrc
• run_drc_full.lydrc
By setting the values of global variables, different DRC runsets can be enabled/disabled.
The same approach could be used to combine the sg13g2_maximal and sg13g2_minimal DRC scripts into a single file.
IHP-GmbH/IHP-Open-PDKtnt
10/15/2024, 8:43 AMtnt
10/15/2024, 8:44 AMKrzysztof Herman
10/15/2024, 8:45 AMLeo Moser
10/15/2024, 9:08 AMAndreas Krinke
10/20/2024, 8:56 AMLeo Moser
10/21/2024, 7:08 AMMacro class (https://www.klayout.de/doc/code/class_Macro.html) and it seems that it can execute lydrc scripts.
Still, it would be useful to have macro and script separated, if only to avoid duplication of parts of the DRC script.
Compared to sky130, there's one more thing I would like to see changed: Currently the DRC scripts always source the active layout (or a GDS file). What if there is no active layout, like in my case where I simply create a layout using pya.Layout()?
In the case of sky130, the first argument to source can be specified via a global variable (https://github.com/efabless/sky130_klayout_pdk/blob/68b8aa87c129191f642da662d348e9ca6930581b/tech/sky130/drc/sky130A_mr.drc#L49C9-L49C14).
This makes it possible to create a layout and run DRC in batch mode without ever writing to disk.
It would be great if this could be done for ihp in the same way.Andreas Krinke
10/21/2024, 9:30 AMtnt
10/21/2024, 9:31 AMAndreas Krinke
10/21/2024, 12:10 PM