improved fix_symbols (works both ways for sky130 <--> xschem default env conversions

This commit is contained in:
Stefan Schippers 2023-06-07 20:48:26 +02:00
parent ff99381624
commit 828975c19f
1 changed files with 1 additions and 1 deletions

View File

@ -4615,7 +4615,7 @@ proc get_directory {f} {
proc fix_symbols {n} {
set fast {}
foreach {i s t} [xschem instance_list] {
set sympath [find_file_first $s]
set sympath [find_file_first [file tail $s]]
if { $sympath ne {}} {
set new_sym_ref [get_cell $sympath $n]
puts "$i: $s --> $new_sym_ref"