In reply to dave_59:
In reply to alexkidd84:
Show me how you calculated the clock period. There’s nothing special about a realtime variable; it’s just a real variable. And how can I suppose you don’t know the clock period if you already told me?
for example:
timeunit 1ns
timeprecision 1ps
clk_period = 3.2ns
how can I get the value 0.0000000032 sec?
I thought that I can obtain this value by dividing clk_period per timeunit, but timeunit is a systemverilog directive…
In fact if I make clk_period/1ns and timeunit changes this formula is not more correct.