Reading data from a FIFO

In this recipe, we will see how we can read data from a FIFO.