eda_employee
Guest
|
Posted:
Sun Nov 06, 2005 5:10 pm Post subject:
How to 'resume' a tcl-driven simulation in NCSIM (IUS54)? |
|
|
My workplace uses NCSIM's tcl-interface to drive our VHDL/Verilog
(mixed-language simulations.) They use some tcl routines to
'poll' some sim-objects ('magic' RAM locations),
and detect the 'completion' of a sim. (Basically, the
tcl-procedure checks periodically for a certain-value written
to a Verilog reg[] array.)
The problem is, I want to use NCSIM's interactive features (setting
breakpoints) to debug a simulation. If the sim is running, and
I push the 'stop' button, this quits out of the tcl-file. I've
tried 'run', 'run -clean', etc. and while they do resume NCSIM,
they don't return to the interrupted tcl-procedure. (I can tell
because our tcl-procedure periodically prints progress-messages
to the console.)
|
|
eda_employee
Guest
|
Posted:
Sun Nov 06, 2005 9:10 pm Post subject:
Re: How to 'resume' a tcl-driven simulation in NCSIM (IUS54) |
|
|
"eda_employee" <dont_reply@employees.com> wrote in message
news:qLnbf.10107$q%.3085@newssvr12.news.prodigy.com...
| Quote: | ... If the sim is running, and I push the 'stop' button, this quits out of
the tcl-file ...
|
Followup to my own post. According to the whatsnew document, IUS54
added a new tcl-command called 'pause' (only usable from tcl-scripts,
not from the NCSIM interactive command-line.)
It would be nice if the NCSIM GUI had a button which could perform
this magical 'pause function', rather than me having to strategically
embed the tcl-pause command in all my tcl-scripts. But for now, this
will have do...
(unless someone has a better idea?) |
|