Hi all. Thanks. spice-sdb fixed the problem. In addition I had a mistake in path to model file. But I had to rename models to Q2N2222. If model name was 2N2222 ia had mesage: Warning: singular matrix: check nodes 2N2222 and 2N2222. And it was running out of iterations. here is the working netlist :-). * gnetlist -g spice-sdb -o [1]basic2n2222a.net basic2n2222a.sch ********************************************************* * Spice file generated by gnetlist * * spice-sdb version 4.28.2007 by SDB -- * * provides advanced spice netlisting capability. * * Documentation at [2]http://www.brorson.com/gEDA/SPICE/ * ********************************************************* *vvvvvvvv Included SPICE model from /home/petro/GEDA/PROJECTS/BASIC_2N2222/modells/2N2222.mod vvvvvvvv .model Q2N2222 NPN(IS=1E-14 VAF=100 + BF=200 IKF=0.3 XTB=1.5 BR=3 + CJC=8E-12 CJE=25E-12 TR=100E-9 TF=400E-12 + ITF=1 VTF=2 XTF=3 RB=10 RC=3 RE=1 Vceo=30 Icrating=800m mfg=Philips) *^^^^^^^^ End of included SPICE model from /home/petro/GEDA/PROJECTS/BASIC_2N2222/modells/2N2222.mod ^^^^^^^^ * *============== Begin SPICE netlist of main design ============ Q1 n2 n1 0 Q2N2222 Vbe n1 0 DC 0.7 Vce n2 0 DC 1 **added .control by hand dc Vce 0 6V 0.001V plot -i(Vce) **the end of addition .endc .end
On Thu, Jul 16, 2009 at 12:34 AM, John Doty <[3]...@noqsi.com> wrote: On Jul 15, 2009, at 7:35 AM, Piter_ wrote: > now if i run: > gnetlist -g spice -o [1][4]basic2n2222.net basic2n2222.sch > I get this net-file: > * Spice netlister for gnetlist > V2 n1 0 Vbe > V1 n2 0 Vce > Q1 n2 n1 0 <No valid value attribute found> > A1 <No valid value attribute found> > .END > What have i done wrong? You're using the old SPICE netlist backend. Been years since I used it, so I don't remember its needs, and I don't know where to find any documentation. Use the newer spice-sdb back end. See [5]www.brorson.com/ gEDA/SPICE/intro.html for details. Or try Anthony's more specialized netlister, let us know how it works. John Doty Noqsi Aerospace, Ltd. [6]http://www.noqsi.com/ [7]...@noqsi.com _______________________________________________ geda-user mailing list [8]geda-u...@moria.seul.org [9]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user References 1. http://basic2n2222a.net/ 2. http://www.brorson.com/gEDA/SPICE/ 3. mailto:j...@noqsi.com 4. http://basic2n2222.net/ 5. http://www.brorson.com/ 6. http://www.noqsi.com/ 7. mailto:j...@noqsi.com 8. mailto:geda-user@moria.seul.org 9. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
_______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user