delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/01/27/20:10:36

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-TCPREMOTEIP: 66.112.37.137
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] gnetlist spice-sdb subcircuit parameters
Date: Mon, 27 Jan 2014 18:09:23 -0700
In-Reply-To: <CACPio-7RRCWG6Q0j5YdyoSbdYJXJg+vvwVjBCdjYnqQt-vWoDw@mail.gmail.com>
To: geda-user AT delorie DOT com
References: <CACPio-7RRCWG6Q0j5YdyoSbdYJXJg+vvwVjBCdjYnqQt-vWoDw AT mail DOT gmail DOT com>
Message-Id: <7851A58F-AA21-4922-A95C-AFC525CFA38D@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-101-247302936
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Jan 27, 2014, at 11:12 AM, Nathan Stewart wrote:

> I've used subcircuits with parameters before without issue, but I'm =
not certain why I can't now.
>=20
> I've attached my schematic, but the key attributes are:
> refdes=3DX1
> device=3DPFWR
> file=3Dfwr.inc
> model=3Dgain=3D2


My new back end at https://github.com/noqsi/gnet-spice-noqsi gives you =
much more control of this. You can attach an attribute like:

spice-prototype=3DX? %pinseq PFWR gain=3D

to the symbol. Then, if you attach a gain=3D2 attribute to the symbol, =
you'll get the expansion you want.

It'll also fix the prefix if you haven't used X in the refdes.

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



--Apple-Mail-101-247302936
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 Jan 27, 2014, at 11:12 AM, Nathan Stewart =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>I've =
used subcircuits with parameters before without issue, but I'm not =
certain why I can't now.<br><br></div><div>I've attached my schematic, =
but the key attributes =
are:<br>refdes=3DX1<br>device=3DPFWR<br>file=3Dfwr.inc<br>model=3Dgain=3D2=
<br></div></span></blockquote></div><div><br></div>My new back end =
at&nbsp;<a =
href=3D"https://github.com/noqsi/gnet-spice-noqsi">https://github.com/noqs=
i/gnet-spice-noqsi</a>&nbsp;gives you much more control of this. You can =
attach an attribute like:<div><br></div><div>spice-prototype=3DX? =
%pinseq PFWR gain=3D</div><div><br></div><div>to the symbol. Then, if =
you attach a gain=3D2 attribute to the symbol, you'll get the expansion =
you want.</div><div><br></div><div>It'll also fix the prefix if you =
haven't used X in the refdes.</div><div><br></div><div><div><span =
class=3D"Apple-style-span" style=3D"font-size: 12px; "><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>
</div>
<br></div></body></html>=

--Apple-Mail-101-247302936--

- Raw text -


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