Allow the definition of spice syntax in symbols.

Bug #698664 reported by sorl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
New
Wishlist
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

Revision history for this message
sorl (sorl) wrote :
Revision history for this message
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

Revision history for this message
werner2101 (werner2101) wrote :
Revision history for this message
Werner Hoch (werner-ho) wrote :

Updated bug status to wishlist

Changed in geda:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.