Mail Archives: geda-user/2018/07/11/10:07:44
--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 <geda AT psjt DOT org> wrot=
e:
> "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 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 <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 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
<div dir=3D"ltr">Thanks, now I understand the pi number after the net name.=
</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Jul=
11, 2018 at 9:39 AM, Stephan B=C3=B6ttcher <span dir=3D"ltr"><<a href=
=3D"mailto:geda AT psjt DOT org" target=3D"_blank">geda AT psjt DOT org</a>></span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex"><span class=3D"">"Rob Butts (<a=
href=3D"mailto:r DOT butts2 AT gmail DOT com">r DOT butts2 AT gmail DOT com</a>) [via <a href=3D=
"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>]"<br>
</span><span class=3D""><<a href=3D"mailto:geda-user AT delorie DOT com">geda-u=
ser AT delorie DOT com</a>> writes:<br>
<br>
> I believe Stephan's solution is what I'm looking for.=C2=A0 My=
only confusion is<br>
> the "3" in net =3D GND:3=C2=A0 How does that tie into the ne=
t=3D GND:1?<br>
<br>
</span>The '3' is the pin number.<br>
<br>
A symbol instance in a schematic can have any number of net=3D attributes<b=
r>
of the form:<br>
<br>
=C2=A0 net=3D=C2=ABNETNAME=C2=BB:=C2=ABPIN=C2=BB<br>
<br>
This is typically used for power pins.=C2=A0 I try to avouid that.=C2=A0 I =
use<br>
expicit, visible net=3D attributes for grounded mounting holes a lot.<br>
<br>
Here we talk about a symbol with pins 1 and 2 where nets are drawn, and<br>
the footprint has an additinal pin 3, where you need to attach a net to.<br=
>
<br>
You can construct a complete netlist in gschem format with pin-less<br>
symbols, with refdes=3D and net=3D attributes attached.<br>
<br>
NB, I was wondering about corner cases.=C2=A0 Say, a symbol has atttributes=
<br>
<br>
=C2=A0net=3DGND:7<br>
=C2=A0net=3DVCC:14<br>
<br>
In the schematic I promote one of them, and add a third<br>
<br>
=C2=A0net=3DV33:14<br>
=C2=A0net=3DnOE:1<br>
<br>
Is there a formal rule that ensures that the net=3DGND:7 in the symbol is<b=
r>
accepted, but the net=3DVCC:14 is not?=C2=A0 Or do I need to always promote=
all<br>
net=3D attibutes if I attache any to the symbol instance?<br>
<br>
Stephan<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
><br>
> On Wed, Jul 11, 2018 at 8:55 AM, Rob Butts <<a href=3D"mailto:r.but=
ts2 AT gmail DOT com">r DOT butts2 AT gmail DOT com</a>> wrote:<br>
><br>
>> Yes, I believe so.<br>
>><br>
>> On Tue, Jul 10, 2018 at 6:52 PM, John Griessen (<a href=3D"mailto:=
john AT ecosensory DOT com">john AT ecosensory DOT com</a>) [via<br>
>> <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>=
] <<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>>=
; wrote:<br>
>><br>
>>> On 07/10/2018 05:06 PM, Dave McGuire (<a href=3D"mailto:mcguir=
e AT neurotica DOT com">mcguire AT neurotica DOT com</a>) [via<br>
>>> <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com=
</a>] wrote:<br>
>>><br>
>>>>=C2=A0 =C2=A0In the<br>
>>>> schematic, I use a standard resistor, which has two pins, =
1 and 2.=C2=A0 The<br>
>>>> DPAK PCB footprint has pin 3, which is what gave me troubl=
e.<br>
>>>><br>
>>><br>
>>><br>
>>> I say, "There is no on-the-fly way to do that in the GUI.=
"=C2=A0 [John folds<br>
>>> arms resolutely]<br>
>>><br>
>>> "It's handled like DJ said:"<br>
>>><br>
>>> "treat the exposed pad like any other pin/pad, give it a<=
br>
>>> pinnumber (make one up) and expose it in the schematic symbol.=
"<br>
>>><br>
>>> Then connect in gschem and output a new netlist, or import fro=
m gschem.<br>
>>><br>
>>> And now Stephan comes up with this!<br>
>>><br>
>>> "On 07/10/2018 05:33 PM, Stephan B=C3=B6ttcher wrote:<br>
>>> > The footprint has three pins, the schematic symbol only t=
wo.=C2=A0 Add a net=3D<br>
>>> > attribute to the symbol instance to tell where the third =
pin shall<br>
>>> > connect to<br>
>>> ><br>
>>> >=C2=A0 =C2=A0 net=3DGND:3"<br>
>>><br>
>>> Sounds like what you were wanting.<br>
>>><br>
>>><br>
>>><br>
>><br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">-- <br>
Stephan<br>
<br>
</font></span></blockquote></div><br></div>
--0000000000003177f70570b9c14e--
- Raw text -