Mail Archives: geda-user/2023/05/06/08:06:35
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--8323329-179796387-1683373619=:1992
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT
Hi Richard,
On Fri, 5 May 2023, Richard Rasker (rasker AT linetec DOT nl) [via
geda-user AT delorie DOT com] wrote:
> Maybe a bit of an awkward observation, but it appears that more recent
> incarnations of gschem and pcb […] enforce stricter rules that break
> older designs in several different ways.
gnetlist used to have undefined behavior in a lot of situations resulting
in subtle bugs in the design. For example, a large SMD board at my
university would be missing one in row of identical transistors; this had
to be discovered and patched in by hand. In order to prevent this kind of
error, I decided to have gnetlist fail rather than "just output something"
if it encountered a situation that was likely to result in a problem.
> I used to have the net:pin definition "net=[name]:1" (not visible),
> together with "netname=[name]" (visible) -- but for some reason, it is
> no longer allowed to have both a net and a netname attribute defined.
This is prone to errors: someone may change the netname= attribute but not
realize that there is a net= attribute to be changed as well, resulting in
one net being displayed and another net being connected. Therefore,
recent versions of gnetlist honor the netname= attribute directly but
require the redundant net= attribute and the pinumber= attribute on the
pin to be removed.
So, the "canonical" fix would be to use a new-style power symbol (or just
create a copy of the old one minus the two attributes) and remove the net=
attribute.
> Virtually every older project that I created now throws numerous errors
> when I try to open and/or modify it, causing a lot of extra work.
I'm sorry about that! I added these checks to avoid more costly errors
later, but I guess I made them a bit too strict...
Roland
--8323329-179796387-1683373619=:1992--
- Raw text -