Question: what is the difference between fifo and ram?
Answer: FIFO does not have address input, it takes care of that on its own. It has counters(gray usually) for address generation. memory has the address input.