I'd like to reinvoke the simulation using a tcl script. Is this possible? What's the tcl command to re-invoke the simulation?
Actually, I would like a script that runs a preamble command to update the simulation options contained in the irun.f file before re-starting the simulation. That would allow me to re-start the simulation with new options without leaving simvision.
Is this feasible?
Yes, this is possible.
Since reinvoke is a SimVision operation, you need to execute SimVision
commands in order
to execute it.
Here is a set of commented SimVision commands to do this,
including copying over
a modified irun.f file. You could define a custom toolbar button to
invoke these commands.
# Need to disable opening the reinvoke dialog when reinvoking via a
preferences set prompt-on-reinvoke 0
# Replace these file names with yours.
set from_file "irun_mod.f"
set to_file "irun.f"
exec cp -f $from_file $to_file
# reinvoke via the Design Browser. (Assumes this window is still
window invoke "Design Browser 1" Simulation>ReinvokeSimulator
# Set the preference back.
preferences set prompt-on-reinvoke 1
In reply to Doug Koslow: