Hello everyone. I'm asking on behalf of a friend...
# sky130
e
Hello everyone. I'm asking on behalf of a friend. Please what could be the cause of the error messages for the sky130 model? And any solution.
m
@Emmanuel Innocent Can you share the actual spice netlist you are simulating? The parameters in the error log do not appear to match the schematic shown (there is no nfet with L=1 in the schematic).
s
Do not place twice the model symbol. Either use the
corner.sym
or the
code.sym
.
e
@Mitch Bailey
@Stefan Schippers please I used either of the two, but there's still no change.
m
Looks like the spice netlist matches the schematic. Are you sure you want to fix Vin at 1.8V and set VDD as a pulse? Inverter simulations are usually the opposite, I think. The error log shows
Cannot compute substitute
at line 0, 43, and 45. See if you can identify why those are occurring. As long as you have
Numparam expansion errors
, I doubt that ngspice will run successfully. If possible, sharing files instead of screen shots is helpful.
e
Here is the file @Mitch Bailey
m
Can you share the spice file that’s being simulated?
e
@Mitch Bailey
s
I can simulate the file no problem. Please place a
.spiceinit
file in the directory where ngspice runs the simulation (same dir as the one containing the .spice file) with following content:
Copy code
set ngbehavior=hsa
set ng_nomodcheck 
# set filetype=ascii
set num_threads=4
# set strict_errorhandling=1
👍 1
e
Thank you very much @Stefan Schippers. B I've tried this but it's still not working.
s
What is the ngspice version?
ngspice -v
if you can't find any other explanation for the problem please update magic and open_pdks and rebuild the sky130 pdk
e
It's version 42. Okay. Thank you very much @Stefan Schippers and @Mitch Bailey.