Feb 23, 2011 #1 S 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 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...
Feb 23, 2011 #2 D DineshSL Advanced Member level 1 Joined May 10, 2010 Messages 403 Helped 121 Reputation 242 Reaction score 116 Trophy points 1,343 Location Sri Lanka Activity points 3,551 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
Feb 23, 2011 #3 Y yx.yang Full Member level 4 Joined May 29, 2008 Messages 236 Helped 49 Reputation 98 Reaction score 46 Trophy points 1,308 Location ZhuHai, GuangDong, China Activity points 2,661 DineshSL said: 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 Click to expand... 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.
DineshSL said: 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 Click to expand... 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.
Feb 26, 2011 #4 S 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 I am asking about using Verilog Code. Suppose you have been given a problem to detect duration of clock using Verilog how will you.
I am asking about using Verilog Code. Suppose you have been given a problem to detect duration of clock using Verilog how will you.