set verison to 3.4.6RC (Release Candidate) to avoid confusion

This commit is contained in:
stefan schippers 2024-09-07 00:01:39 +02:00
parent 1b6612669d
commit 3f4004fdca
8 changed files with 8 additions and 8 deletions

View File

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

View File

@ -461,7 +461,7 @@ function print_header()
"device @name @device\n" \ "device @name @device\n" \
"@comptag\"\n" "@comptag\"\n"
} }
print "v {xschem version=3.4.6 file_version=1.2}" print "v {xschem version=3.4.6RC file_version=1.2}"
template_attrs = "template=\"" template_attrs "\"\n" template_attrs = "template=\"" template_attrs "\"\n"
if(FILENAME ~/\.sym$/) { 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 "start print symbol: " sym
print "v {xschem version=3.4.6 file_version=1.2}" > sym print "v {xschem version=3.4.6RC file_version=1.2}" > sym
print "K {type=" sym_type > sym print "K {type=" sym_type > sym
# print "format=\"@name @pinlist @symname " format_translate(template) "\"" > sym # print "format=\"@name @pinlist @symname " format_translate(template) "\"" > sym
iii = format_translate(template, extra) iii = format_translate(template, extra)

View File

@ -68,7 +68,7 @@ function beginfile(f)
text_voffset=20 text_voffset=20
lab_voffset=4 lab_voffset=4
ip=op=n_pin=0 ip=op=n_pin=0
print "v {xschem version=3.4.6 file_version=1.2}" > sym print "v {xschem version=3.4.6RC file_version=1.2}" > sym
if(template !~/^{[ \t\n]*$/) { if(template !~/^{[ \t\n]*$/) {
printf "%s", "K {type=subcircuit\nformat=\"@name @pinlist @symname\"\n" >sym printf "%s", "K {type=subcircuit\nformat=\"@name @pinlist @symname\"\n" >sym
printf "%s\n", "template=\"name=x1\"" >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 "start print symbol: " sym
print "v {xschem version=3.4.6 file_version=1.2}" > sym print "v {xschem version=3.4.6RC file_version=1.2}" > sym
print "K {type=" sym_type > sym print "K {type=" sym_type > sym
# print "format=\"@name @pinlist @symname " format_translate(template) "\"" > sym # print "format=\"@name @pinlist @symname " format_translate(template) "\"" > sym
iii = format_translate(template, extra) iii = format_translate(template, extra)

View File

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

View File

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

View File

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