From 37a5dcee9577d6ae7909c5254294ea31aeba64f1 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Fri, 9 Jun 2023 00:16:51 +0200 Subject: [PATCH] remove dbg messages in fix_symols. doc updates --- doc/xschem_man/developer_info.html | 2 +- src/xschem.tcl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/xschem_man/developer_info.html b/doc/xschem_man/developer_info.html index 5d692065..1aebd3da 100644 --- a/doc/xschem_man/developer_info.html +++ b/doc/xschem_man/developer_info.html @@ -1535,7 +1535,7 @@ C {verilog_timescale.sym} 1050 -100 0 0 {name=s1 timestep="1ns" precision="1ns" # use $pathlist global search path if $paths empty # recursively descend directories find_file f [paths] - + fix_symbols from_eng gaw_cmd gaw_echoline diff --git a/src/xschem.tcl b/src/xschem.tcl index b0b65e76..3989f453 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -4617,11 +4617,10 @@ proc fix_symbols {n} { foreach {i s t} [xschem instance_list] { if {![regexp {\(.*\)$} $s param]} { set param {}} regsub {\([^)]*\)$} $s {} s - puts "--------> $s $param" set sympath [find_file_first [file tail $s]] if { $sympath ne {}} { set new_sym_ref [get_cell $sympath $n]$param - puts "$i: $s$param --> $new_sym_ref" + puts "Remapping $i: $s$param --> $new_sym_ref" xschem reset_symbol $i $new_sym_ref } } @@ -5383,6 +5382,7 @@ proc quit_xschem {} { xschem exit closewindow } } + proc raise_dialog {parent window_path } { global myload_loadfile component_browser_on_top foreach i ".dialog .graphdialog .load" {