* 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=4

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

* Load the codemodels
if $?xspice_enabled

* codemodel /usr/pkg/lib/ngspice/spice2poly.cm
* codemodel /usr/pkg/lib/ngspice/analog.cm
* codemodel /usr/pkg/lib/ngspice/digital.cm
* codemodel /usr/pkg/lib/ngspice/xtradev.cm
* codemodel /usr/pkg/lib/ngspice/xtraevt.cm
* codemodel /usr/pkg/lib/ngspice/table.cm

end

* Load the OpenVAF/OSDI models
if $?osdi_enabled

 osdi /usr/pkg/lib/ngspice/asmhemt.osdi
 osdi /usr/pkg/lib/ngspice/bjt504t.osdi
 osdi /usr/pkg/lib/ngspice/BSIMBULK107.osdi
 osdi /usr/pkg/lib/ngspice/BSIMCMG.osdi
 osdi /usr/pkg/lib/ngspice/HICUMl0-2.0.osdi
 osdi /usr/pkg/lib/ngspice/psp103.osdi
 osdi /usr/pkg/lib/ngspice/r2_cmc.osdi
 osdi /usr/pkg/lib/ngspice/vbic_4T_et_cf.osdi
 
end

