[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: some observations/experiences with geda as a simulationfrontend
On Mon, 24 Mar 2003 mcmahill@mtl.mit.edu wrote:
> - is there a way in the gnetlistrc to specify a search path for scheme
> files? I just copied all the share/gEDA/scheme/* files to a local
> directory and used the (scheme-directory) function to point there while
> working on gnet-switcap.scm. It might be nice to have a search path
> which included multiple directories.
In guile, the search path is the scheme list %load-path, but gnetlist
normally seems to load files directly instead of searching the path.
Playing around, adding directories to GUILE_LOAD_PATH in the environment
and running gnetlist with a perverse command line like this works despite
a warning about being unable to find gnet-myspice in the usual directory:
gnetlist -c '(load-from-path "gnet-mynet.scm")' -g mynet -o out.net f1.sch
But that's definitely non-standard!
(appending to %load-path in gnetlistrc doesn't work; apparently -c options
are run before getlistrc is read).
> - this last one is probably a much bigger task, but it might be nice to be
> able to use scheme to create some sort of GUI for setting up analyses.
> I've been trying to finish up the switcap support by adding some symbols
> which will cause an analysis statement in the netlist. The problem is
> its a bit cumbersome to deal with all the possible options you might
> want. For the current system, I'll probably just have an include file
> element where you can have it insert a text file with the analysis
> commands.
If you have guile-gtk installed, it seems to work fine from within
gnetlist. At least pasting from the examples into a gnetlist backend
works fine.
Thanks for giving me an excuse to play around with it: next I want to try
writing some guile-gtk gschem extensions. After only a little
schematic-drawing, I really want a "sequence text" command like Design
Architect, but it will require a gui fragment for options.
Steve
--
Steve Tell tell@telltronics.org