Flush FIFO
- Updated2023-02-17
- 2 minute(s) read
Flush FIFO
Empties data from the FIFO and sends the data to the recipient.
For DMA target-to-host FIFOs, the recipient is the host. For peer-to-peer writer FIFOs, the recipient is the peer-to-peer reader FIFO. You must enable the peer-to-peer stream when flushing a peer-to-peer writer FIFO. Otherwise, this node executes but does not flush the FIFO.
Inputs/Outputs

reference in
Reference to the FIFO.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

reference out
Reference to the FIFO.

error out
Error information.
The node produces this output according to standard error behavior.
When to Use the Flush FIFO Node
- Use the Flush FIFO node when the need for lower latency outweighs the need for higher data transfer rates. If you overuse the Flush FIFO node, you may reduce data transfer rates.
- You can use the Flush FIFO node to flush FIFOs regardless of
whether the Write FIFO node uses a handshaking interface or a
timeout interface. For example, the flush still works in the following situations:
- The Timed Out? output of the Write FIFO node returns True when you use the Flush FIFO node.
- The Ready for Input output of the Write FIFO node returns False when you use the Flush FIFO node.
Simultaneous Flushes
If you use the Flush FIFO node when another FIFO flush is in progress, the two flushes merge.