From 54fcf126f68bae18809daa7a4a3ec8ae1264265a Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Tue, 11 Jan 2022 04:17:17 +0100 Subject: [PATCH] doc updates (sym attributes) --- doc/xschem_man/symbol_property_syntax.html | 9 +++++++-- src/token.c | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/xschem_man/symbol_property_syntax.html b/doc/xschem_man/symbol_property_syntax.html index c7025cf2..55bf7808 100644 --- a/doc/xschem_man/symbol_property_syntax.html +++ b/doc/xschem_man/symbol_property_syntax.html @@ -131,9 +131,9 @@ type=nmos


- In recent xschem versions a $ prefixed attribute (example: $var) can be used + In recent xschem versions a % prefixed attribute (example: %var) can be used instead of a @ prefix. The only difference is that if no matching attribute is defined - in instance the $var resolves to var instead of an empty string. + in instance the %var resolves to var instead of an empty string.

@@ -393,6 +393,11 @@ verilog_format="xnor #(@risedel , @falldel ) @name ( @@Z , @@A , @@B );" This attribute contains a SPICE .model or .subckt specification (device_model=".model D1N4148 D ....") that will be printed at end of netlist only once for the specified component (D1N4148 in the example).

+
  • schematic
  • +

    + This attribute specifies an alternate schematic file to open when descending into the subcircuit: +

     schematic=inv_2.sch
    +

    PREDEFINED SYMBOL VALUES