I have added some job control functions to xschem ...
# xschem
s
I have added some job control functions to xschem to monitor simulation progress as well as keeping track of the running jobs and allowing to terminate or kill them. This is particularily useful for batch mode jobs that do not have a controlling terminal or GUI. See short video.
👍 6
d
how did you do the swap code ?
s
@Daniel Arevalos select the Swap launcher and do a 'q' to view its attributes. The launcher has a
tclcommand
attribute:
Copy code
tclcommand="
proc simswap {} {
  set x [xschem getprop instance INTERACTIVE spice_ignore]
  xschem setprop instance BATCH_MODE spice_ignore $x
  set x [expr { !$x}]
  xschem setprop instance INTERACTIVE spice_ignore $x
}
simswap
"
when the
tclcommand
is triggered (Ctrl-click on the launcher) it will toggle the
spice_ignore
attribute of both the
INTERACTIVE
and
BATCH_MODE
instances, setting one to 1 and the other to 0. This is just a helper to avoid changing the spice_ignore attributes by hand. A component with
spice_ignore=1
will be completely ignored by the netlister.