Hi all. I am facing a problem with the ngspice simulation for my testbench schematic file on Xschem. It says line 26 has an error. I have attached pic of ngspice simulation window and the spice files for the test bench and the schematic. Can anyone help me on this?
You should use
.lib "/usr/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice" tt
.param mc_mm_switch=0
or
.lib /usr/local/share/pdk/sky130A/libs.tech/combined/sky130.lib.spice tt