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

Re: gEDA-user: SPICE problems



1.  Make sure you configure ngspice with teh --enable-xspice flag set.

2.  It looks like ngspice can't find the spinit file, or the spinit
file has the codemodels commented out.  Older versions of
ngspice/tclspice install spinit with the codemodel declarations
commented it out.  You need to find your spinit file and edit it.
(Spinit = spice init file).

3.  Tclspice is dead; development stopped at least a couple of years
ago.  Use the latest ngspice -- preferably from CVS -- instead.  Yes I
know my doc talks about using tclspice.   I need to update my docs.

Stuart


> 
> 
> --=-PNZf8H/liXh1u9IQ+hoM
> Content-Type: text/plain
> Content-Transfer-Encoding: 7bit
> 
> People,
> 
> I've used SPICE, ngspice actually, in the past with excellent results.
> However, I recently updated my operating system to CentOS and in that
> course I had to reload ngspice.  I did that reload today and installed
> tclspice-0.2.18.
> 
> I had done some considerable amount of SPICE work on an amplifier design
> over a year ago, and have now reached the checkout phase on that
> project.  In the course of today's work, things weren't working out, so
> I needed to go back to the SPICE runs of a year ago and look at what
> they were telling me.  However, I can't seem to run the new version of
> ngspice on those files.  I have tried netlisting the files again, but
> this does not solve the problems.
> 
> I have attached a copy of the start of one of these runs below.  Could
> someone please provide some insight as to just what is going on?
> 
> I thank you.
> 
> 	Harold Skank
> 
> --=-PNZf8H/liXh1u9IQ+hoM
> Content-Disposition: attachment; filename=spice.txt
> Content-Type: text/plain; name=spice.txt; charset=UTF-8
> Content-Transfer-Encoding: 7bit
> 
> ******
> ** tclspice-0.2.18 : Circuit level simulation program
> ** The U. C. Berkeley CAD Group
> ** Copyright 1985-1994, Regents of the University of California.
> ** Please submit bug-reports to: ngspice-devel@xxxxxxxxxxxxxxxxxxxxx
> ** Creation Date: Wed Jun 21 16:41:32 CDT 2006
> ******
> 
> Circuit: * gnetlist -g spice-sdb -o output.net PwrAmp.sch
> 
> Warning -- Level not specified on line "(   is   =2.3985e-13   bf   =244.9   nf   =1.0   br   =78.11   nr   =1.007   ise  =1.0471e-14   ne   =1.2   isc  =1.9314e-11   nc   =1.45   vaf  =98.5   var  =7.46   ikf  =1.1863   ikr  =0.1445   rb   =2.14   rbm  =0.001   irb  =0.031   re   =0.0832   rc   =0.01   cje  =2.92702e-10   vje  =0.67412   mje  =0.3300   fc   =0.5   cjc  =4.8831e-11   vjc  =0.5258   mjc  =0.3928   xcjc =0.5287   xtb  =1.1398   eg   =1.2105   xti  =3.0          )"
> Using level 1.
> Warning -- Level not specified on line "(   is   =2.9537e-13   bf   =201.4   nf   =1.0   br   =23.765   nr   =1.021   ise  =1.8002e-13   ne   =1.5   isc  =7.0433e-12   nc   =1.38   vaf  =137.0   var  =8.41   ikf  =1.0993   ikr  =0.10   rb   =1.98   rbm  =0.01   irb  =0.011   re   =0.1109   rc   =0.01   cje  =2.1982e-10   vje  =0.7211   mje  =0.3685   fc   =0.5   cjc  =6.8291e-11   vjc  =0.5499   mjc  =0.3668   xcjc =0.5287   xtb  =1.4883   eg   =1.2343   xti  =3.0          )"
> Using level 1.
> Warning -- Level not specified on line "(bf=100 is=1e-15)"
> Using level 1.
> Warning -- Level not specified on line "(bf=100 is=1e-15)"
> Using level 1.
> Warning -- Level not specified on line "(bf=50e6)"
> Using level 1.
> Warning -- Level not specified on line "(bf=100 is=1e-15)"
> Using level 1.
> Warning -- Level not specified on line "(bf=100 is=1e-15)"
> Using level 1.
> Error on line 0 : a$poly$e:4:os %vd [ 4:30 4:33 ] %vd ( 4:9 4:10 ) a$poly$e:4:os
> 	 MIF-ERROR - unable to find definition of model a$poly$e:4:os
> Error on line 0 : .model a$poly$e:4:os spice2poly coef = [ 20e-6 1 ]
> 	Unknown model type spice2poly - ignored
> Error on line 0 : a$poly$g:4:5 %vd [ 4 4:33 5 4:33 ] %id ( 4:98 4:30 ) a$poly$g:4:5
> 	 MIF-ERROR - unable to find definition of model a$poly$g:4:5
> Error on line 0 : .model a$poly$g:4:5 spice2poly coef = [ 0 250.5e-9 250.5e-9 ]
> 	Unknown model type spice2poly - ignored
> Error on line 0 : a$poly$g:4:sy %vd [ pvpwr nvpwr ] %id ( pvpwr nvpwr ) a$poly$g:4:sy
> 	 MIF-ERROR - unable to find definition of model a$poly$g:4:sy
> Error on line 0 : .model a$poly$g:4:sy spice2poly coef = [ 1.8e-3 40e-6 ]
> 	Unknown model type spice2poly - ignored
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> tclspice 24 -> 
> 
> --=-PNZf8H/liXh1u9IQ+hoM
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
> 
> --=-PNZf8H/liXh1u9IQ+hoM--
> 
> 

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