The invention discloses an
asynchronous FIFO (First In First Out) based on an event-driven circuit and a
data processing method thereof, and the
asynchronous FIFO comprises a dual-port RAM (
Random Access Memory) module, a writing pointer / reading pointer self-increasing module, a writing pointer / reading pointer
Gray code conversion module, a full writing or empty reading judgment module, a two-stage register and a writing / reading control path, a starting
signal of the write / read control access is a write / read request event, generates a pulse
signal to drive a register to sample after being started, and transmits data to a full-write or empty-read judgment module; and a corresponding writing / reading response
signal is generated after one-
time data writing / reading is completed. When write operation is carried out, input data and write request event signals are bound and input into the FIFO together, and when read operation is carried out, only read request events are input into the FIFO. The event-driven
circuit design method is adopted, the circuit does not depend on
clock signals, the circuit is driven to work through
handshake signals of requests and responses, and the problem of
adaptation of
asynchronous FIFO to the event-driven circuit is solved.