Mail Archives: geda-user/2015/08/02/19:23:19
On Aug 2, 2015, at 5:22 PM, Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
> I always had the impression that the attribute handling rules are too
> complex;
Yes, although part of the problem is just confusing terminology. We could use the terms “override default” and “restore default” for promoting and deleting instance attributes. That would make the existing functionality clearer, I think.
> it would be much simpler to say that all attributes are promoted
Ah, but that causes chaos for those of us who sometimes use “heavy” symbols. You often want to be able to edit the symbol once to change attributes for all of its instances. About five years ago somebody changed the default attribute promotion rules to promote more things, and I still haven’t completely straightened out the resulting mess.
> and the symbol attributes are only sensible initial default values, which
> are always ignored when processing the schematics (generating a netlist
> being the most common example).
Promoting *nothing* unless you want to override it works better with heavy symbols.
>
> BTW, doesn't the net attribute have similar problems: many 74xx symbols
> have net=VCC:14 (or 16, or 20) and net=GND:7 (or 8, or 10).
Yes, I forgot about that one.
John Doty Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com
- Raw text -