query

R

ram

Guest
I am writing test bench for a DUT.In that DUT there is clock
generation unit(sub block) with dividers and mutilpiers What i want is
there any method to display the frequencies of the clocks in prompt
display.I am using ncverilog compiler.
kumar
 
ram wrote:
I am writing test bench for a DUT.In that DUT there is clock
generation unit(sub block) with dividers and mutilpiers What i want is
there any method to display the frequencies of the clocks in prompt
display.I am using ncverilog compiler.
kumar
Record the time at one posedge.
At the next posedge display the reciprocal of the time difference
(period) between the current time and the stored time to get the frequency.

I don't know what you mean by "in prompt display."
 

Welcome to EDABoard.com

Sponsor

Back
Top