www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/07/07/12:40:45

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 <jpd AT noqsi DOT com>
Mime-Version: 1.0 (Apple Message framework v1085)
Subject: Re: [geda-user] gschem/ngspice practices
Date: Sun, 7 Jul 2013 12:40:13 -0400
In-Reply-To: <CACPio-4nQX_VqWxUXVoC=EsF1SR43J1Mn0LHg_bOB945fArs3Q@mail.gmail.com>
To: geda-user AT delorie DOT com
References: <CACPio-4nQX_VqWxUXVoC=EsF1SR43J1Mn0LHg_bOB945fArs3Q AT mail DOT gmail DOT com>
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

--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

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Jul 7, 2013, at 11:28 AM, Nathan Stewart =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div dir=3D"ltr"><div>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:<br>
</div><br>.plot dc V(R1) <br><br>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?<br></div>
</blockquote><br></div><div>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.</div><div><br></div><div>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.</div><br><div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><p style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">John Doty<span =
class=3D"Apple-converted-space">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><span =
class=3D"Apple-converted-tab">&nbsp; &nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span>Noqsi =
Aerospace, Ltd.</font></p><p style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><a href=3D"http://www.noqsi.com/">http://www.noqsi.com/</a></p><p =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica"><a =
href=3D"mailto:jpd AT noqsi DOT com">jpd AT noqsi DOT com</a></font></p><br =
class=3D"Apple-interchange-newline"></span></span>
</div>
<br></body></html>=

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

- Raw text -


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