vhdl code for phase angle detection!!!!

Status
Not open for further replies.

k.s

Newbie level 1
Joined
May 28, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
pls suggest some coding techniques to write the vhdl code fr finding phase angle b/w 2 sq. wave signals same freq
 

k.s,

I imagine you have a sampling clock that is at least an order of magnitude greater that the signals you are trying to analyze?

If so, you could just use a simple counter.

Do an edge detect on one of the signals, and count until you see the edge of the other signal.

Radix
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…