-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all,
(this is actually a ngspice posting, so maybe it's off-topic?) I'm just trying to use my spice model in ngspice. LTspice/SwitcherCad from Linear Technology runs it like a charm. The .cir file was created from my gschem schematics file by running "gnetlist -g spice-sdb -o triode2.cir triode2.sch". getnetlist -g drc2 runs without any error message in the DRC file. It only prints some warnings: NOTE: Found pins without the 'pintype' attribute: X102:1 X102:2 X101:1 X102:3 X101:3 X101:2 But I don't believe that these have something to do with my problem. If I run ngspice I get some error messages: Too few parameters for subcircuit type "12at7" (instance: x102) Too few parameters for subcircuit type "12at7" (instance: x101) The 12at7 subcircuit model is a triode model by Norman Koren: http://www.normankoren.com/Audio/Tubemodspice_article.html It appears to me that the offending line in the spice file is X102 vplate2 vg2 vcat 12AT7 The subcircuit in the model file begin with .SUBCKT 12AT7 1 2 3 ; P G C So I really don't know where's the problem :( For the curious: PDF of the schematic http://www.cl-projects.de/projects/sc/triode2.pdf .cir file working fine in LTSpice http://www.cl-projects.de/projects/sc/triode2.cir The background of why I now want to use ngspice is that I want to play with the parameters a little bit to get out the maximum possible output voltage swing. (This circuit is intended for scope tube deflection.) => Lots of simulation runs. So one needs some sort of scriptable spice environment, for example a UNIX command line program :) What's wrong? regards, Christoph -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIpGRjWo2QgtqY4K8RAvWuAJ9PG1fKawvcTjNb1cTB63qiHcqsIACgikB8 l/SC50rXyXfurqFFZMPS5mQ= =8DpZ -----END PGP SIGNATURE----- _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

