small change to write data in fifo memory only on falling edge of signal when asynchronous