FPGA implementation of asynchronous FIFO