E
eda_employee
Guest
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.)
(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.)