M
mmintz@gmail.com
Guest
Hi Sankar,
<snipping long post>
I expect the simulator to only call you once. You said:
ecbp->reason = cbValueChange;
That will call you back on any change in the signal. Be careful, it
may call you back many times at the same sim time. It will also call
you back for ANY change, including X and Z.
Hope this helps. If you want, I have some open-source code that uses
VPI. www.trusster.com.
Take Care,
Mike Mintz
mike <> trusster <> com
<snipping long post>
I expect the simulator to only call you once. You said:
so it called you then. Did you mean:ecbp->reason = cbAtStartOfSimTime;
ecbp->reason = cbValueChange;
That will call you back on any change in the signal. Be careful, it
may call you back many times at the same sim time. It will also call
you back for ANY change, including X and Z.
Hope this helps. If you want, I have some open-source code that uses
VPI. www.trusster.com.
Take Care,
Mike Mintz
mike <> trusster <> com