Mail Archives: geda-user/2020/12/09/17:54:48
--Apple-Mail=_0ACB044D-08A4-409A-A5D0-6F0F9808B30B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
> On Dec 9, 2020, at 2:10 PM, Glenn (glimrick AT epilitimus DOT com) [via =
geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
>=20
> How do I markup R2 using spice-noqsi so it goes away when I do
You don=E2=80=99t. It doesn=E2=80=99t belong in the schematic. It=E2=80=99=
s part of a simulation model. You put it in the model. Here=E2=80=99s =
one way to do it. Assume R2 is part of the interface to R3. Then, the =
following schematic gives it the name =E2=80=9CR3interface=E2=80=9D and =
wires it in for simulation only.
v 20200319 2
C 40000 40000 0 0 0 title-B.sym
C 45600 46000 1 0 0 resistor-1.sym
{
T 45900 46400 5 10 0 0 0 0 1
device=3DRESISTOR
T 45800 46300 5 10 1 1 0 0 1
refdes=3DR1
T 45900 45800 5 10 1 1 0 0 1
value=3D20k
}
C 48500 46000 1 0 0 resistor-1.sym
{
T 48800 46400 5 10 0 0 0 0 1
device=3DRESISTOR
T 48700 46300 5 10 1 1 0 0 1
refdes=3DR3
T 48400 45400 5 10 1 1 0 0 2
spice-prototype=3DR?interface #1 R?internal_node1 1k
R? R?internal_node1 #2 value@
T 49200 46300 5 10 1 1 0 0 1
value=3D10k
}
N 46500 46100 48500 46100 4
Or, you can draw a .SUBCKT model and reference that in the prototype. =
Anything you put in spice-prototype has no effect on anything but =
simulation.
John Doty Noqsi Aerospace, Ltd.
jpd AT noqsi DOT com
--Apple-Mail=_0ACB044D-08A4-409A-A5D0-6F0F9808B30B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Dec 9, 2020, at 2:10 PM, Glenn (<a =
href=3D"mailto:glimrick AT epilitimus DOT com" =
class=3D"">glimrick AT epilitimus DOT com</a>) [via <a =
href=3D"mailto:geda-user AT delorie DOT com" =
class=3D"">geda-user AT delorie DOT com</a>] <<a =
href=3D"mailto:geda-user AT delorie DOT com" =
class=3D"">geda-user AT delorie DOT com</a>> wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">How do I markup R2 using =
spice-noqsi so it goes away when I do</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""></div></blockquote><br =
class=3D""></div><div>You don=E2=80=99t. It doesn=E2=80=99t belong in =
the schematic. It=E2=80=99s part of a simulation model. You put it in =
the model. Here=E2=80=99s one way to do it. Assume R2 is part of the =
interface to R3. Then, the following schematic gives it the name =
=E2=80=9CR3interface=E2=80=9D and wires it in for simulation =
only.</div><div><br class=3D""></div><div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">v =
20200319 2</span></div><div style=3D"margin: 0px; font-stretch: normal; =
font-size: 10px; line-height: normal; font-family: Monaco; =
background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">C 40000 =
40000 0 0 0 title-B.sym</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">C 45600 =
46000 1 0 0 resistor-1.sym</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">{</span></div><div style=3D"margin: 0px; font-stretch: =
normal; font-size: 10px; line-height: normal; font-family: Monaco; =
background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">T 45900 =
46400 5 10 0 0 0 0 1</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">device=3DRESISTOR</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">T 45800 =
46300 5 10 1 1 0 0 1</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">refdes=3DR1</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">T 45900 =
45800 5 10 1 1 0 0 1</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">value=3D20k</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">}</span></div><div style=3D"margin: 0px; font-stretch: =
normal; font-size: 10px; line-height: normal; font-family: Monaco; =
background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">C 48500 =
46000 1 0 0 resistor-1.sym</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">{</span></div><div style=3D"margin: 0px; font-stretch: =
normal; font-size: 10px; line-height: normal; font-family: Monaco; =
background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">T 48800 =
46400 5 10 0 0 0 0 1</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">device=3DRESISTOR</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">T 48700 =
46300 5 10 1 1 0 0 1</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">refdes=3DR3</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">T 48400 =
45400 5 10 1 1 0 0 2</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">spice-prototype=3DR?interface #1 R?internal_node1 =
1k</span></div><div style=3D"margin: 0px; font-stretch: normal; =
font-size: 10px; line-height: normal; font-family: Monaco; =
background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">R? =
R?internal_node1 #2 value@</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">T 49200 =
46300 5 10 1 1 0 0 1</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">value=3D10k</span></div><div style=3D"margin: 0px; =
font-stretch: normal; font-size: 10px; line-height: normal; font-family: =
Monaco; background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">}</span></div><div style=3D"margin: 0px; font-stretch: =
normal; font-size: 10px; line-height: normal; font-family: Monaco; =
background-color: rgba(255, 255, 255, 0.93);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">N 46500 =
46100 48500 46100 4</span></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br =
class=3D""></span></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">Or, you =
can draw a .SUBCKT model and reference that in the prototype. Anything =
you put in spice-prototype has no effect on anything but =
simulation.</span></div></div><br class=3D""><div class=3D"">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px; font-variant-ligatures: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
line-height: normal;"><div style=3D"word-wrap: break-word;" =
class=3D""><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: =
normal; font-variant-caps: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-indent: 0px; text-transform: none; =
orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><p =
style=3D"margin: 0px;" class=3D""><font face=3D"Helvetica" size=3D"3" =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
normal; font-size: 12px; line-height: normal; font-family: Helvetica;" =
class=3D"">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: 0px;" class=3D""><a =
href=3D"mailto:jpd AT noqsi DOT com" class=3D"">jpd AT noqsi DOT com</a></p><br =
class=3D"Apple-interchange-newline"></span></div></span><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></body></html>=
--Apple-Mail=_0ACB044D-08A4-409A-A5D0-6F0F9808B30B--
- Raw text -