Allow the definition of spice syntax in symbols.

Bug #698664 reported by sorl on 2007-07-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Undecided
Unassigned

Bug Description

This feature is designed to make it possible to design (relative) simple, probing and analysis definitions as a symbol.

The key idea behind this is to define a attribute (spice-syntax), set its value to a string to interpret and let the netlister replace tokens like [netname] with the value of the netname attribute.
;; [ATTRIBUTE=standard] attribute is a attribute name that is equal to
;; the ATTRIBUTE name in Netlist
;; if the attribute is not defined the standard value is used insted.
;; if the attribute is refdes standard is the prefix.
;; attributes may not begin with '-', '/' or '+'
;;
;;
;; [-PINNUMBER] the netname connected to the pin with an equal PINNUMBER
;; is written to the outputfile
;;
;;
;; [+FLAG=Flagname] if a Flag is set the Flagname String is given to the spice File
;; a Flag is set if the Value is one of "#t" "1" "on" "true" "yes"
;; every other value of Flag is ignored
;;
;; <optional-Block> Optional Blocks are only written if they can be solved
;; that means if all attributes are existing in the package
;; or have a standard value
;;
;; every thing else everything else is simply copyed to the outputfile

sorl (sorl) wrote :
werner2101 (werner2101) wrote :

Hi all,

I've integrated the patch into my local git repo and created a patch against 23ead18086e59aab22945c37ff95f49e5.

* copied the symbols into the spice2 directory
* fixed installation
* replaced spice library with the new spice2 library in geda-clib.scm
* moved the example to examples/spice_syntax (does not work)

This patch is intented to make it easier to test the provided patch.

Regards
Werner

werner2101 (werner2101) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers