@User if you are installing xschem as standalone and want to simulate with skywater you need to install xschem and xschem_sky130 from github and the skywater libraries and models.
This video (or on
youtube▾
) explains the process. Alternatively you might want to install xchem as part of open_pdks.
❤️ 2
💯 2
l
L
04/29/2021, 2:29 AM
Thank you for this video. I found it challenging to put all pieces together (pdk, tools, libraries...) and this video was very good guidance. I was wondering if the modification of the primitives library shown at 14:30 is still needed? (maybe the PDK got updated)
https://youtu.be/jXmmxO8WG8s?t=869▾
s
stefanoaz
05/01/2021, 5:58 AM
~For setting up xschem with ngspice on Mac OS, I found I needed to add some arguments to the configure command. They were:
CFLAGS="-O2 -I/opt/X11/include/freetype2 -Wno-error=implicit-function-declaration"
--x-includes=/opt/X11/include
--x-libraries=/opt/X11/lib
The entire string was:
./configure --enable-cider --enable-xspice --enable-openmp --enable-pss --enable-debug=no --prefix=/<path to>/ngspice-macos --enable-openmp CFLAGS="-O2 -I/opt/X11/include/freetype2 -Wno-error=implicit-function-declaration" LDFLAGS="-lomp" --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib~