<!channel> Since Open_pdks is now the default way of using xschem with the skywater-pdk i made a <ne...
s
<!channel> Since Open_pdks is now the default way of using xschem with the skywater-pdk i made a

new video

showing how to setup xschem. Basically just follow the instructions on opencircuitdesign.com, build xschem from its github sources and you are done.
👍 3
h
If I already installed the skywater_pdk, could I just install from the openpdk part ? This new skywater_pdk installation link is different from the original one? Thanks!
s
Yes, the skywater-pdk install directory is used by open_pdks. In the configure stage of open_pdks you give the path of your skywater-pdk install: $ ./configure --enable-sky130-pdk=/your/install/path/skywater-pdk --prefix=/where/to/install/open_pdks
then if you create a schematic directory and copy the xschemrc file as shown in the video, xschem will automatically use the new open_pdks provided spice models. I suggest now everyone to use open_pdks since patches and fixes are added to the original skywater-pdk files.
h
Thanks Stefan!!! 🙂
s
Are there any special steps needed to use ngspice with this method? I remember in your previous video ngspice was installed using the autogen.
s
No, for ngspice installation remains the same, you may refer to previous video for that.
Hi, @Hui-Yu Chen I think you should generate the netlist from xschem, then go to the directory where the netlist is generated and try to run ngspice manually on your netlist:
ngspice -i your_netlist.spice -a
So you don't have xschem in the loop since this seems more a ngspice issue. Did you try to do a '`setplot noise1`' before giving the
plot
command?
h
My question is how to plot noise PSD in y axis in logrithemic from the figures and ngspice command as above?
s
Try to give 'ylog' as last parameter to the plot command
h
Ok thanks Stefan. I will try it
s
ngspice is limited in plotting ability, if you want something better you may try gaw or 'bespice' (bspwave) from analog flavor, it has a free non commercial evaluation license for one year
in the ngspice plot window if you click the right mouse button and drag a zoom rectangle a new window is opened with the requested area...