Altera_Forum
Honored Contributor
12 years agoData synchronization issue
Hi,
I am facing an issue while synchronizing data between two clock domains. clka is at 200Mhz, coming in to the FPGA (phase not known) clkb is at 200Mhz 180 Phase shifted (generated from a PLL whose input clock is clka) I know there are other ways to synchronize data but I used a fifo to sync a signal coming from clkb to clka. So I attached the wr side clock with clkb and read side clock with clka. Now the issue is, sometime data sent from clkb is not received at clka domain. I tried with a simple counter and I found that data is not being sync. This case happens once is a thousand clock cycles I have no clue whats happening I guess that there can be a little jitter in clka (since its coming from outside fpga but that pll never gets unlocked) thats causing the issue. Is there a way to remove jitter or varying delay between clocks? Or should I try something else to sync data between clocks *FIFO sync stages are set to 3 so I guess there must be nothing wrong with the fifo