<@U0175T39732> when running Xyce on Skywater 130, ...
# xyce
e
@User when running Xyce on Skywater 130, are you using the command line option
Xyce -hspice-ext all  netlist.sp
? It may not be necessary. But there are a handful of features that are hard to support otherwise. One of them (for example) is the “a” suffix. In Hspice it means “atto” (or a 1.0e-18 scalar). But in a lot of other simulators the “a” suffix just means units of amps, so there would not be a scalar. Actually, at this point, that may be the only thing …
m
I was not using that option. I actually tried to run the sky130 libs with hspice and it fails, so I'm not sure that option will be a good idea. They targetted ngspice instead.
e
Ah. Good to know. You are probably right. Another unresolvable difference (in terms of parsing) is that Xyce considers “log” to mean log10. In Hspice it assumes “log” means natural log. There isn’t a way to make the code support both simultaneously, so that gets toggled by that command line option.
But if the PDK is targetted at ngspice, then this is moot.