diff --git a/doc/xschem_man/component_property_syntax.html b/doc/xschem_man/component_property_syntax.html index b7c63a3a..f64ca1a4 100644 --- a/doc/xschem_man/component_property_syntax.html +++ b/doc/xschem_man/component_property_syntax.html @@ -184,6 +184,19 @@ name="mchanged_name" model=\"nmos\" w="20u" l="3u" m="10" This is mainly used for tedax, where by back annotation a connection to a symbol must be changed. This notation is faster since xschem does not have to find a pin by string matching.
+ Any attribute and symbol text can be embedded in a tcleval(....) construct, the string inside the
+ parentheses will be passed to the tcl interpreter for evaluation. This allows to use any tcl
+ variable/command/expression. Example:
+ value="tcleval([expr {[info exists ::resval] ? $::resval : {100k}}])"
+ this attribute will set value (example: value of a resistor) to 100k if global tcl variable
+ resval is not set or to the value of resval if set.
+
+ Any attribute and symbol text can be embedded in a tcleval(....) construct, the string inside the
+ parentheses will be passed to the tcl interpreter for evaluation. This allows to use any tcl
+ variable/command/expression. Example:
+ spice_ignore="tcleval($::ignore_symbol)"
+ will cause the symbol to be ignored by the spice netlister if the ignore_symbol tcl variable is
+ existing and set to true
+