Stefan Schippers
10/21/2023, 9:17 AMDaniel Arevalos
05/23/2024, 1:17 PMStefan Schippers
05/23/2024, 6:23 PMtclcommand
attribute:
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.