Mail Archives: geda-user/2014/01/27/20:10:36
--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 <a =
href=3D"https://github.com/noqsi/gnet-spice-noqsi">https://github.com/noqs=
i/gnet-spice-noqsi</a> 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"> <span =
class=3D"Apple-converted-space"> </span><span =
class=3D"Apple-converted-tab"> <span =
class=3D"Apple-converted-space"> </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 -