Hello everyone, I would like to know why it is suggested to add this command when working with pdk m...
n
Hello everyone, I would like to know why it is suggested to add this command when working with pdk models? Thanks in advance. Source: https://sourceforge.net/p/ngspice/discussion/133842/thread/74b4473877/#61ca
s
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
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
@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,...)
👍 1