Kit Installation in KLayout Windows - TaherKourany/sky130_klayout_pdk GitHub Wiki
Welcome to the sky130_klayout_pdk wiki!
-
FORK sky130_klayout_pdk repository by clicking the fork button in the upper right hand corner of a repo page.
-
Download Git Desktop app and CLONE your repo into you local Git Folder. the path to Git can be KLayout installation path or other. by default, the tech file is setup so that $(app_data) path is pointing to KLayout installation path. However, you can go ahead and specify another Git path of your preference, and sky130 techfile can customized. The way of doing it is explained below.
-
If a different local Git path was selected other than KLayout's, then KLayout will have to look for techfile elsewhere. After installing KLayout, Edit system environment variables to point to sky130 folder under Git.
-
Start KLayout, click on File->New Layout to open an empty layout view. A new technology package (sky130) have been detected by KLayout and can be selected from "Select Technology" Button in the Toolbar
-
sky130 Layermap file and path to Design Package are not yet set. To set them, click on Tools->Manage Technology from Toolbar. Technology Manager window popsup and paths to .lyp file, DesignPackage, DRC, and LVS runset files can then be defined. By default, the paths are generically defined as $(app_data) concatenated by sky130 path extension. Under General tab, define Base PATH as path to folders pymacros/ruby which include .py/rb Pcell files. Layer Properties file should exactly point to sky130.lyp file location.
-
DRC and LVS runsets path are then automatically set to $(BASE_PATH)/drc and $(BASE_PATH)/lvs, respectively.
-
Connectivity and Z Stack setups are automatically imported and appended to sky130.lyt file.
-
Apply changes to .lyt file and click once more on SKY130 icon from the ToolBar to load .lyp file and PDK library.
-
To instantiate pcells, click on "Instance" icon from Toolbar, and select "Skywaters 130nm Pcells" PDK library
-
Navigate through Pcells list by clicking on "Cell" search icon