ng-spice bugs (fwd)


To ng-spice@ieee.ing.uniroma1.it
From Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Date Fri, 24 Sep 1999 10:17:58 +0200 (CEST)
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice@ieee.ing.uniroma1.it



---------- Forwarded message ----------
Date: Wed, 22 Sep 1999 12:29:05 -0700 (PDT)
From: "[iso-8859-1] David Botting" <davebotting@yahoo.com>
To: pnenzi@ieee.ing.uniroma1.it
Subject: ng-spice bugs

Hi 

I have been hacking around at spice for some time and am aware
that quite a few circuits fail because of a node name parser
bug.  This occurs when alpha characters are used for node names
especially node names starting with 'e'. This is because the 'e' get
interpreted as an exponent.  Other letters also seem to confuse the 
parser.  Many of the circuits would work if all the nodes are made
numeric.
  I have believe the problem code to be in the file:-

src\lib\inp\inpeval.c    (94):

in the function:-

double INPevaluate(line,error,gobble)

around line...

if((*here == 'E') || (*here == 'e') || (*here == 'D') || (*here == 'd')
) {



I won't have time to investigate this one further for a while
but i hope this might help.

Great to hear the spice is back in development.

      Regards    Dave Botting
                 DB Soft UK Limited


Bug circuits below may be simptoms of bug outlined above.
-----------------------------------------------------------------------------

check.bug       ???
        Warning: vdummy: has no value, DC 0 assumed
        Warning: singular matrix:  check nodes e2#branch and 1

        Warning: singular matrix:  check nodes e2#branch and e2#branch

        Note: starting Gmin stepping


mos_ckt.bug
        Warning: Gmin stepping failed
        Note: starting source stepping
        Warning: singular matrix:  check nodes vin#branch and vin#branch

        Warning: source stepping failed
        doAnalyses: Matrix is singular

mv.bug  Loop of inductors
        Warning: singular matrix:  check nodes l1#internal and l1#internal

        Warning: Gmin stepping failed
        Note: starting source stepping
        Warning: singular matrix:  check nodes l1#internal and l1#internal

        Warning: source stepping failed
        doAnalyses: Matrix is singular


sensx.cir
        Warning: singular matrix:  check nodes eterug2#branch and 20

        Note: starting Gmin stepping
        Note: One successful Gmin step
        Note: One successful Gmin step
        Note: One successful Gmin step
        Warning: Gmin step failed
        Note: Gmin stepping completed





__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


Partial thread listing: