Mail Archives: geda-user/2019/01/30/12:38:08
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 -