Hi, I'm trying to simulate basic inverter. however its showing ngspice error, which i tried to clear with checking the ngspice codes and labels.
So, can someone help me, plz.
✅ 1
s
Stefan Schippers
11/30/2022, 10:07 PM
It looks like the dimensions of the transistors inside the inverter are wrong. Please use a minimum L=0.15 and a minimum W=0.42.
Do not use 'u' or 'e-6' suffixes as sky130 scales all numbers down by 1e6.
If you are using _lvt transistors the minimum L must be somewhat higher.
Stefan Schippers
11/30/2022, 10:29 PM
If dimensions are OK and error persist send the netlist (the .spice file)
p
Pritesh Ps
12/01/2022, 9:46 AM
@Stefan Schippers thank you for attention.
yeah dimensions, paths, etc are correct. checked multiple times.
I spend last night finding the problem and to my notice there was convergence issue. also i noticed sometimes symbols are not properly/ partially visible. i removed the xschem and installed again and out of nowhere it worked. 😅