I'm using klayout inside the OpenLane docker image (make mount) and looking for suggestions on the b...
m
I'm using klayout inside the OpenLane docker image (make mount) and looking for suggestions on the best way to utilize the sky130 lyp, lyt, DRC, and LVS files in /openlane/pdks/sky130A/libs.tech/klayout. I can import and set these up each time I call klayout, but I'd like something persistent. However, klayout wants to create /.klayout which is not writable in the docker. Is there a way to specify the .klayout directory for klayout other than the $HOME directory?
🌍 1
klayout -nn /openlane/pdks/sky130A/libs.tech/klayout/tech/sky130A.lyt
will load the tech file, but not the lyp file or DRC/LVS scripts.
I see an option to load a configuration file:
klayout -c config_file
but no way to save one
a
klayout -j path/to/your_.klayout_folder
@Matthew Guthaus Let me know if that didn't work.
Or I do this as well.
KLAYOUT_HOME=path/to/your_.klayout_folder klayout .....
m
awesome.
Ah "macro project paths" is the same as "base path" elsewhere
a
I believe that what worked for me.
You could use
KLAYOUT_HOME
as well.
m
The second seems to load the config and layer properties. The first (-j) does pick up the DRC and LVS scripts only
a
I use both.
🌍 1