[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: attribute promotion query
On Fri, 2008-02-08 at 13:57 -0500, Ales Hvezda wrote:
> [snip]
> > > For investigation purposes I instantiate a 7400-1.sym on my gschem page.
> > > I have (attribute-promotion "enabled") in my gafrc file, and I don't
> > > have promote-invisible enabled. (Incidentally, the manual says to use
> > > gschemrc to set these - is this wrong or can it be either?)
> >
> > Either I guess. gafrc means it happens for any tool which loads a
> > component via libgeda. In practise, this means gschem at present.
>
> and gnetlist. If you have a mismatch between what is configured for
> the attribute promotion for gschem vs gnetlist, you will get some
> rather incorrect netlists.
Hmm.. I thought it wouldn't affect gnetlist, since promotion isn't
enabled with reading in saved schematic files.
BTW.. I wanted (still do) to move the attribute promotion code out of
o_complex_add(), so all such functions can become OBJECT *o_???_new(),
and not require returning GLists of objects *when finish the patches to
turn the main object list into a GList. At the moment, attribute
promotion is the only reason a o_???_add() function needs to return
multiple objects at once, meaning more special cases in the
implementation.
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user