nthoangga
New Member
Offline
Posts: 4
|
I have a block of code that monitor a signal in VerilogAMS. Right now, I'm trying to do $fdisplay to output the maximum value of that signal, but I only want to output it once for the whole simulation.
So the question is: "Is there anyway to detect end of simulation, so that I can trigger the $fdisplay event at end of simulation?"
Right now, I have a quick hack of triggering $fdisplay at arSimTime, and I specify arSimTime on my ADE state. But this won't work if I kill my simulation or my simulation crash in the middle.
Thanks, Hoang
|