<@U01EK2VDMDG> <@U02HV6B4QLU> Pcells and layers fo...
# klayout
v
@Amro Tork @Farag Elsayed Pcells and layers for sky130 not visible inside klayout. Using volare to access pdk? Please suggest how to integrate sky130 with klayout.
m
@vks
File
->
Load Layer Properties
and select
$PDK_ROOT/$PDK/libs.tech/klayout/tech/sky130A.lyp
. If you still don’t see anything, right click in the
Layers
pane, unselect
Hide Empty Layers
v
@Mitch Bailey Using this option layers are visible only for that session. Need to import
.lyp
again when layout is opened again. How to make it default layers should be visible whenever klayout is opened.
a
@vks It's part of the PDK. I think @Farag Elsayed is back he could answer this. Unfortunately, we are off today.
m
Let me know if you figure that out, I have to reload every time.
v
@Amro Tork Please enjoy your holiday. We can continue tomorrow. I opened klayout with
open_pdks
using
KLAYOUT_HOME=$PDK_ROOT/$PDK/libs.tech/klayout klayout -e
and sky130 pcell library is visible now. Same was not with volare. But layers are still not visible automatically. Need to import them manually each time using
File
->
Load Layer Properties
a
We are back to work on Sunday
👍 1
f
@vks You could use this script to install sky130 or GF180 technologies installed using volare. https://github.com/mabrains/klayout_tech
Here is the path of sky130A tech I have
~/open_design_environment/foundry/pdks/sky130/sky130A/libs.tech/klayout
Installed using volare 3 or 4 months ago. It may have undergone some modifications.
v
@Farag Elsayed Thanks for sharing.
@Farag Elsayed 1. Does this script need to be installed at any specific location inside volare pdk's path ? 2. Should I replace existing sky130A klayout folder inside volare with the one shared in tarball
klayout.tar.xz
?
f
No, You could use it anywhere. You will pass the Klayout folder you have or one I have shared as an input to the script as explained in README file. Path of klayout folder -->
$PDK_ROOT/$PDK/libs.tech/klayout
v
@Farag Elsayed I am able to invoke sky130 technology from inside klayout after running shared script. But finding few issues while trying to invoke devices from sky130 in klayout. Please suggest how to tackle these: 1. Only layer nos. are visible. Layer names only visible when .lyp file is imported using
File--> Load Layer Properties
2. Layout of several devices like cap_vpp, res_diff, res_metal, res_poly etc. not visible in klayout. A message appears in place of device layout. 3. Trying to instantiate via_gen gives as error shown in screentshot.
f
@vks After using installation script, I think you could select your technology as shown Once you have selected and double click on it, lyp file should be loaded. Related to pcells, it seems there are real issues in generators. I haven't tested it before. You could open issues for it to be solved in coming versions.
v
@Farag Elsayed Menus like gdsfactory, sky130pdk, gf180mcu pdk are not seen in my klayout interface after running script. Please check attached video.
Hi @Farag Elsayed, how to run
drc
lvs
for sky130 in batch mode and view results in klayout? 'drc' and 'lvs' folder are available at sky130 path
$PDK_ROOT/$PDK/libs.tech/klayout
but no scripts like
run_drc.py
run_lvs.py
as for gf180 https://github.com/efabless/globalfoundries-pdk-libs-gf180mcu_fd_pv/tree/main/klayout/drc#usage
f
@vks You could find same setup for sky130-LVS here. For DRC, we aren't the developers of it but you could find the rule deck here
v
LVS can be run using
run_lvs.py
script. How to run
sky130A_mr.drc
deck on gds and view results in Klayout ?
f
Copy code
# optionnal for a batch launch :   klayout -b -rd input=my_layout.gds -rd report=sky130_drc.lyrdb -r sky130A_mr.drc