Tom
09/09/2022, 2:50 AMtom@tom-workstation:/media/tom/Storage/Linux/repos/discrete-buck$ xschem --rcfile=$PROJECT_ROOT/xschemrc -n -q -o . --tcl "set top_subckt 0" "sch/tb_sbmix2.sch"
setup_tcp_xschem: problems listening to TCP port: 2021
couldn't open socket: address already in use
Tom
09/09/2022, 2:59 AMStefan Schippers
09/09/2022, 6:24 AMset xschem_listen_port 2021
Its's always good to disable tcp listening if you don't need to send commands to xschem from other applications.
Another possibility is to run the xschem from the bash script with a different tcp port (--tcp 2033
)Stefan Schippers
09/09/2022, 6:28 AMxschem --tcl 'set xschem_listen_port {}' ......
Although the best thing to do is to disable tcp listening entirely in the xschemrc file if you are not using this.Tom
09/09/2022, 5:20 PM