bump version to 3.4.6, will be next release when fully tested

This commit is contained in:
stefan schippers 2024-09-06 23:39:16 +02:00
parent 1dd3e28b32
commit 1b6612669d
9 changed files with 46 additions and 9 deletions

View File

@ -1,5 +1,42 @@
3.4.5:
3.4.6:
- Graphs will autoload (if autoload checked) raw data even if no raw file is specified in
graph dialog box (use current loaded raw file, usually with a different analysis)
- Save 4 vars ( node, ph(node), re(node, im(node) ) instead of 2 ( node, ph(node )for ac plots
- Add "private cursor" check box in graph dialog box. This allow the related graph to have
separate "a" and "b" cursors. These cursor positions are saved with the schematic and
are thus persistent when reloading the schematic.
- Fix a bug in preview symbol displaying when inserting components. Toplevel .load widget was
destroyed before cleaning preview data in preview_window(), so after some insertion preview
was no more displayed.
- Port ordering for a schematic .subckt line will always be deduced from the symbol if it exists,
even if the symbol type is not "subcircuit" (so it will be used for also "primitive" type symbols).
- Add tcl xschemrc variable "select_touch" that enables selecting objects touched by the
selection rectangle if dragging to the left. Previously this behavior was enabled by
"incremental_select" that shows selected elements while dragging.
These two optional behaviors are now enabled/disabled by separate variables
- Issue a netlist error (and report message) if instances with pins have *all* pins disconnected.
This is in 99.999% of the cases an error.
- Added tcl variable top_is_subckt and related Simulation->LVS menu, that keeps top level wrapped
inside a .subckt / .ends, as lvs_netlist does. However top_is_subckt does only that and will not
enable lvs_format to differentiate device lines in netlist (usually used for LVS comparison).
- Add autoload checkbutton in graph properties to automatically load or not
custom graph-specified raw files
- Allow `global` atttributes on instances of gnd.sym and vdd.sym to override symbol `global`
setting. This allows also to set global=1 to net labels (lab_net.sym, lab_pin.sym)
to make the net global.
- ps/pdf export: use highlight colors on instances / wires that are highlighted
- Add attribute text_layer_n=lay, where n = text object inside symbol instance to change its layer
- Enhance spice_sym_def used in instances (with schematic=...) by substituting @param
with values defined in instance if any (param=xxx)
- Allow @symname, @symref, @param (param defined in symbol template string) translation in
instance or symbol spice_sym_def attributes
- A `.` in search path is always assumed to be [pwd] and not the directory of the currently
opened schematic. This will hopefully fix an endless list of user complains when using
symbols from dirs not listed in XSCHEM_LIBRARY_PATH.
- sim_pinnumber attribute on schematic pins will be used for top level .subckt pin
ordering if no corresponding symbol exists when creating a spice netlist
3.4.5:
- If a full path is given with -N set netlist file name as well as destination path
- Handle TABs in draw_string() (also ps and svg draw_string()),
tcl var tabstop (default = 8) sets the tab positions.

View File

@ -28,7 +28,7 @@ proc create_symbol {name {in {}} {out {}} {inout {}}} {
set symname [file rootname $name].sym
set res [catch {open $symname {WRONLY CREAT EXCL}} fd]
if {$res} {puts $fd; return 0} ;# Error. Print reason and exit.
puts $fd {v {xschem version=3.4.5 file_version=1.2}}
puts $fd {v {xschem version=3.4.6 file_version=1.2}}
puts $fd {K {type=subcircuit format="@name @pinlist @symname" template="name=X1"}}
set x -150
set y 0

View File

@ -461,7 +461,7 @@ function print_header()
"device @name @device\n" \
"@comptag\"\n"
}
print "v {xschem version=3.4.5 file_version=1.2}"
print "v {xschem version=3.4.6 file_version=1.2}"
template_attrs = "template=\"" template_attrs "\"\n"
if(FILENAME ~/\.sym$/) {

View File

@ -700,7 +700,7 @@ function print_sym(sym, template, format, subckt_name, sym_type, extra, dir, pin
print "start print symbol: " sym
print "v {xschem version=3.4.5 file_version=1.2}" > sym
print "v {xschem version=3.4.6 file_version=1.2}" > sym
print "K {type=" sym_type > sym
# print "format=\"@name @pinlist @symname " format_translate(template) "\"" > sym
iii = format_translate(template, extra)

View File

@ -68,7 +68,7 @@ function beginfile(f)
text_voffset=20
lab_voffset=4
ip=op=n_pin=0
print "v {xschem version=3.4.5 file_version=1.2}" > sym
print "v {xschem version=3.4.6 file_version=1.2}" > sym
if(template !~/^{[ \t\n]*$/) {
printf "%s", "K {type=subcircuit\nformat=\"@name @pinlist @symname\"\n" >sym
printf "%s\n", "template=\"name=x1\"" >sym

View File

@ -401,7 +401,7 @@ function print_sym(sym, template, format, subckt_name, sym_type, extra, dir, pin
print "start print symbol: " sym
print "v {xschem version=3.4.5 file_version=1.2}" > sym
print "v {xschem version=3.4.6 file_version=1.2}" > sym
print "K {type=" sym_type > sym
# print "format=\"@name @pinlist @symname " format_translate(template) "\"" > sym
iii = format_translate(template, extra)

View File

@ -393,7 +393,7 @@ function attrs(a)
function header()
{
print "v {xschem version=3.4.5 file_version=1.2}"
print "v {xschem version=3.4.6 file_version=1.2}"
}
function round(n)

View File

@ -1,4 +1,4 @@
v {xschem version=3.4.5 file_version=1.2
v {xschem version=3.4.6 file_version=1.2
}
G {font file}
K {}

View File

@ -23,7 +23,7 @@
#ifndef CADGLOBALS
#define CADGLOBALS
#define XSCHEM_VERSION "3.4.5"
#define XSCHEM_VERSION "3.4.6"
#define XSCHEM_FILE_VERSION "1.2"
#if HAS_PIPE == 1