Hi @Colin Weltin-Wu I think /usr/local/share/pdk should link back to where you installed the PDK. Look to see if that's true.
c
Colin Weltin-Wu
02/20/2025, 3:50 AM
Thanks it was an issue with the open_pdk installer, once I fixed that it worked. I think I figured out the xschem startup sequence, so I can make all my config in my local work dir. Thanks!
l
Leo Moser
02/20/2025, 7:31 AM
@Colin Weltin-Wu I would recommend not to link/copy the PDKs xschemrc file, but to source it from a projects xschemrc file. This is portable and when you change the PDK version, you will automatically use the newest version.
See this template for an example project xschemrc under `xschem/`: https://github.com/efabless/sky130_ef_ip__template
You need to start xschem in the
xschem/
folder in order for the project xschemrc to be automatically sourced, otherwise you need to specify
--rcfile
manually.
s
Stefan Schippers
02/20/2025, 1:22 PM
@Colin Weltin-Wu As @Leo Moser wrote above now the correct way to setup the project xschemrc file is to create an empty
xschemrc
file and add one line in it:
source /path/to/pdk/xschemrc
of course you must provide the correct path either by using the shell PDK_ROOT var:
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.