Hi, I am trying to setup a simulation on Xyce, but...
# xyce
t
Hi, I am trying to setup a simulation on Xyce, but I am running into this issue about not finding the subcircuit.
Netlist error in file ./dcdcInst_test.spice at or near line 13
Subcircuit SKY130_FD_PR__NFET_01V8 has not been defined for instance X1
Simulation aborted due to error.  There are 0 MSG_FATAL errors and 1 MSG_ERROR
I think it it not including all the needed files? How should I write all the includes? I am writing the .lib line like the following, and the open_pdks I am using is from some time in last December
.lib "./../OpenLane/pdks/sky130A/libs.tech/ngspice/sky130.lib.spice" tt
Thanks!
r
I'm fairly certain that there've been significant updates since then per this thread: https://skywater-pdk.slack.com/archives/C01TLV579C5/p1644088508295739?thread_ts=1644047471.030959&cid=C01TLV579C5 I'm not quite sure, since I use the SPICE from the sky130 github (plus some scripts to adjust it) instead of the open_PDK version.
t
Thanks! I will try rebuilding the pdks with the updated repo
t
I think only a development branch of Xyce understands the standard
.option scale
line in
all.spice
. Depending on the version of Xyce, you might need to change that line to
.options parser scale=1.0u
. But that generally ends with a parser error, not an error about an undefined subcircuit.
t
Thanks! @User