* Standard ngspice init file
alias exit quit
alias acct rusage all
set x11lineararcs
*set rndseed=12
** ascii rawfile **
*set filetype=ascii
** frontend debug output **
*set ngdebug
** asking after quit **
*set askquit
** set the number of threads in openmp
** default (if compiled with --enable-openmp) is: 2
set num_threads=8

* comment out if central osdi management is set up
unset osdi_enabled

* Load the codemodels
if $?xspice_enabled

@XSPICEINIT@ codemodel @pkglibdir@/spice2poly.cm
@XSPICEINIT@ codemodel @pkglibdir@/analog.cm
@XSPICEINIT@ codemodel @pkglibdir@/digital.cm
@XSPICEINIT@ codemodel @pkglibdir@/xtradev.cm
@XSPICEINIT@ codemodel @pkglibdir@/xtraevt.cm
@XSPICEINIT@ codemodel @pkglibdir@/table.cm
@XSPICEINIT@ codemodel @pkglibdir@/tlines.cm

end

* Load the OpenVAF/OSDI models
if $?osdi_enabled

 osdi @pkglibdir@/asmhemt.osdi
 osdi @pkglibdir@/bjt504t.osdi
 osdi @pkglibdir@/BSIMBULK107.osdi
 osdi @pkglibdir@/BSIMCMG.osdi
 osdi @pkglibdir@/HICUMl0-2.0.osdi
 osdi @pkglibdir@/psp103_nqs.osdi
 osdi @pkglibdir@/psp103.osdi
 osdi @pkglibdir@/r2_cmc.osdi
 osdi @pkglibdir@/vbic_4T_et_cf.osdi
 
end

