Forum Discussion
The DC_FIFO issue of Cyclone 10 GX devices
Hello Minzhi,
I am Farabi to takeover this case from Ashlesha.
Thank you for the clarification.
When you say the DCFIFO aclr port is not opened, that means the FIFO is not being cleared after configuration. The FIFO IP User Guide states that either aclr or sclr must be enabled and included in the design for correct FIFO operation.
That also matches your symptom: the first transfer after power-up / reconfiguration fails, then later transfers are OK until the next download.
Please try the following:
Enable the DCFIFO aclr port.
Hold aclr asserted until both wrclk and rdclk are stable. For the XCVR RX path, release aclr only after rx_ready (or equivalent PHY reset-controller done).
In the FIFO Parameter Editor, enable:
Add circuit to synchronize aclr with wrclk
Add circuit to synchronize aclr with rdclk
Keep wrreq low during aclr deassertion, and wait a few clocks after release before the first write. Asserting wrreq at aclr release can race with wrclk.
Then re-test the first LUT write after a fresh FPGA download.
On the latency concern: for DCFIFO, wrreq to wrusedw is 2 wrclk cycles by documentation, so a 2-cycle usedw update can be normal if you are observing wrusedw. Please confirm whether Signal Tap is showing wrusedw/wrempty or rdusedw/rdempty.
Regarding Signal Tap: you can still capture wrclk and aclr by clocking Signal Tap from rdclk (or another free-running clock) and adding wrclk/aclr as data signals, together with rx_ready and the FIFO status ports.
Could you also share:
Quartus version
DCFIFO settings (Normal / Show-ahead, depth, width, sync stages, overflow/underflow checking)
Result after enabling aclr as above on the first post-config write
Best regards,
Altera Applications Support