I try to write an assertion with this request:
when enable fell,
data should be stable for maximum 40 clocks.
[*40] - is at least 40…
how can I do the maximum?
Thanks!
I try to write an assertion with this request:
when enable fell,
data should be stable for maximum 40 clocks.
[*40] - is at least 40…
how can I do the maximum?
Thanks!
That would be same as saying data must change within 40 cycles.
$fell(enable) |-> ##[1:40] $changed(data);
Thank you.
it works to me when I wrote this code using $past, when use $changed it is not seem well, the assertion finish before data change:
Should I write with $changed in other way?
Thanks
$fell(enable) |->
##[1:40] $stable(data) ##1 $changed(data);
$changed(v)
is defined as ($past(v) !== v)
. That means $change to/from an unknown is true.
So it better using $changed(), because in this way it not fail when data going from X to valid value, Yes?
thank a lot.