Re: gEDA-user: ngspice subckt problems

2008-08-15 Thread Christoph Lechner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 al davis wrote: > [Spice differences and troubles ...] > > If you want to use Gnucap, I will help you make it work. It > will help me, by having a set of real files that somebody is > using. Thank you for that offer. Today I picked some old machin

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread al davis
On Thursday 14 August 2008, Christoph Lechner wrote: > Hmm, looks like the g++ compiler of Debian 3.1 (still running > that fairly 'mature' distro :) can't handle the source code > of gnucap. Looks like the code of gnucap triggers some bug in > the really old g++ version that shipped with Debian 3.

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread al davis
On Thursday 14 August 2008, Christoph Lechner wrote: > I'm just trying to use my spice model in ngspice. > LTspice/SwitcherCad from Linear Technology runs it like a > charm. > > If I run ngspice I get some error messages: > Too few parameters for subcircuit type "12at7" (instance: > x102) Too few p

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread Christoph Lechner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stuart Brorson wrote: > Alternately, why don't you grab the latest Gnucap? Al (the main > developer) updates the release tarball quite regularly. Hmm, looks like the g++ compiler of Debian 3.1 (still running that fairly 'mature' distro :) can't handle

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread Stuart Brorson
> OK, I'm not that familiar with the Spice subcircuit syntax. Actually I > considered Spice as some sort of black-box. If you want to successfully use ngspice, you're best off reading up on SPICE syntax and usage. It's not a black box yet, and while manual intervention is not always necessary, it

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread Christoph Lechner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Werner Hoch wrote: > Hi Christroph, Hi Werner, > On Donnerstag, 14. August 2008, Christoph Lechner wrote: >> Uploaded this file as well >> http://www.cl-projects.de/projects/sc/triode2-stripped-down.cir > > You're .SUBCKT line is longer: > .SUBCKT 12

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread Werner Hoch
Hi Christroph, On Donnerstag, 14. August 2008, Christoph Lechner wrote: > Uploaded this file as well > http://www.cl-projects.de/projects/sc/triode2-stripped-down.cir You're .SUBCKT line is longer: .SUBCKT 12AT7 1 2 3 + PARAMS: MU=60 EX=1.35 KG1=460 KP=300 KVB=300 RGI=2000 + CCG=2.3P CGP=2.2P CC

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread Christoph Lechner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stuart Brorson wrote: >> 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 mode

Re: gEDA-user: ngspice subckt problems

2008-08-14 Thread Stuart Brorson
> 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

gEDA-user: ngspice subckt problems

2008-08-14 Thread Christoph Lechner
-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 run