From 828975c19f74f36625710bc8af8c5dfd16c610bf Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Wed, 7 Jun 2023 20:48:26 +0200 Subject: [PATCH] improved fix_symbols (works both ways for sky130 <--> xschem default env conversions --- src/xschem.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index e542ed99..d84fe024 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -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"