Altera_Forum
Honored Contributor
10 years agoasync fifo with variable length
Good day everyone!
I have async fifo with variable length in my FPGA project. Read and write clocks have the same frequency, but their phases are different and random. Also clocks are suffering some jitter and sometimes wander. I'm using right coding style (VHDL) for the buffer: write and read addresses are gray coded and synchronization reg are used (although I don't use timing assignments for sync registers so I'm not sure that compiler places them as close as possible to each other). The buffer is routing dependent (after some compilations it doesn't work properly). I can't use Altera dcfifo megafunction because buffer must have variable length. I would be grateful if someone gives me some advice about how to assign timing constraints for sync regs or how to make my buffer more sustainable.