Altera_Forum
Honored Contributor
14 years agoSample synch. signal with unknown phase shift
Hi All,
I have a following problem. I have two devices (Transmitter and receiver). Both devices have a synchronous clock with unknown phase. The distance of the devices is about 300m and they are connected via 192bit wide bus. The problem is that (according to the spec of the cabling) a delay in each wire is about (4.2+-0.1)ns/m). This means that the signals arrive with different delay and thay have to be realigned. 2nd difficulty is that it is a realtime system and I have about 3 clock cycles to do this and propagate signal to next stages. This means to avoid any complicated fifo. If I would make it from discrete components I would use a cascade of the buffers in serie and chose the best stage using multiplexer. I have seen that there is a possibility to modify the delay for the input buffer how ever I need to be able to do this on the fly so for me this is not an option. the only fpga is in the receicer and it has a stratix I GX fpga Is there any elegant way how to solve this in altera stratix fpga? reps is there way how to make a cascade of the async delays ??? Or can you recomend some book about async. design in alteras fpga??? I want to avoid putting cascade of D flip flop and program the phase of the sampling frequency. Thanks a lot for your help !!!