From Nawroz Qahraman@21:1/5 to All on Fri Sep 24 06:20:55 2021
The timestamp format is a simple 32-bit counter running at 1MHz, therefore each count is equivalent to 1 microsecond.
The timestamp can be passed into the DUT directly from the testbench as a new 32-bit input.
Could anybody help me as how to use $time in verilog.
I need a timestamp of start of some event and the end of the same.
The timestamp should start at the rising edge of a signal called UP and should end at the rising edge of the other signal DOWN.
The time is actually the diffrence between DOWN - UP.
Please help me.