delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2019/01/30/12:38:08

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 30 Jan 2019 18:36:57 +0100 (CET)
X-X-Sender: igor2 AT igor2priv
To: "Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: Re: [geda-user] Refdes bug or Master Attribute Document on the Wiki
needs update.
In-Reply-To: <alpine.DEB.2.20.1901301557210.3182@nimbus>
Message-ID: <alpine.DEB.2.00.1901301824350.21900@igor2priv>
References: <9ed059c0-f3c5-1482-169b-f8f1119f3208 AT fastmail DOT com> <alpine DOT DEB DOT 2 DOT 20 DOT 1901301419360 DOT 1543 AT nimbus> <alpine DOT DEB DOT 2 DOT 00 DOT 1901301448260 DOT 21900 AT igor2priv> <alpine DOT DEB DOT 2 DOT 20 DOT 1901301557210 DOT 3182 AT nimbus>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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


On Wed, 30 Jan 2019, Roland Lutz wrote:

> On Wed, 30 Jan 2019, gedau AT igor2 DOT repo DOT hu wrote:

> With gEDA/gaf, this wouldn't work.  You'd either have to define separate
> symbols for each slot, or use gEDA/gaf's slotting mechanism and set slot=1,
> slot=2 etc. on each component to change its pin mapping to a given slot.
>
> If you have defined the slot number in slot= anyway, why would you want to
> duplicate it in the refdes?  (This is a serious question.)

You wouldn't have a slot= in the other setup, only refdes suffixing. It's 
just a different way doing it. I didn't say gschem or pcb should do it. 
It's just an existing convention elsewhere.

As an user I'm fine with a "slot=" kind of solution as well as with a 
refdes suffixing solution. xschem for example does refdes suffixing for 
slotting, like U1:1, U1:2 and in the tEDAx netlist we get the merged 
version of U1 (plus extra slot info so that later on pcb-rnd can do slot 
swapping and back annotation on that).

pcb and/or gsch2pcb and/or the pcb backend (gnetlist) may have traces of 
the suffixing assumption from some age when someone thought it would be a 
good idea to have it in gEDA too. (pcb-rnd doesn't have a special case for 
lower case last letter of refdes - if some old corner of the code has it, 
it's a bug that I'd fix when reported).

So the question of "why would you want to do that" is the same for 
"slot=". And my (user) answer is: I don't care, as long as it works 
reasonably well, I use whichever the software offers.

Regards,

Igor2

- Raw text -


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