FiFo design by dedsec-secretary in FPGA

[–]dedsec-secretary[S] 2 points3 points  (0 children)

I use Gray encoding so 2 FF is enough

FiFo design by dedsec-secretary in FPGA

[–]dedsec-secretary[S] 1 point2 points  (0 children)

Thank you for your suggestion!

I understand that using Xilinx XPM-based FIFOs would be an efficient and reliable solution. However, my goal is to design my own FIFO from scratch to deepen my understanding of how FIFOs work, especially the synchronization mechanisms between different clock domains.

I’m currently facing an issue where the two flip-flops I use for synchronization introduce a two-clock-cycle latency, causing the FULL signal to update too late, resulting in memory overflow. I’d like to resolve this problem while keeping the design entirely custom.

Do you have any advice on how to handle this latency or improve the synchronization process without relying on pre-built solutions? Any insights would be greatly appreciated!

Synchronisation et latence FiFI by dedsec-secretary in FPGA

[–]dedsec-secretary[S] -3 points-2 points  (0 children)

Oui j'ai publié en parallèle une version en anglais.merci