X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=G4wQ52O8kwSuk2DFyzSYI420SY08YamZp5oILrdRIC8=; b=XVyJQeqsNiReKhLfkHtaZJzvfmXwvesPofS01dh+rYfXA9J8qjRt+DvK2tXpvIt2ni +bJU97291i+b0i9jWuwp1vaLvhHqlLW1fEdUEF+TsjU5ooKa3tRpHLOCouML5B5ql+UE n8a/BrCr+f+iTdWs6hcZ0ExNWx0zl58VoAukdmBeMUEM4zVoroL2UyCAkYg6WPv80WkB 4tGhoL/jqWy0h1HrhsLj9Uy44t3mi7ejMucRsv9MhAdbGRa4MPYpVt/ZXX6RYP6wfnZg j5VWCNPUYBejCY6HScDdUL+JWrOspAgd/iaY470gJO4DZhfZeUDSZCf3AhHiy7Gn/sq8 6FOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=G4wQ52O8kwSuk2DFyzSYI420SY08YamZp5oILrdRIC8=; b=JV5wVbfsJY6pf6HoQBCCr4WtnTxUllExP/QJxtH1jFVZoEUBgy54nPF0s5qKOLhfD3 9XwZq8V86CdSN/p7OFUU0poSDq4sHQVLgMyhjNiyoz+BKW5YVDB+jxN/qqh374eIQl6t UMUt4Db53X3y8RoJUiqvkUqNtChhc8USmCSksvKwfZ0zoBAnfxtC4Os7CD6SpJcng0zu 5iPrmSdmydgjQ+iK61q1kCF3AIdqtCpqI8xP9jFF+Y4DLgFVQMAnk3STQCUBlFHs+wyg 6VhpTQ9bqsYlibwKSGr+DT5wFIkwoOYtbRF/B0u6GOKTVkcay3hq8CziswaGpawlX5hY OGQQ== X-Gm-Message-State: APt69E3hVrNOH46NQvptgU+X49Szz1LoDbCk4waOToBxXp+vsA8Phkei JKmX/TYdJQpnYoQ6P0tLKtq0LozXtHXVfcPcoxk= X-Google-Smtp-Source: AAOMgpfITPauJWtiWc60n9l6Vp8c3Btiz1LFuXykq4ZbYSbVkGS3/QZnPBAVbC44IRluem7DkrC9eR/YNrHwMqm3LCM= X-Received: by 2002:ab0:7055:: with SMTP id v21-v6mr10130879ual.44.1531317996057; Wed, 11 Jul 2018 07:06:36 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <910e5ecd-24a2-fdb6-432a-0fa913cf3559 AT neurotica DOT com> <0dd0f101-93ae-1126-ab61-7d9d16886f78 AT ecosensory DOT com> From: "Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Wed, 11 Jul 2018 10:06:35 -0400 Message-ID: Subject: Re: [geda-user] How to define for an exposed pad to connect to 3 pins/pads To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="0000000000003177f70570b9c14e" 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 --0000000000003177f70570b9c14e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, now I understand the pi number after the net name. On Wed, Jul 11, 2018 at 9:39 AM, Stephan B=C3=B6ttcher wrot= e: > "Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com]" > writes: > > > I believe Stephan's solution is what I'm looking for. My only confusio= n > is > > the "3" in net =3D GND:3 How does that tie into the net=3D GND:1? > > The '3' is the pin number. > > A symbol instance in a schematic can have any number of net=3D attributes > of the form: > > net=3D=C2=ABNETNAME=C2=BB:=C2=ABPIN=C2=BB > > This is typically used for power pins. I try to avouid that. I use > expicit, visible net=3D attributes for grounded mounting holes a lot. > > Here we talk about a symbol with pins 1 and 2 where nets are drawn, and > the footprint has an additinal pin 3, where you need to attach a net to. > > You can construct a complete netlist in gschem format with pin-less > symbols, with refdes=3D and net=3D attributes attached. > > NB, I was wondering about corner cases. Say, a symbol has atttributes > > net=3DGND:7 > net=3DVCC:14 > > In the schematic I promote one of them, and add a third > > net=3DV33:14 > net=3DnOE:1 > > Is there a formal rule that ensures that the net=3DGND:7 in the symbol is > accepted, but the net=3DVCC:14 is not? Or do I need to always promote al= l > net=3D attibutes if I attache any to the symbol instance? > > Stephan > > > > > On Wed, Jul 11, 2018 at 8:55 AM, Rob Butts wrote: > > > >> Yes, I believe so. > >> > >> On Tue, Jul 10, 2018 at 6:52 PM, John Griessen (john AT ecosensory DOT com) > [via > >> geda-user AT delorie DOT com] wrote: > >> > >>> On 07/10/2018 05:06 PM, Dave McGuire (mcguire AT neurotica DOT com) [via > >>> geda-user AT delorie DOT com] wrote: > >>> > >>>> In the > >>>> schematic, I use a standard resistor, which has two pins, 1 and 2. > The > >>>> DPAK PCB footprint has pin 3, which is what gave me trouble. > >>>> > >>> > >>> > >>> I say, "There is no on-the-fly way to do that in the GUI." [John fol= ds > >>> arms resolutely] > >>> > >>> "It's handled like DJ said:" > >>> > >>> "treat the exposed pad like any other pin/pad, give it a > >>> pinnumber (make one up) and expose it in the schematic symbol." > >>> > >>> Then connect in gschem and output a new netlist, or import from gsche= m. > >>> > >>> And now Stephan comes up with this! > >>> > >>> "On 07/10/2018 05:33 PM, Stephan B=C3=B6ttcher wrote: > >>> > The footprint has three pins, the schematic symbol only two. Add a > net=3D > >>> > attribute to the symbol instance to tell where the third pin shall > >>> > connect to > >>> > > >>> > net=3DGND:3" > >>> > >>> Sounds like what you were wanting. > >>> > >>> > >>> > >> > > -- > Stephan > > --0000000000003177f70570b9c14e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, now I understand the pi number after the net name.=

On Wed, Jul= 11, 2018 at 9:39 AM, Stephan B=C3=B6ttcher <geda AT psjt DOT org> wr= ote:
"Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com]"
<geda-u= ser AT delorie DOT com> writes:

> I believe Stephan's solution is what I'm looking for.=C2=A0 My= only confusion is
> the "3" in net =3D GND:3=C2=A0 How does that tie into the ne= t=3D GND:1?

The '3' is the pin number.

A symbol instance in a schematic can have any number of net=3D attributes of the form:

=C2=A0 net=3D=C2=ABNETNAME=C2=BB:=C2=ABPIN=C2=BB

This is typically used for power pins.=C2=A0 I try to avouid that.=C2=A0 I = use
expicit, visible net=3D attributes for grounded mounting holes a lot.

Here we talk about a symbol with pins 1 and 2 where nets are drawn, and
the footprint has an additinal pin 3, where you need to attach a net to.
You can construct a complete netlist in gschem format with pin-less
symbols, with refdes=3D and net=3D attributes attached.

NB, I was wondering about corner cases.=C2=A0 Say, a symbol has atttributes=

=C2=A0net=3DGND:7
=C2=A0net=3DVCC:14

In the schematic I promote one of them, and add a third

=C2=A0net=3DV33:14
=C2=A0net=3DnOE:1

Is there a formal rule that ensures that the net=3DGND:7 in the symbol is accepted, but the net=3DVCC:14 is not?=C2=A0 Or do I need to always promote= all
net=3D attibutes if I attache any to the symbol instance?

Stephan

>
> On Wed, Jul 11, 2018 at 8:55 AM, Rob Butts <r DOT butts2 AT gmail DOT com> wrote:
>
>> Yes, I believe so.
>>
>> On Tue, Jul 10, 2018 at 6:52 PM, John Griessen (john AT ecosensory DOT com) [via
>> geda-user AT delorie DOT com= ] <geda-user AT delorie DOT com>= ; wrote:
>>
>>> On 07/10/2018 05:06 PM, Dave McGuire (mcguire AT neurotica DOT com) [via
>>> geda-user AT delorie DOT com= ] wrote:
>>>
>>>>=C2=A0 =C2=A0In the
>>>> schematic, I use a standard resistor, which has two pins, = 1 and 2.=C2=A0 The
>>>> DPAK PCB footprint has pin 3, which is what gave me troubl= e.
>>>>
>>>
>>>
>>> I say, "There is no on-the-fly way to do that in the GUI.= "=C2=A0 [John folds
>>> arms resolutely]
>>>
>>> "It's handled like DJ said:"
>>>
>>> "treat the exposed pad like any other pin/pad, give it a<= br> >>> pinnumber (make one up) and expose it in the schematic symbol.= "
>>>
>>> Then connect in gschem and output a new netlist, or import fro= m gschem.
>>>
>>> And now Stephan comes up with this!
>>>
>>> "On 07/10/2018 05:33 PM, Stephan B=C3=B6ttcher wrote:
>>> > The footprint has three pins, the schematic symbol only t= wo.=C2=A0 Add a net=3D
>>> > attribute to the symbol instance to tell where the third = pin shall
>>> > connect to
>>> >
>>> >=C2=A0 =C2=A0 net=3DGND:3"
>>>
>>> Sounds like what you were wanting.
>>>
>>>
>>>
>>

--
Stephan


--0000000000003177f70570b9c14e--