delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/10/22/17:48:32

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=cky4IWPwipwwwwDcEtAPqLjbwSd0iLpfZYf1bkY2XXk=;
b=f5N8jO3WF6Mz83WGF23LIKMgh/HN09H9oY7nwne/qtX6JfPPghmqo1QvmqmyPFr3Rw
wXzSmgPVtepU7dO0LJkPUApWu46u+nwStTIlH0jmm89Y+utU1k/IpKNmBefIorBvGizO
mIL/QqD0K03MhME6INR7wzM0u5vQUqJoJDbqjIbWMLn7WABF5Q7XYZMJA3Z5xDX8++r6
++nOlKuS9ZGZXHxZWyT3NgIZwpZLbJS4kzIKRRzDTzbk4B5vD0jOcv11a/M9zrGXmMft
+8W9DjoiIRB7OEIiO4E3ccqClfwZybHrvWoFjgXeofjkpf8PyROWcI8+8vE84nNgoBYi
Zs7g==
MIME-Version: 1.0
X-Received: by 10.202.60.137 with SMTP id j131mr12036294oia.12.1445550484743;
Thu, 22 Oct 2015 14:48:04 -0700 (PDT)
In-Reply-To: <0FDC1184-9D22-4635-A3B4-D70C54C6218A@noqsi.com>
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>
<201510192340 DOT t9JNeo6n020302 AT envy DOT delorie DOT com>
<FD0C7318-EE7E-4568-9D6B-6582EA2D00F7 AT noqsi DOT com>
<58C07E8E-2950-46B6-8E2F-F406403530C1 AT gmail DOT com>
<0FDC1184-9D22-4635-A3B4-D70C54C6218A AT noqsi DOT com>
Date: Thu, 22 Oct 2015 23:48:04 +0200
Message-ID: <CAPpu4O=xZcgs+hZx9UED7cYfz-n7NSWMuENhHXpyb0+ppz2J=A@mail.gmail.com>
Subject: Re: [geda-user] Pin mapping (separate symbols from mappings)
From: "Carlos Nieves (cnieves DOT mail AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie 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

--001a113cd1d025ec0b0522b8732b
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2015-10-22 2:01 GMT+02:00 John Doty <jpd AT noqsi DOT com>:

>
> On Oct 21, 2015, at 3:55 PM, Carlos Nieves (cnieves DOT mail AT gmail DOT com) [via
> geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
>
> > You know drc2 needs you to fill in some info in order to do the job
> correctly. Do you?
>
> Yes. But it doesn=E2=80=99t understand split symbols, especially slotted =
symbols
> together with unslotted symbols for a single package. It assumes hidden
> pins all have pintype=3Dpwr. It doesn=E2=80=99t understand that backplane=
 connectors
> don=E2=80=99t connect every signal on the backplane to every board.
>

Yes, it doesn't. There is (a huge) room for improvement.
For unconnected pins there is the NoConnection directive. I cant remember
for hidden pins...


> > I agree drc2 could be better, but something is better than nothing.
>
> I agree, and I=E2=80=99ve used it successfully for years. Thank you. It i=
s *a lot*
> better than nothing. But if you=E2=80=99re doing mixed-signal design usin=
g a lot of
> split symbols, like Kai-Martin=E2=80=99s slotted+power stuff, and a lot o=
f tabular
> connections through pins2gsch, you are far outside drc2=E2=80=99s model o=
f the
> application space.
>
>
Last modification to drc2 was in 2006... It seems that is no so annoying.
Otherwise someone would have fixed that. ;)

Reading the designer's mind is impossible for any tool. drc2 checks, other
than duplicated refdes/slots, can be mainly used for digital design but
hardly help for mixed signal.

However, I'm pretty sure it can be improved, and those people who may know
how, are those doing mixed/analog designs. Can anyone share any additional
test? :)


> > You are fluent in scheme. Why don't you help to improve it instead of
> complaining about it every time?
>
> I posted a new approach to the duplicate refdes/pin problem today on this
> list. I prefer to write new things rather than change old things that are
> in use. I=E2=80=99m not smart enough to avoid breaking other people=E2=80=
=99s applications:
> one man=E2=80=99s bug is another man=E2=80=99s feature. I=E2=80=99m sure =
drc2=E2=80=99s model of schematic
> design fits some folk=E2=80=99s flows fine. It just doesn=E2=80=99t fit m=
ine terribly well.
> By writing something new I get to serve my interests without harming
> anybody else=E2=80=99s.
>
>
Regarding breaking any other flow, please see below.

I'm ok with that. However, if we know drc2 has problems with that, I'd like
to see it fixed.
Why about including your backend into drc2, or making drc2 call your
backend?
As all tests are configurable, this could be added as an additional test,
and let the users enable/disable tests according their needs.


> >
> > One of your fears is that some change in the code break some backend.
>
> That=E2=80=99s part of it. But I also fear that making the core code more=
 rigid
> and use case oriented may paralyze future development. To be use case
> oriented is OK for something optional like drc2, but it=E2=80=99s not OK =
for the
> core code.
>
> >  You know there are regression tests trying to avoid this.
>
> Yes, I know. It's good to have tests. However, they can=E2=80=99t check u=
sers=E2=80=99
> private scripts. I=E2=80=99m not the only one who has them. They can=E2=
=80=99t check every
> diagram and crazy symbol in use. People do all kinds of things with
> geda-gaf, even plumbing networks! Nobody fully understands the breadth of
> geda-gaf=E2=80=99s application space. We should therefore be very, very c=
autious
> about changing core code. Why not put the effort into new tools and scrip=
ts?
>

