X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 100.0.183.69 X-Authenticated-UID: jpd AT noqsi DOT com From: John Doty Content-Type: multipart/alternative; boundary="Apple-Mail=_0ACB044D-08A4-409A-A5D0-6F0F9808B30B" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [geda-user] SAB processing patches Date: Wed, 9 Dec 2020 17:34:23 -0500 References: <20201130220505 DOT 0AE4282C54FD AT turkos DOT aspodata DOT se> <7c75ed03-456c-b408-8b50-0448f6b3a04f AT epilitimus DOT com> <1b2c64b3-6a36-c1f3-dd54-bb583c6bea17 AT epilitimus DOT com> <475f980e-fddd-60d1-9a02-a5bc5fb5805b AT epilitimus DOT com> <25887669-D8C1-48B8-BEE7-13EEBFC4D006 AT noqsi DOT com> <7f074abb-e7ae-275c-ee49-d06fc7f2a706 AT epilitimus DOT com> To: "Glenn (glimrick AT epilitimus DOT com) [via geda-user AT delorie DOT com]" In-Reply-To: <7f074abb-e7ae-275c-ee49-d06fc7f2a706@epilitimus.com> Message-Id: X-Mailer: Apple Mail (2.3608.120.23.2.4) 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=_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] 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


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

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