From f3bedb39a472b36c743e6d64297a738dcf3508eb Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Mon, 14 Sep 2020 10:27:45 +0200 Subject: [PATCH] eliminated any differences between SYMBOL and SCHEMATIC files. There is no "current_type" variable any more. Symbols who used to have netlisting rules defined in schvhdlprop have now these attributes in schsymbolprop. Old symbol files with schvhdlprop will be saved with netlisting rules in schsymbolprop. --- doc/xschem_man/component_instantiation.html | 2 +- doc/xschem_man/developer_info.html | 3 +- doc/xschem_man/symbol_property_syntax.html | 15 ++- doc/xschem_man/xschem_properties.html | 6 +- scconfig/src/default/deps_default.c | 1 + scconfig/src/default/find.h | 1 + scconfig/src/default/find_io.c | 24 ++++- src/actions.c | 16 +-- src/callback.c | 16 ++- src/editprop.c | 106 +++++++++----------- src/globals.c | 1 - src/make_sym.awk | 4 +- src/save.c | 84 ++++++++-------- src/scheduler.c | 36 ++----- src/spice_netlist.c | 6 -- src/tedax_netlist.c | 6 -- src/verilog_netlist.c | 6 -- src/vhdl_netlist.c | 6 -- src/xschem.h | 1 - src/xschem.tcl | 5 +- 20 files changed, 158 insertions(+), 187 deletions(-) diff --git a/doc/xschem_man/component_instantiation.html b/doc/xschem_man/component_instantiation.html index 7c378ef7..a9e27862 100644 --- a/doc/xschem_man/component_instantiation.html +++ b/doc/xschem_man/component_instantiation.html @@ -161,7 +161,7 @@ p{padding: 15px 30px 10px;}
  • devices/attributes.sym
  • devices/port_attributes.sym
  • devices/generic_pin.sym
  • -
  • devices/generic.sym
  • +
  • devices/lab_generic.sym

  • diff --git a/doc/xschem_man/developer_info.html b/doc/xschem_man/developer_info.html index d9cfb094..0adfcec2 100644 --- a/doc/xschem_man/developer_info.html +++ b/doc/xschem_man/developer_info.html @@ -92,7 +92,8 @@ p{padding: 15px 30px 10px;} have a property string attached. Any text can be present in a property string, however in most cases the property string is organized as a set of key=value pairs separated by white space. In addition to object properties the schematic or symbol view has global properties attached. - There is one global property defined per netlisting mode (currently SPICE, VHDL, Verilog, tEDAx). + There is one global property defined per netlisting mode (currently SPICE, VHDL, Verilog, tEDAx) and one additional global property + for symbols (containing the netlisting rules usually). See the XSCHEM properties section of the manual for more info.

    COORDINATE SYSTEM

    diff --git a/doc/xschem_man/symbol_property_syntax.html b/doc/xschem_man/symbol_property_syntax.html index c45335e0..76372dd7 100644 --- a/doc/xschem_man/symbol_property_syntax.html +++ b/doc/xschem_man/symbol_property_syntax.html @@ -24,7 +24,7 @@ p{padding: 15px 30px 10px;}

    GENERAL RULES

    For symbols a global property string (to show it press 'q' when nothing - is selected). defines at least 3 attributes: + is selected and Options->Symbol global attrs is selected) defines at least 3 attributes: