delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/08/14/14:13:42

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 14 Aug 2017 20:14:04 +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] [pcb] mainline: redundant attributes: bug or
feature?
In-Reply-To: <5991DDFD.7070006@xs4all.nl>
Message-ID: <alpine.DEB.2.00.1708142003070.27212@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1708140646240 DOT 27212 AT igor2priv> <CAJXU7q9BuoyrMLQ04sZ98NVc0rMjjUaUZ1Zb+pqn=pA3meePag AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1708141129590 DOT 27212 AT igor2priv> <5991DDFD DOT 7070006 AT xs4all DOT nl>
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

Hello Bert,

On Mon, 14 Aug 2017, Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com] wrote:

> Hi Igor,
>
> Always nice to chime in after a day at the day-job and everything about the 
> subject is already been said, anyway here goes my EUR 0.02 : IMO common sense 
> dictates unique keys as to prevent bad things from happening ;-)
>
> Another issue pcb has, and also pcb-rnd might have, with the "Import 
> Schematics" attribute is the lack of (re)loading the netlist derived from the 
> schematic after loading the pcb layout file in a new session (after the 
> "import::src0" and following sources have been set).
>
> Looking at the pcb code base, and confirmed by DJ, this import is run just 
> once (immediately after selecting the file name and starting the import 
> process).
>
> For me this looks like obsoleting the attribute from the very moment you close 
> the file and/or pcb application.
>
> Maybe you have solved this issue already in pcb-rnd ?


I am not sure what you mean. If you mean automatic re-import upon change 
in the schematics files: I don't like that idea, I prefer explicit user 
commands in pcb-rnd.

If you mean calling the import action without a file name in subsequent 
imports: I think it does remember the source schematic names via 
those srcN board attributes. At least the code says so, but I haven't 
tested it.

>
> As an aside, it looks like other methods involving "make" may be possible too: 
> "import::mode" is defaulted to "gentlist", other netlisting tools could be 
> implemented here as well (xorn ?).

Yup, make is supported both in pcb and pcb-rnd.

I think xorn should work fine with gnetlist.

In pcb-rnd we also have other netlist importers (tedax, tinycad, mentor 
graphics's sch, ltspice); they are separate plugins, I didn't want to pack 
them all in import_sch, but they use the same core features.

pcb-rnd is most probalbly going to support hierarchic netlists (in a few 
months) - in that case we'll need a new netlist format. I think xorn would 
support the new format. I would probably put that format's parser in the 
import_sch plugin as it'd be the "native netlist format" for pcb-rnd.

Best regards,

Igor2

- Raw text -


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