StefanSchippers / xschem_sky130

XSCHEM symbol libraries for the Google-Skywater 130nm process design kit.
Apache License 2.0
57 stars 12 forks source link

ngspice run error #6

Closed ratul619 closed 2 years ago

ratul619 commented 2 years ago

Hi Stefan ,

Based on your video tutorial , i have installed xschem and ngspice with sky 130. Also applied the patch as shown in the video.

patching file cells/pfet_01v8_mvt/sky130_fd_prpfet_01v8_mvt.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_pr__pfet_g5v0d10v5ff.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_prpfet_g5v0d10v5__fs.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_prpfet_g5v0d10v5leak.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_prpfet_g5v0d10v5.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_prpfet_g5v0d10v5sf.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_prpfet_g5v0d10v5__ss.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_prpfet_g5v0d10v5tt_leak.pm3.spice patching file cells/pfet_g5v0d10v5/sky130_fd_prpfet_g5v0d10v5tt.pm3.spice patching file cells/pfet_g5v0d16v0/sky130_fd_prpfet_g5v0d16v0.pm3.spice patching file cells/pfet_g5v0d16v0/sky130_fd_prpfet_g5v0d16v0subcircuit.pm3.spice patching file models/r+c.mrp1monte.spice

But still getting error while running ngspice :

sky130_fd_prnfet_g5v0d10v5__kvth0_diff} lkvth0={0+sky130_fd_prnfet_g5v0d10v5lkvth0_diff} wkvth0={0+sky130_fd_pr__nfet_g5v0d10v5wkvth0_diff} pkvth0=0.0 llodvth=0.0 wlodvth=1.0 stk2=0.0 lodk2=1.0 lodeta0=1.0 ku0={0+sky130_fd_prnfet_g5v0d10v5__ku0_diff} lku0={0+sky130_fd_prnfet_g5v0d10v5lku0_diff} wku0={0+sky130_fd_pr__nfet_g5v0d10v5wku0_diff} pku0=0.0 llodku0=0.0 wlodku0=1.0 kvsat={0+sky130_fd_prnfet_g5v0d10v5__kvsat_diff} steta0=0.0 tku0=0.0 Original line no.: 0, new internal line no.: 16543: Cannot compute substitute Original line no.: 0, new internal line no.: 16544: Undefined number [w] Original line no.: 0, new internal line no.: 16544: Expression err: lwmult)))} dtox=0.0 ndep=1.7000000000000000e+17 nsd=1.0e+20 rshg=0.1 rsh=1.0 vth0={0.789731232828288+sky130_fd_prnfet_g5v0d10v5vth0_slope_spectre*(sky130_fd_prnfet_g5v0d10v5__vth0_slope/sqrt(lwmult))} lvth0=2.9729

Thanks

ratul619 commented 2 years ago

Some other issue related to spice parameter : Closing for now