@vks after changing the .lib line to point to my installation your example works perfectly. I see you are including the .lib file from
/home/vipul/open_pdks
. Is this the directory you cloned with git? This is in general wrong. After building open_pdks with
make
you need to transfer all the files to the final install location with
sudo make install
. Usually the install location is
/usr/local/share/pdk
.
What is the ngspice version you are using?
Did you create a
.spiceinit
file in the same direcctory where tb_inverter.spice is generated, containing the following lines?
Copy code
set ngbehavior=hsa
set ng_nomodcheck
v
vks
12/14/2022, 4:11 PM
Thanks Stefan, after changing model path to /*usr/local/share/pdk* simulation is running succesfully. I had done all the steps as mentioned in your last reply but was taking model path from directory cloned from git. After changing it to correct path issue with simulation is gone. Thanks once again.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.