Bruno de Melo Costa
03/10/2023, 7:55 PMStefan Schippers
03/10/2023, 10:48 PMBruno de Melo Costa
03/11/2023, 6:52 AMBruno de Melo Costa
03/11/2023, 6:52 AMStefan Schippers
03/12/2023, 11:01 AMscript.tcl
, write the procedure in it:
proc my_procedure {param1 param2} {
puts "param1 is: $param1"
puts "param2 is: $param2"
}
##optional: execute the procedure
my_procedure aaaa bbbb
Then at the xschem prompt source the file:
source script.tcl
If you want to source the script.tcl automatically when xschem is opened add this line in your xschemrc:
lappend tcl_files /path/to/your/script.tcl
Stefan Schippers
03/12/2023, 11:03 AMxschem --script script.tcl