delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2022/08/25/14:31:54

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] schematic attributes
In-reply-to: <d8b9a31-c7e7-bc6-c719-6ed8a2a0eb1e@grinsen-ohne-katze.de>
References: <20220821141622 DOT A5836824697A AT turkos DOT aspodata DOT se> <63288ff-b013-eb67-cf40-56d6119e8cfa AT grinsen-ohne-katze DOT de> <20220824165958 DOT C92CB80724AC AT turkos DOT aspodata DOT se> <d8b9a31-c7e7-bc6-c719-6ed8a2a0eb1e AT grinsen-ohne-katze DOT de>
Comments: In-reply-to Roland Lutz <rlutz AT hedmen DOT org>
message dated "Thu, 25 Aug 2022 18:09:05 +0200."
Mime-Version: 1.0
Message-Id: <20220825181205.F072C80724AA@turkos.aspodata.se>
Date: Thu, 25 Aug 2022 20:12:05 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Roland Lutz:
> On Wed, 24 Aug 2022, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
> > in what way does lepton break backwards compatibility ?
> 
> lepton-netlist doesn't really care to accurately reproduce the behavior of 
> gnetlist.  This means that running it on an existing gEDA/gaf design 
> probably doesn't result in a netlist that is "correct", i.e., equivalent 
> to the one generated by the contemporary version of gnetlist.

Instead of contemporary, wouldn't it be better to have e.g. 1.9.2
as a neutral ground for comparisions ?

> Since the probability increases with the complexity of the design, and the 
> effort of manually checking the generated netlist also increases with the 
> complexity, this means lepton-netlist is essentially useless for making 
> small changes to a complex existing design.

Have you extensibly used lepton so you are qualified to say so,
do you have a public design which I can use to compare things with ?

> > The problem with the "old" set is that it is not well defined.
> > I don't say that we should remove the "old" set, I say we should
> > create something that is well defined.
> 
> Well, actually it *is* well-defined.  There may be bugs in the 
> documentation; if you come across one, please name it so it can be fixed.

Ok, but that would be on separate threads.

> IMHO, the problem is that the name "Master Attribute List" suggests all 
> attributes are documented in the list, while actually any backend can use 
> its own custom attributes, and there cannot be such a thing as a complete 
> list.  That said, I believe it makes sense to include the attributes used 
> by common backends in the list.

Perhaps one could use the backend names as headings.

> > Also it shouldn't be redundant like the pinseq, that could just be 
> > implicit.
> 
> The pinseq= attribute isn't redundant.  It's badly defined, though, since 
> it has two completely distinct meanings:
> 
> a) defining the order of pins in slot definitions, and
> b) defining the pinnumber for use with SPICE backends.
> 
> IMHO, b) should be renamed to "spice:pinseq=", and a) should only be used 
> in slotted parts.

Ok, I'll get back to that.

> > I'm fine with prefixing, but instead of
> > spice:device=...
> > why not
> > spice=xxxx
> > end let the xxxx's be a black box for everything except the spice
> > backend (btw. which spice) ?
>
> What's the advantage?

The upper (gschem,gnetlist) doesn't have to know about what it is,
it is up to the backend to handle the xxxx's and document its use,
and the backend might prefer some other syntax than var=value.

BTW, do you and the lepton team agrea on the prefix thing ?

Regards,
/Karl Hammar


- Raw text -


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