Hi, I face a problem while using gnucap. If a model is used in circuit netlist and saved into a file errors are showing up. I copy the related output below: vs...@vsrks-laptop:~$ gnucap Gnucap 2008.05.27 RCS 26.81 The Gnu Circuit Analysis Package Never trust any version less than 1.0 Copyright 1982-2007, Albert Davis Gnucap comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under the terms of the GNU General Public License, version 3 or later. See the file "COPYING" for details. gnucap> build >.model 1N4148 D >.model 2N2222 npn > gnucap> list .model 1N4148 d ( tnom=NA( 27.) is=NA( 10.f) rs=NA( 0.) n=NA( 1.) tt=NA( 0.) cjo=NA( NA) pb=NA( NA) mj=NA( 0.5) egap=NA( 1.11) xti=NA( 3.) fc=NA( 0.5)) .model 2N2222 npn ( level=1 kf=NA( 0.) af=NA( 1.) bf=NA( 100.) br=NA( 1.) is=NA( NA) nf=NA( 1.) nr=NA( 1.) c4=NA( 0.) nc=NA( 2.) c2=NA( 0.) ne=NA( 1.5) rb=NA( 0.) re=NA( 0.) rc=NA( 0.) cjc=NA( 0.) cje=NA( 0.) cjs=NA( 0.) mjc=NA( 0.33) mje=NA( 0.33) mjs=NA( 0.) vjc=NA( 0.75) vje=NA( 0.75) vjs=NA( 0.75) xcjc=NA( 1.) itf=NA( 0.) ptf=NA( 0.) tf=NA( 0.) tr=NA( 0.) xtf=NA( 0.) xtb=NA( 0.) xti=NA( 3.) eg=NA( 1.11)) gnucap> save [1]testckt.net gnucap> get [2]testckt.net ' .model 1N4148 d ( tnom=NA( 27.) is=NA( 10.f) rs=NA( 0.) n=NA ^ ? what's this? .model 2N2222 npn ( level=1 kf=NA( 0.) af=NA( 1.) bf=NA( 100 ^ ? what's this? My question is whether default values are being used for simulation? Why default values are prefixed by NA. Am i supposed delete NAs if i want the default values to be used? (Though here i included only models of two devices, same error is seen in larger circuits) -- vsrk sarma
References 1. http://testckt.net/ 2. http://testckt.net/
_______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user