delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/10/19/19:41:03

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
Date: Mon, 19 Oct 2015 19:40:50 -0400
Message-Id: <201510192340.t9JNeo6n020302@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: geda-user AT delorie DOT com
In-reply-to: <AAAC7015-AF0E-41BE-83F0-C64862CF2670@noqsi.com> (message from
John Doty on Mon, 19 Oct 2015 17:03:37 -0600)
Subject: Re: [geda-user] Pin mapping (separate symbols from mappings)
References: <20151018204010 DOT 9cce6a231dcc296256e187bd AT gmail DOT com> <201510181843 DOT t9IIhmWo025346 AT envy DOT delorie DOT com> <20151018234424 DOT c0551dad9bef0859130239d9 AT gmail DOT com> <36B94694-F2AC-4A75-A8EB-40A1CE9A534C AT noqsi DOT com> <201510182225 DOT t9IMPkxK032763 AT envy DOT delorie DOT com> <20151019003814 DOT f62620bf0fec77e65104c105 AT gmail DOT com> <BED51F9A-F6FF-4A23-B18B-C2EC8BB9DAB6 AT noqsi DOT com> <201510190242 DOT t9J2gl7w009345 AT envy DOT delorie DOT com> <20151019092555 DOT 46eed4540c2d2044bbeab878 AT gmail DOT com> <1A419AED-FCCA-4B1F-8589-912435534E2E AT noqsi DOT com> <201510191647 DOT t9JGlu4j024585 AT envy DOT delorie DOT com> <041FF42A-691F-4E6B-9DEB-8C6B3C2F3E53 AT noqsi DOT com> <201510191850 DOT t9JIop8Y029095 AT envy DOT delorie DOT com> <A5C4636C-6064-4D9C-9F55-03185FE35379 AT noqsi DOT com> <201510192055 DOT t9JKt2o6005861 AT envy DOT delorie DOT com> <1E816300-E31E-4B85-B51D-7EAEC5A466BF AT noqsi DOT com> <201510192110 DOT t9JLAFKG007281 AT envy DOT delorie DOT com> <AAAC7015-AF0E-41BE-83F0-C64862CF2670 AT noqsi DOT com>
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

> > My sample schematic would have U1-1 and U1-1.
> 
> So you don't really have a refdes to start from: it doesn't identify
> the component.

Wordplay.  It has a refdes.  It's not unique.  We do this all the time
for slotted and multi-sym parts.

And that reference was to show how easy it is for a user to
instantiate symbols that don't have a unique identity, a problem you
still haven't addressed.

> You also wrote:
> 
> > If the tool *requires* that each symbol be unique, then either...
> > 
> > 1. It must not let the user provide non-unique symbols, or
> > 
> > 2. It must produce a hard error when it detects non-unique symbols, or
> > 
> > 3. It must provide some user-independent way of making the symbols unique.
> > 
> > gaf currently does none of these.
> 
> But that's not how geda-gaf works.

That's *exactly* how geda-gaf doesn't work.  It allows the user to
make invalid schematics and doesn't complain when it can't figure out
what to do.  Given that one of those three conditions must be met to
avoid errors (unless there is a fourth way to avoid errors, which you
haven't mentioned), then the geda-gaf problem is that it doesn't avoid
errors.  This normally isn't a problem when we make the user
responsible for the results, but if we want to add something that
needs uniqueness, we can't rely on the user any more.

> Choosing refdeses is part of how the user communicates her intentions.

And the current problem is figuring out how to defer those intentions
until later in the design process.  Why are you so opposed to letting
people work the way they want, instead of the fixed way geda-gaf makes
them work now?

> We could have better DRC: gnet-drc2 does not properly model the
> capabilities of the kit, finding lots of errors where there are
> none. The real errors are hidden in the spew, but should be
> detectable with better logic.

Sadly, most people don't run drc2.  If there are errors that cause bad
results, gnetlist needs to detect those and not fool the user into
thinking that everything is OK.

> You also wrote:
> 
> > What I want is a way to reliably map an instance of a device with its
> > schematic symbol, without the user having to jump through hoops to
> > satisfy some hidden "rule" about how to create schematics.
> 
> How is it hard for a user to understand that symbols need to be
> distinguishable at the schematic level?

From the user's point of view, they're distinguishable.  There's this
one, and that one :-) Why should we force the user to decide
packaging, slotting, and unique numbering, right at the beginning,
when they're just tossing a design together?  Even as late as layout,
they could change the packaging and thus change the slotting (for
example, switching from a quad-nand to two dual-nand packages).

> And that when merging symbols into one package, they'll get the
> package's refdes and their own pin numbers. I don't think it's that
> hard.

It's the next step that's hard - producing as-built schematics.

- Raw text -


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