Hi <@U016EM8L91B>, I got some errors when doing po...
# magic
x
Hi @Tim Edwards, I got some errors when doing post layout simulation. The error is like:
Copy code
Original line no.: 0, new internal line no.: 16625:
Mismatch: 12 formal but 21 actual params.
rbody=w;rbody=l;rbody=mult;rbody=2000.0;rbody=-1.00e-3;rbody=-1.00e-4;rbody=-2.02e-2;rbody=1.55e-1;rbody=4.61e-2;rbody=0.0347;rbody=-7.1e-3;rbody=17.23/w+2.318;
Original line no.: 0, new internal line no.: 16711:
Undefined number [vc1_body]
Original line no.: 0, new internal line no.: 16711:
Cannot compute substitute
Original line no.: 0, new internal line no.: 16715:
Undefined number [rend]
Original line no.: 0, new internal line no.: 16715:
Cannot compute substitute
I am not sure whether these errors are related to my
sky130_fd_pr__res_xhigh_po_2p85
. The related spice code in my extracted file is like:
Copy code
.subckt sky130_asc_res_xhigh_po_2p85_1 Rin Rout VPWR VGND a_2148_115#
X0 Rin a_2148_115# VGND sky130_fd_pr__res_xhigh_po_2p85 l=7.88e+06u
X1 Rout a_2148_115# VGND sky130_fd_pr__res_xhigh_po_2p85 l=7.88e+06u
C0 VPWR a_2148_115# 0.17fF
C1 VPWR Rin 0.17fF
C2 Rin Rout 0.12fF
C3 VPWR VGND 2.31fF
C4 Rout VGND 1.26fF
C5 Rin VGND 0.78fF
C6 a_2148_115# VGND 2.70fF
.ends
Would you mind giving me some hints about this error? Thanks a lot!
t
This is an issue with the simulator and device models, not magic. What simulator are you using? How are you including the device models?
x
We used ngspice simulator. We included the device in our layout using magic, and then extracted the circuit’s spice file from the layout.
t
Yes, so how are you including the device?
x
using
.lib .../PDKs/open_pdks_1.0.310/sky130/sky130A/libs.tech/ngspice/sky130.lib.spice tt
t
Well, all that looks right. What version is ngspice?
x
ngspice 33
t
Ah. Make sure you're using ngspice-36.
x
Ok, thanks!
c
Why ngspice 33? I just checked farmshare server, we installed ngspice 36. Can you help me confirm again? @Xingyu Ni
image.png
x
I am now using ngspice 36 @Can Wang
1