rajdeep
|
I've got a question somewhat related to this, so thought to put it here.... Is there a way to throw an event at every simulation time point?
This will be very helpful in some cases and we can avoid using 'timer' type of things, which slow down the simulation. For example, if I want to monitor that the current flowing through a branch is monotonically increasing, I have to sample the current at a certain rate and measure the difference between the two consecutive sample points to check whether the difference is nonnegative or not (ddt does create convergence issues!!). But this slows down the simulation. A better way would be to use a variable sampling clock to tick at the rate of the simulator. Then I can use the cross construct to trigger the monitor. Is it possible in cadence spectre, spectreVerilog or any other simulator??
Rajdeep
|