Clock Domain Crossing
The most reliable communication between the Raspberry Pi Zero and the ECP5 would be using Clock Domain Crossing FIFO circuitry. But it also takes the most resources.
The basic idea is that the RPI Zero writes data to a FIFO queue on the FPGA using its pixel clock, and the FPGA reads from it. They both use the same dual port block RAMs, but with different clock drivers. Gray coding is used to transmit the most recent write address between the two clock domains. Multiple open source libraries exist for this purpose. The FPGA then needs to calculate its own HSync, VSync, and Blank signals.
Built with the Forest WIki.
User contributed content is licensed under a
Creative Commons CC By 4.0 License.