diff --git a/doc/xschem_man/tutorial_use_existing_subckt.html b/doc/xschem_man/tutorial_use_existing_subckt.html index c821abbf..23f8e90c 100644 --- a/doc/xschem_man/tutorial_use_existing_subckt.html +++ b/doc/xschem_man/tutorial_use_existing_subckt.html @@ -198,6 +198,7 @@ x1 XZ XVCC XVSS XA XB XC symbol_include +
  • Use a spice_sym_def=".include <file>" line in the symbol

    The second method is to declare the symbol type as subcircuit and @@ -228,6 +229,23 @@ x1 VSS TRIG OUT VSUPPLY CTRL TRIG DIS VSUPPLY ne555

  • + +
  • Specify the subcircuit in the spice_sym_def attribute

    +

    + instead of including yhe file specify the subcircuit directly into the spice_sym_def attrinute. +

    +
    +spice_sym_def="
    +.subckt symbol_include Z Y[5] Y[4] Y[3] Y[2]
    ++ VCC VSS
    ++ A[2] A[1] A[0] B C W=10 L=1 
    +...
    +...
    +.ends
    +" 
    + 
    +
  • +
  • Completely specify a subcircuit in the format attribute of the symbol

    The following set of symbol attrtibutes: