Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How To Find Duration Of Clock

Status
Not open for further replies.

spartanthewarrior

Full Member level 2
Joined
Jun 13, 2007
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,142
Hi All,

I have given a clock, can anybody tell me

How can i find duration of clock ?

Possible Solution is to capture time at posedge and negedge, subract first from second and multiply by it two.

Is there another way to do this.

Also one more question

What if instead of clock i am having a signal...
 

Hi,

For any signal your method can be used. (that was implemented in capture modules in uCs)

For a clock signal, it can be improved by counting several clock signals and getting the average time duration.

Thanks
 

Hi,

For any signal your method can be used. (that was implemented in capture modules in uCs)

For a clock signal, it can be improved by counting several clock signals and getting the average time duration.

Thanks

Hi, to do this you need consider the accurate you want. You need take the clock jitter in the clock you used to calculate the signal and something else that may influence the calculation accurate.
 

I am asking about using Verilog Code.

Suppose you have been given a problem to detect duration of clock using Verilog how will you.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top