I'm searching the verilog equivalent of the VHDL attribute my_signal'last_event
but in Verilog. I have googled it without success. Does someone know how to do it ?
The 'last_event
attribute is used to know the time since the signal last event.
For example, if at time 15us, signal toto toogles from 0 to 1.
Then at time 20us, toto'last_event
returns 5us.