regards,
nachiket kapre.
paxonet communications inc.
> so far i have managed to pipe commands into modelsim(vsim) uptil run.
> but i am presently unaboe to find a way to break a current simulation.
Consider repeatedly running for a fixed time with a command like
run 20
instead of
run -all
This will give you control of the interface between runs.
see also:
http://www.model.com/resources/appnotes/vhdl_testbench.asp#h3
-- Mike Treseler
To start Modelsim without gui, run 'vsim -c' command.
You can use Tcl/Tk to control Modelsim (Modelsim commands are tcl
commands). By example you can execute this commamd 'puts "2+2 = [expr
2+2]"'
Marc
> To start Modelsim without gui, run 'vsim -c' command.
> You can use Tcl/Tk to control Modelsim (Modelsim commands are tcl
> commands). By example you can execute this commamd 'puts "2+2 = [expr
> 2+2]"'
Okay during my trials this is what i came across:-
1. when modelsim is onvoked with "vsim.exe" it is simple to open a
command pipeline to the modelsim interpreter and issue commands as and
when required whithout any gui required.
2. if vsim -gui is issued then the gui opens but no command pipeline
can be established. Is there a specific person for this? I assume that
since a command line is made available it may create conflicts if a
command pipeline is feeding this intepreter prompt simulatenously
alongwith a user.
One way to work aroung the GUI problem would be to open a socket
connection with your external Tcl script and Modelsim. But i somehow
find this way of doing IPC rather blunt.Does anyone have a better way
of doing an IPC into modelsim from another script/application.
regards,
nachiket.