How to 'resume' a tcl-driven simulation in NCSIM (IUS54)?
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
How to 'resume' a tcl-driven simulation in NCSIM (IUS54)?

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
eda_employee
Guest





Posted: Sun Nov 06, 2005 5:10 pm    Post subject: How to 'resume' a tcl-driven simulation in NCSIM (IUS54)? Reply with quote

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.)

Back to top
eda_employee
Guest





Posted: Sun Nov 06, 2005 9:10 pm    Post subject: Re: How to 'resume' a tcl-driven simulation in NCSIM (IUS54) Reply with quote

"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?)
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB