diff --git a/doc/xschem_man/symbol_property_syntax.html b/doc/xschem_man/symbol_property_syntax.html index 732752b3..88716fdb 100644 --- a/doc/xschem_man/symbol_property_syntax.html +++ b/doc/xschem_man/symbol_property_syntax.html @@ -485,7 +485,22 @@ verilog_format="xnor #(@risedel , @falldel ) @name ( @@Z , @@A , @@B );"
This attribute specifies an alternate schematic file to open when descending into the subcircuit: +
schematic=inv_2.sch+
+ It is possible to call a TCL procedure to decide the schematic to descend into: +
+schematic="tcleval([hierarchy_config @symname])"+
+ The above schematic attribute will be evaluated by a hierarchy_config
+ TCL procedure (which must be defined) and the @symname attribute will be expanded to the name of the
+ symbol before passing the argument to the TCL procedure.
+ This allows user defined schematic selection in the hierarchy to simulate the design at different
+ details/abstraction levels.
+ One suggested approach is to define for a given opamp_65nm.sym symbol several schematics like
+ opamp_65nm.sch, opamp_65nm_pex.sch, opamp_65nm_aged.sch,
+ opamp_65nm_empty.sch, ... and define some user accessible method in hierarchy_config procedure
+ to select one of these 'switch' schematics.