That's a pretty well know concern. There is no need to worry about other
unpublished backends.
You already dig into this in another mail. What we need is a good test
suite for the gnetlist API, in order to be sure any change to the core
doesn't change gnetlist's behaviour.
If the API is not changed, there is no chance to break other backends.

You have enligthened us with some backends nobody could even think about.
I'm pretty sure you know pretty well how to use the API. Why not start
writing an API test backend/suite?

Regards,

Carlos

--001a113cd1d025ec0b0522b8732b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">2015-10-22 2:01 GMT+02:00 John Doty <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:jpd AT noqsi DOT com" target=3D"_blank">jpd AT noqsi DOT com</a>&gt;</span>:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex"><span class=3D""><br>
On Oct 21, 2015, at 3:55 PM, Carlos Nieves (<a href=3D"mailto:cnieves.mail@=
gmail.com">cnieves DOT mail AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT del=
orie.com">geda-user AT delorie DOT com</a>] &lt;<a href=3D"mailto:geda-user AT delori=
e.com">geda-user AT delorie DOT com</a>&gt; wrote:<br>
<br>
&gt; You know drc2 needs you to fill in some info in order to do the job co=
rrectly. Do you?<br>
<br>
</span>Yes. But it doesn=E2=80=99t understand split symbols, especially slo=
tted symbols together with unslotted symbols for a single package. It assum=
es hidden pins all have pintype=3Dpwr. It doesn=E2=80=99t understand that b=
ackplane connectors don=E2=80=99t connect every signal on the backplane to =
every board.<span class=3D""><br></span></blockquote><div><br></div><div>Ye=
s, it doesn&#39;t. There is (a huge) room for improvement. <br></div><div>F=
or unconnected pins there is the NoConnection directive. I cant remember fo=
r hidden pins...<br><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><span class=3D""><br>
&gt; I agree drc2 could be better, but something is better than nothing.<br=
>
<br>
</span>I agree, and I=E2=80=99ve used it successfully for years. Thank you.=
 It is *a lot* better than nothing. But if you=E2=80=99re doing mixed-signa=
l design using a lot of split symbols, like Kai-Martin=E2=80=99s slotted+po=
wer stuff, and a lot of tabular connections through pins2gsch, you are far =
outside drc2=E2=80=99s model of the application space.<br>
<span class=3D""><br></span></blockquote><div><br>Last modification to drc2=
 was in 2006... It seems that is no so annoying. Otherwise someone would ha=
ve fixed that. ;)<br><br>Reading the designer&#39;s mind is impossible for =
any tool. drc2 checks, other than duplicated refdes/slots, can be mainly us=
ed for digital design but hardly help for mixed signal.<br><br></div><div>H=
owever, I&#39;m pretty sure it can be improved, and those people who may kn=
ow how, are those doing mixed/analog designs. Can anyone share any addition=
al test? :)<br>=C2=A0<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex"><span class=3D"">
&gt; You are fluent in scheme. Why don&#39;t you help to improve it instead=
 of complaining about it every time?<br>
<br>
</span>I posted a new approach to the duplicate refdes/pin problem today on=
 this list. I prefer to write new things rather than change old things that=
 are in use. I=E2=80=99m not smart enough to avoid breaking other people=E2=
=80=99s applications: one man=E2=80=99s bug is another man=E2=80=99s featur=
e. I=E2=80=99m sure drc2=E2=80=99s model of schematic design fits some folk=
=E2=80=99s flows fine. It just doesn=E2=80=99t fit mine terribly well. By w=
riting something new I get to serve my interests without harming anybody el=
se=E2=80=99s.<br>
<span class=3D""><br></span></blockquote><div><br></div><div><div>Regarding=
 breaking any other flow, please see below.<br></div><div><br></div>I&#39;m=
 ok with that. However, if we know drc2 has problems with that, I&#39;d lik=
e to see it fixed.<br></div>Why about including your backend into drc2, or =
making drc2 call your backend?<br></div><div class=3D"gmail_quote">As all t=
ests are configurable, this could be added as an additional test, and let t=
he users enable/disable tests according their needs.<div>=C2=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><span class=3D"">
&gt;<br>
&gt; One of your fears is that some change in the code break some backend.<=
br>
<br>
</span>That=E2=80=99s part of it. But I also fear that making the core code=
 more rigid and use case oriented may paralyze future development. To be us=
e case oriented is OK for something optional like drc2, but it=E2=80=99s no=
t OK for the core code.<br>
<span class=3D""><br>
&gt;=C2=A0 You know there are regression tests trying to avoid this.<br>
<br>
</span>Yes, I know. It&#39;s good to have tests. However, they can=E2=80=99=
t check users=E2=80=99 private scripts. I=E2=80=99m not the only one who ha=
s them. They can=E2=80=99t check every diagram and crazy symbol in use. Peo=
ple do all kinds of things with geda-gaf, even plumbing networks! Nobody fu=
lly understands the breadth of geda-gaf=E2=80=99s application space. We sho=
uld therefore be very, very cautious about changing core code. Why not put =
the effort into new tools and scripts?<span class=3D""><br></span></blockqu=
ote><div><br>That&#39;s a pretty well know concern. There is no need to wor=
ry about other unpublished backends.<br>You
 already dig into this in another mail. What we need is a good test=20
suite for the gnetlist API, in order to be sure any change to the core=20
doesn&#39;t change gnetlist&#39;s behaviour. <br><div>If the API is not cha=
nged, there is no chance to break other backends.<br><br>You
 have enligthened us with some backends nobody could even think about.
 I&#39;m pretty sure you know pretty well how to use the API. Why not start=
 writing an API test backend/suite?<br></div><div><br></div><div>Regards,<b=
r><br></div><div>Carlos<br></div>=C2=A0<br></div></div><br></div></div>

--001a113cd1d025ec0b0522b8732b--

- Raw text -


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