Skip to content

alokvishwa10/Synchronous-FIFO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synchronous-FIFO

First In First Out (FIFO) is a particularly well and practical design concept that serves as a handshaking technique and synchronisation mechanism between two modules.

In Synchronous FIFO, data read and write operations use the same clock frequency. Usually, they are used with high clock frequency to support high-speed systems.

FIFO can store/write the d_in at every posedge of the clock based on wr_en signal till it is full. The write pointer gets incremented on every data write in FIFO memory.

The data can be taken out or read from FIFO at every posedge of the clock based on the rd_en signal till it is empty. The read pointer gets incremented on every data read from FIFO memory.

Empty condition

w_ptr == r_ptr i.e. write and read pointers has the same value. MSB of wr_ptr and rd_ptr also has the same value.

Full condition

wr_ptr == rd_ptr i.e. write and read pointers has the same value, but the MSB of wr_ptr and rd_ptr differs.

Verilog code and testbench to verify the module are provided in the repository

Simulation results

image

Author

Alok Vishwakarma, M.tech (Microelectronics) IIIT Allahabad

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published