From ade1aaf8583f1a4e1c297d1d683bea08834742cc Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Mon, 22 May 2023 08:51:23 +0200 Subject: [PATCH] (3) update examples/test_bus_tap.sch --- xschem_library/examples/test_bus_tap.sch | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/xschem_library/examples/test_bus_tap.sch b/xschem_library/examples/test_bus_tap.sch index e3e6df29..d12ed200 100644 --- a/xschem_library/examples/test_bus_tap.sch +++ b/xschem_library/examples/test_bus_tap.sch @@ -9,7 +9,8 @@ P 4 7 740 -320 740 -350 730 -350 740 -380 750 -350 740 -350 740 -320 {fill=true} T {Specifying @lab will result in net @#1:net_name} 730 -320 0 0 0.4 0.4 {name=l6 layer=4} -T {tcleval(set show_pin_net_names=[set show_pin_net_names 1] [xschem update_all_sym_bboxes])} 150 -100 0 0 0.4 0.4 {name=l6 layer=4} +T {Title symbol has embedded TCL command +to enable show_pin_net_names } 180 -110 0 0 0.4 0.4 { layer=7} N 280 -420 1020 -420 {bus=true lab=DATA[15:0]} N 500 -610 500 -430 { @@ -146,4 +147,11 @@ footprint=1206 device=resistor m=1 net_name=true} -C {title.sym} 160 -30 0 0 {name=l9 author="Stefan Schippers"} +C {title.sym} 160 -30 0 0 {name=l9 + +author="tcleval(Stefan Schippers[ + if \{$show_pin_net_names == 0\} \{ + set show_pin_net_names 1 + xschem update_all_sym_bboxes + \}] +)"}