gEDA-dev: Draft: Creating and maintaining a spice model library
Peter TB Brett
peter at peter-b.co.uk
Sat Nov 24 16:24:15 EST 2007
On Saturday 24 November 2007 18:38:00 Werner Hoch wrote:
> ------
> ; add a library with the command backend
> ; Syntax:
> ; (component-library-command "[listcommand]" "[getcommand]" "[name]")
> ;
> (component-library-command
> "/home/werner/oss/geda/spicelib/scripts/gedaparts nxp_bipolar.index"
> "/home/werner/oss/geda/spicelib/scripts/gedaparts nxp_bipolar.index"
> "0_NXP bipolar transistors")
> (component-library-command
> "/home/werner/oss/geda/spicelib/scripts/gedaparts nxp_diodes.index"
> "/home/werner/oss/geda/spicelib/scripts/gedaparts nxp_diodes.index"
> "0_NXP diodes")
> (component-library-command
> "/home/werner/oss/geda/spicelib/scripts/gedaparts ti_opamps.index"
> "/home/werner/oss/geda/spicelib/scripts/gedaparts ti_opamps.index"
> "0_TI opamps")
> ------
"geda-clib.scm" gets clobbered everytime you upgrade gEDA.
Better would be to create a file "gedaparts.scm" with exactly the same
contents in the same directory as geda-clib.scm. Any file in this directory
is assumed to be a Scheme file and is executed at startup. (This
functionality requires you to be running -unstable newer than 2007-10-21).
Peter
--
Peter Brett
Electronic Systems Engineer
Integral Informatics Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071124/44e49f26/attachment.pgp
More information about the geda-dev
mailing list