Mail Archives: geda-user/2017/08/14/14:13:42
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 -