delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/01/16/12:43:50

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Mime-Version: 1.0 (Apple Message framework v1085)
Subject: Re: [geda-user] gnetlist hierarchy uref order setting
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <CACNnPRnyahDE8Hhhyc6+UFE6=55zmWVP1f8m=E-p4CJWOb=2=g@mail.gmail.com>
Date: Wed, 16 Jan 2013 10:43:24 -0700
Message-Id: <6C1F8807-DFAD-4256-8F70-BD4AF4EF3A3E@noqsi.com>
References: <CACNnPRkowensyyy0pneO0VJeDaMpaMqms-74wCwM=Rtd-bDQHg AT mail DOT gmail DOT com> <644026BD-F6E6-4533-B450-A91CAF83937A AT noqsi DOT com> <CACNnPRnyahDE8Hhhyc6+UFE6=55zmWVP1f8m=E-p4CJWOb=2=g AT mail DOT gmail DOT com>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1085)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r0GHhVVD006259
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Jan 16, 2013, at 2:53 AM, Abhijit Kshirsagar wrote:

> I am using spice-sdb, but unless i specify "prepend" my netlists are
> unusable for SPICE. Here is a minimal example, with geda-gaf 1.8:
> <http://www.cedt.iisc.ernet.in/people/students/kabhijit/Files/HierarchyTest-post%20to%20gEDA-user.tar.gz>

Interesting. Stuart seems not to have implemented refdes "munging" for all of the components he lists at http://www.brorson.com/gEDA/SPICE/x631.html. But my experimental spice-noqsi backend (https://github.com/noqsi/gnet-spice-noqsi), intended to be mostly compatible with spice-sdb, gets the resistors right for this case. I seem to have implemented Stuart's design better than his own code does here ;-)

The only incompatibility in this case is that spice-noqsi doesn't identify GND with node 0. This is intentional, to allow you to model parasitics in the interconnections between subcircuits. For simple simulations, I just connect GND to node 0 through a 1 ohm resistor at my simulated "power supply". Note that this method requires an explicit ground connection to subcircuits. If you want the old behavior, make a GND symbol with net=0:1.

I guess I should no longer consider this back end experimental. I've been using it intensively for months now. Time to write some documentation.

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019