<@U03PEP70EK1> is above /.xschemsimulations/ in the error message or is there a missing slash? by d...
s

Stefan Schippers

about 3 years ago
@fil is above /.xschemsimulations/ in the error message or is there a missing slash? by default the path should be
/home/username/.xschem/simulations/test_mim_cap.spice
Did you install open_pdks? Now the right way to use sky130 and xschem is to install the spice models via open_pdks, as explained in this

video

https://www.youtube.com/watch?v=KgBLByOkJxA
. Consider that you don't need anymore to manually clone the skywater-pdk repository, it will be pulled in automatically by open_pdks, just give it the
--enable-sky130-pdk
option when running configure:
./configure --enable-sky130-pdk --prefix=/pdk/root/dir
in above line /pdk/root/dir must be replaced by you to the place on the system where you want to install the pdk. If you don't give a --prefix it will be installed in /usr/local. A good choice for a single user setup is to add
--prefix=/home/username
. After installing open_pdks (which requires magic and xschem as prerequisites) create an empty directory, copy the file /pdk/root/dir/share/pdk/sky130A/libs.tech/xschem/xschemrc into this directory and start xschem from there. Things to check in the xschem tcl prompt after starting xschem: 1. `puts $netlist_dir`; check this directory exists and is read/writeable. 2. `puts $XSCHEM_LIBRARY_PATH`; Do all the directories listed exist on the system? 3. `puts $SKYWATER_MODELS`: is this path correct? inside this path there must be the top
sky130.lib.spice
file.