@User looks like you may want it yes. To apply @User's patch do:
cd into skywater-pdk/libraries/
copy the patch from xschem_sky130/sky130_fd_pr.patch into the current folder
copy sky130_fd_pr/latest/ to sky130_fd_pr_ngspice/latest/ e.g. mkdir sky130_fd_pr_ngspice;cp -r sky130_fd_pr/latest/ sky130_fd_pr_ngspice/
patch -s -p0 < sky130_fd_pr.patch
Name swap “sky130_fd_pr_ngspice” and “sky130_fd_pr”
There's probably a way of using "patch" which doesn't require you to switch the folder names but I didn't bother looking into it since I just wanted to get it up and running.
a
ArunAshok
12/29/2020, 10:34 PM
@Tom@Stefan Schippers so copy the fd_pr lib into fd_pr_ngspice ( so now we have two folders but with diff names) . Then apply the patch command as you shown. the swap the name of the folders. Correct ?
ArunAshok
12/29/2020, 10:34 PM
Sorry, I am newbie in the linux/terminal world. Just know how to design circuits 🙂
t
Tom
12/29/2020, 10:35 PM
yes that's correct
👍 1
a
ArunAshok
12/29/2020, 10:35 PM
Let me try !
t
Tom
12/29/2020, 10:37 PM
You should be able to almost paste my description into the terminal. Did it work?
a
ArunAshok
12/29/2020, 10:46 PM
The library names are different for me, so had to change. Now after running the patch command, it is asking "File to patch" @Tom