[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gnetlist l and m options



On Fri, 2008-01-04 at 20:19 -0500, Paul Tan wrote:
> Hi Steve,
> 
> I am not using that feature currently, but its a nice feature and I 
> might
> use the post-backend feature in the future.

Tangentially related....

To fix the spice-sdb slotting feature (patches not committed yet, but
awaiting comments), I had to explicitly split gnetlist.scm into two
parts. I moved gnetlist.scm and the netlist backend to load BEFORE
traversing the board, and have  gnetlist-post.scm run AFTER.

This is because I introduced (propose to introduce) a scheme hook for
determining the UREF of a component. This is determined during schematic
traversal time, so at this point, the backend must have loaded.
However.. gnetlist.scm also has some (define ...) code which is
evaluated as soon as gnetlist.scm is loaded, and MUST NOT be run until
after traveral. (This was the bit I moved to gnetlist-post.scm).


-- 
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