help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnucap] problem in using models in gnucap


From: vsrk
Subject: [Help-gnucap] problem in using models in gnucap
Date: Wed, 29 Apr 2009 21:48:19 -0700 (PDT)

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:
  address@hidden:~$ 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 testckt.net
  gnucap> get 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
-- 
View this message in context: 
http://www.nabble.com/problem-in-using-models-in-gnucap-tp23309849p23309849.html
Sent from the Gnucap - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]