May 28, 2010 #1 K 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
pls suggest some coding techniques to write the vhdl code fr finding phase angle b/w 2 sq. wave signals same freq
May 28, 2010 #2 R radix Full Member level 3 Joined Jul 23, 2002 Messages 156 Helped 7 Reputation 14 Reaction score 1 Trophy points 1,298 Activity points 1,534 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
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