delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/10/22/13:31:18

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Thu, 22 Oct 2015 19:32:38 +0200 (CEST)
X-X-Sender: igor2 AT igor2priv
To: 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] A lesson from gnet-makefile
In-Reply-To: <20151022170259.GA28154@recycle.lbl.gov>
Message-ID: <alpine.DEB.2.00.1510221922540.7137@igor2priv>
References: <CAM2RGhSvpVvboJ-gdyrojAzggFEBnAr30CKNQBefjci-PA1n6g AT mail DOT gmail DOT com> <201510220112 DOT t9M1Ccfq013731 AT envy DOT delorie DOT com> <CAM2RGhQhNkShqtN8uyCSd7R+V4FgLXDZTvTC2RTdmKF7C_8ndA AT mail DOT gmail DOT com> <201510220136 DOT t9M1a5Uw015222 AT envy DOT delorie DOT com>
<CAM2RGhQOpnBXbZXngNq=RcQTZN=UrU+PGzTZ9AC=xKNfu_zQkQ AT mail DOT gmail DOT com> <201510220149 DOT t9M1nrIe016145 AT envy DOT delorie DOT com> <CAM2RGhQ26+gpcAeTdgJpBEh0egOGLYcpizQ+B6kfTQLowEk5xQ AT mail DOT gmail DOT com> <20151022023002 DOT GA25952 AT recycle DOT lbl DOT gov>
<CAM2RGhQ7xfMDe1knmiFkW8MAZ4Sr=ZSas8Ca9Sadv3gJT2z3gw AT mail DOT gmail DOT com> <201510221643 DOT t9MGhFfg003310 AT envy DOT delorie DOT com> <20151022170259 DOT GA28154 AT recycle DOT lbl DOT gov>
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 Thu, 22 Oct 2015, Larry Doolittle wrote:

> DJ -
>
> On Thu, Oct 22, 2015 at 12:43:15PM -0400, DJ Delorie wrote:
>> One of our old problems is "how to tell where a short really is".
>> Perhaps that problem and "where is a star ground" are really the same
>> problem?  We'd just need some way of saying "we expect these nets to
>> be shorted".
>
> No, that's the wrong answer, since it's exactly the same as having
> one net.  We're looking for a way to say "we expect these nets to be
> shorted _in_exactly_one_place".  And an acceptable solution involves
> specifying where that place is.
>

I agree. In pcb-rnd I solve the "where the short is" problem using the 
minimal cut algorithm. It basically says "let's consider combination of 
cuts that would separate the shorted nets so that the problem is resolved; 
now let's find the solution(s) with the minimal number of cuts". A cut is 
a deletion of an object (e.g. a trace or a via).

While working on it, I enumerated cases in example inputs and found that 
there are often more than one solution to the problem. Even using 
different weights on edges, it's easy to construct symmetrical shorts 
that will yield two or more equally good solutions. For the star topology 
this means two equally good looking star points. Even if it is prepared to 
accept only one short, how the algorithm would decide which one is the 
good one?

I think Larry is right about PCB needs more information on the intention 
of the designer. I'd go one step further: it would be cool if we could 
pass generic DRC rules/considerations from the schematics to PCB, e.g. 
"the distance between this pin and that pin should be less than x" or if 
we somehow explain the star topology "the distance between the star point 
and this pin should be less than x".

Regards,

Igor2

- Raw text -


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