WD interview question

Write a FIFO in verilog