If the variable (17.7) ngbehavior is set to hs with the command
set ngbehavior=hs
HSPICE compatibility mode is enabled. This mode allows to read
libraries with the .lib command in a recursive fashion, as is required by HSPICE com-
patible process development kits (PDKs) In addition the nf flag is enabled, as described
in 16.14.9
Adding 'a' (
set ngbehavior=hsa
) will do some hspice translations for the whole netlist, not only the parts added with
.include
n
Nelson Rodriguez
11/03/2022, 2:38 AM
Hi Stefan, what happen I don't set the ngbehavior in that way? I mean, why and when should I use that compatibility mode?
s
Stefan Schippers
11/03/2022, 1:03 PM
@Nelson Rodriguez for sky130 pdk you should always set
ngbehavior=hsa
, since the .lib and model files use the hspice-like syntax. If you don't set that, you probably run into some problems when selecting lib corners (tt, ss, sf, ff,...)
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.