From cd8ac247325a4e7d26c55234906988e5d921d838 Mon Sep 17 00:00:00 2001 From: kareefardi Date: Wed, 6 Dec 2023 14:23:31 +0200 Subject: [PATCH] update the open_pdks version export PYTHONPATH in OpenLane Docker file Document KLayout DRC variables --- dependencies/tool_metadata.yml | 2 +- docs/source/reference/pdk_configuration.md | 2 ++ scripts/tcl_commands/klayout.tcl | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dependencies/tool_metadata.yml b/dependencies/tool_metadata.yml index 3844d5ade..1f6826732 100644 --- a/dependencies/tool_metadata.yml +++ b/dependencies/tool_metadata.yml @@ -64,6 +64,6 @@ in_install: false - name: open_pdks repo: https://github.com/RTimothyEdwards/open_pdks - commit: e0f692f46654d6c7c99fc70a0c94a080dab53571 + commit: cd1748bb197f9b7af62a54507de6624e30363943 in_install: false pdk: true diff --git a/docs/source/reference/pdk_configuration.md b/docs/source/reference/pdk_configuration.md index 8f682a287..3f053d8d1 100644 --- a/docs/source/reference/pdk_configuration.md +++ b/docs/source/reference/pdk_configuration.md @@ -58,6 +58,8 @@ you're doing. | `KLAYOUT_PROPERTIES` | Points to the klayout properties file (.lyp). | | `KLAYOUT_DEF_LAYER_MAP` | Points to klayout deflef layer map file (.map). | | `KLAYOUT_XOR_IGNORE_LAYERS` | A space separated layers list to ignore during klayout xor check. | +| `KLAYOUT_DRC_RUNSET` | A path to KLayout DRC runset. | +| `KLAYOUT_DRC_OPTIONS` | Options availble to KLayout DRC runset. They vary from one PDK to another. | | `MAGIC_MAGICRC` | Points to the magicrc file that is sourced while running magic in the flow. | | `GPIO_PADS_LEF` | A list of the pads lef views. For example:`[glob "$::env(PDK_ROOT)/sky130A/libs.ref/sky130_fd_io/lef/sky130_fd_io.lef"]` | | `GPIO_PADS_PREFIX` | A list of pad cells name prefixes. | diff --git a/scripts/tcl_commands/klayout.tcl b/scripts/tcl_commands/klayout.tcl index 498f9d20e..e12a408c8 100755 --- a/scripts/tcl_commands/klayout.tcl +++ b/scripts/tcl_commands/klayout.tcl @@ -126,7 +126,6 @@ proc run_klayout_drc_sky130 {args} { -rd seal=$seal \ -rd thread=$threads \ |& tee $::env(TERMINAL_OUTPUT) $drc_log - set ::env(PYTHONPATH) /build/lib/python3/dist-packages try_exec python3 \ $::env(SCRIPTS_DIR)/klayout/xml_drc_report_to_json.py \ --xml-file $xml_report \