I have a problem to calculate phase difference between two sine waves on FPGA. Can anyone help please? Theoretically I could use the equation:
phase difference = arc cos (x1.x2/|x1||x2|), where x1 and x2 are the sine waves.
However I am looking for a practical solution that can be calculated on FPGA. Any bright idea please? Or how to implement the theoretical solution on FPGA? Thanks.