X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 96.237.173.45 X-Authenticated-UID: jpd AT noqsi DOT com From: John Doty Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: multipart/alternative; boundary=Apple-Mail-1--228977701 Subject: Re: [geda-user] gschem/ngspice practices Date: Sun, 7 Jul 2013 12:40:13 -0400 In-Reply-To: To: geda-user AT delorie DOT com References: Message-Id: <19DED140-26D5-464A-8B96-CC513676AE66@noqsi.com> X-Mailer: Apple Mail (2.1085) 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 Precedence: bulk --Apple-Mail-1--228977701 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jul 7, 2013, at 11:28 AM, Nathan Stewart wrote: > I realize most spice stuff is moderately off topic here, but since we = do have the spice directive components.. Is there a nice way to give a = symbolic name to a node so that I don't have to change my simulation = statements if the netlist is modified? In this case, I did have a = resistor to ground on the output of my circuit - a convenient place to = put: >=20 > .plot dc V(R1)=20 >=20 > but for three terminal devices that doesn't work. Is there a way to = refer to the node represented by say Q3.1 or something to that effect? The easy way is to attach a netname=3D attribute to the net attached to = the pin in question. It'll end up with that name in the netlist. My experimental spice-noqsi backend for gnetlist will expand strings of = the form Q3#1 into the net name attached to that pin when it appears in = a spice-prototype=3D, spice-prolog=3D, or spice-epilog=3D attribute. I = need to document this :-(. But for most purposes I use netname=3D = anyway. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail-1--228977701 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
I realize most spice stuff is = moderately off topic here, but since we do have the spice directive = components.. Is there a nice way to give a symbolic name to a node so = that I don't have to change my simulation statements if the netlist is = modified? In this case, I did have a resistor to ground on the output of = my circuit - a convenient place to put:

.plot dc V(R1)

but for three terminal devices that = doesn't work. Is there a way to refer to the node represented by say = Q3.1 or something to that effect?

The easy way is to attach a netname=3D = attribute to the net attached to the pin in question. It'll end up with = that name in the netlist.

My experimental = spice-noqsi backend for gnetlist will expand strings of the form Q3#1 = into the net name attached to that pin when it appears in a = spice-prototype=3D, spice-prolog=3D, or spice-epilog=3D attribute. I = need to document this :-(. But for most purposes I use netname=3D = anyway.

John Doty              Noqsi = Aerospace, Ltd.

http://www.noqsi.com/

jpd AT noqsi DOT com



= --Apple-Mail-1--228977701--