|
From: Cary R. <cy...@ya...> - 2015-05-13 18:52:30
|
Getting this back on the development list.
Yes, VCD output is only output at the end of the simulation time step. It is not done interactively as the values change otherwise you would have a huge amount of excess data as values stabilize to their final value. I would not call this from the scheduler, but if needed do it as a final step when emitting VCD output for a given time step. I believe that is at the end of the variable_cb_2() call back routine.
Cary
On Wednesday, May 13, 2015 11:43 AM, Joshua Street <kni...@gm...> wrote:
so I think I'm still confused as to how to call the vpi callback functions from within schedule.cc.
I thought that since these two functions were called in stop.cc that I could also call these and have it immediately flush.
invoke_command_const("$fflush"); invoke_command_const("$dumpflush");
However, I think flush is the command I want. The only problem is that it doesn't seem to execute flush immediately.
I'm guessing from trying to read the source that a callback handler is registered and that it is later called when vpiPostSim takes place.
|