How to measure phase difference of two signals of the same frequency in an FPGA?
For instance, say I have two 150 MHz signals (internal to the FPGA) that are synchronous to each other, but they are offset by some constant phase difference, how would I be able to measure this?
I have researched existing methods of a time-to-digital converter on an FPGA, but those mostly concern two one-time start and stop signals and measuring the time between those two events. I wonder if there's better method if we know that the signals are repeating with a constant phase difference?