From 7ad930e7f087d81fec10a69d82def7e8f2c45910 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Wed, 10 May 2023 03:13:13 +0200 Subject: [PATCH] istances with *_ignore=true attribute will be drawn greyed out in schematics in the corresponding netlisting mode; command in Properties menu to toggle this attribute on selected instances --- doc/xschem_man/developer_info.html | 7 +-- doc/xschem_man/symbol_property_syntax.html | 6 +++ src/draw.c | 54 +++++++++++++++++++++- src/scheduler.c | 32 ++++++++++++- src/spice_netlist.c | 2 +- src/tedax_netlist.c | 2 +- src/verilog_netlist.c | 4 +- src/xschem.h | 3 +- src/xschem.tcl | 2 + 9 files changed, 101 insertions(+), 11 deletions(-) diff --git a/doc/xschem_man/developer_info.html b/doc/xschem_man/developer_info.html index 316f6fa0..582553a5 100644 --- a/doc/xschem_man/developer_info.html +++ b/doc/xschem_man/developer_info.html @@ -1119,11 +1119,13 @@ C {verilog_timescale.sym} 1050 -100 0 0 {name=s1 timestep="1ns" precision="1ns" testmode
  • toggle_colorscheme
  •     Toggle dark/light colorscheme 
    +
  • toggle_ignore
  • +   toggle *_ignore=true attribute on selected instances
    +   * = {spice,verilog,vhdl,tedax} depending on current netlist mode 
  • translate n str
  •     Translate string 'str' replacing @xxx tokens with values in instance 'n' attributes
          Example: xschem translate vref {the voltage is @value}
    -     the voltage is 1.8 
    -
    + the voltage is 1.8
  • trim_wires
  •     Remove operlapping wires, join lines, trim wires at intersections 
  • undo
  • @@ -1170,7 +1172,6 @@ C {verilog_timescale.sym} 1050 -100 0 0 {name=s1 timestep="1ns" precision="1ns"
        Zoom to selection 
    - diff --git a/doc/xschem_man/symbol_property_syntax.html b/doc/xschem_man/symbol_property_syntax.html index 88716fdb..0159a467 100644 --- a/doc/xschem_man/symbol_property_syntax.html +++ b/doc/xschem_man/symbol_property_syntax.html @@ -502,6 +502,12 @@ verilog_format="xnor #(@risedel , @falldel ) @name ( @@Z , @@A , @@B );" opamp_65nm_empty.sch, ... and define some user accessible method in hierarchy_config procedure to select one of these 'switch' schematics.

    +
  • symbol_ignore
  • +

    + This attribute can be attached to symbol elements, like lines, rectangles, polygons, arcs, texts, + wires and instances (in case of lcc symbols). If set to true (symbol_ignore=true) + the corresponding element will not be displayed when the symbol is instantiated. +

    PREDEFINED SYMBOL VALUES