www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/07/11/09:40:13

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Virus-Scanned: by amavisd-new (Uni-Kiel/l2ms-sc)
From: geda AT psjt DOT org (Stephan =?utf-8?Q?B=C3=B6ttcher?=)
To: "Rob Butts \(r.butts2\@gmail.com\) \[via geda-user\@delorie.com\]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] How to define for an exposed pad to connect to 3 pins/pads
References: <xnmuuy6a7j DOT fsf AT envy DOT delorie DOT com>
<910e5ecd-24a2-fdb6-432a-0fa913cf3559 AT neurotica DOT com>
<0dd0f101-93ae-1126-ab61-7d9d16886f78 AT ecosensory DOT com>
<CALSZ9gqBHoCnie-Cuk3wV2nvMW9-cK3gWN-ZKKGsYFKBnPPLrQ AT mail DOT gmail DOT com>
<CALSZ9gqwgiumLniqndvBx2wTcwWEJfY2YxgALUQ7Kp-dUZPwBg AT mail DOT gmail DOT com>
Date: Wed, 11 Jul 2018 15:39:02 +0200
In-Reply-To: <CALSZ9gqwgiumLniqndvBx2wTcwWEJfY2YxgALUQ7Kp-dUZPwBg@mail.gmail.com>
(Rob Butts's message of "Wed, 11 Jul 2018 08:58:50 -0400")
Message-ID: <s6nlgahj3ih.fsf@falbala.ieap.uni-kiel.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w6BDd6Cp017019
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

"Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com]"
<geda-user AT delorie DOT com> writes:

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

The '3' is the pin number.

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

  net=«NETNAME»:«PIN»

This is typically used for power pins.  I try to avouid that.  I use
expicit, visible net= 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= and net= attributes attached.

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

 net=GND:7
 net=VCC:14

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

 net=V33:14
 net=nOE:1

Is there a formal rule that ensures that the net=GND:7 in the symbol is
accepted, but the net=VCC:14 is not?  Or do I need to always promote all
net= 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:
>>>
>>>>   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 folds
>>> 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 gschem.
>>>
>>> And now Stephan comes up with this!
>>>
>>> "On 07/10/2018 05:33 PM, Stephan Böttcher wrote:
>>> > The footprint has three pins, the schematic symbol only two.  Add a net=
>>> > attribute to the symbol instance to tell where the third pin shall
>>> > connect to
>>> >
>>> >    net=GND:3"
>>>
>>> Sounds like what you were wanting.
>>>
>>>
>>>
>>

-- 
Stephan

- Raw text -


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