[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: ngspice subckt problems



-----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 12AT7 1 2 3
> + PARAMS: MU=60 EX=1.35 KG1=460 KP=300 KVB=300 RGI=2000
> + CCG=2.3P  CGP=2.2P CCP=1.0P
> 
> The lines beginning with '+' are part of the subcircuit definition.
OK, I'm not that familiar with the Spice subcircuit syntax. Actually I
considered Spice as some sort of black-box.

> These are parameters of the subcircuit. ngspice can not simulate such 
> subcircuits by default. 
> 
> You have to build ngspice with the configuration 
> option --enable-numparam.
Have tried this, but it didn't help me either.

I ran
./configure --prefix=/opt/ngspice --enable-numparam --enable-xgraph
to configure the new Spice installation. Then I did the usual 'make' and
'make install' stuff.

The tarball I downloaded is "ng-spice-rework-17.tar.gz", dated 2005-08-30.


I'm also sure that I run the right ngspice binary in /opt/ngspice,
because I can only run 'ngspice' on my command line when I add
/opt/ngspice/bin to my path.

Or do I need some developer version, as the one I used is about 3 years old?

regards
	Christoph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIpIUhWo2QgtqY4K8RAijkAJsFuihrdebvczi205ZbuXiApkli5wCghcQ1
B9gS1gjPxlnbb+DgoVvR4nE=
=w2iL
-----END PGP SIGNATURE-----


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user