How drewbabel/fifo works
This repository provides configurable synchronous and asynchronous FIFO hardware in SystemVerilog. Its main workflow is writing and reading queued data; the asynchronous design adds separate write/read pointer logic and Gray-coded pointer synchronization across clock domains. The README documents these building blocks, but no RTL excerpts were available, so the internal connections below are documented relationships rather than inspected call or instantiation sites.
Main entry points: async_fifo.sv Async FIFO · wptr_full.sv Write Pointer · rptr_empty.sv Read Pointer · fifomem.sv Dual-Port Memory
Components 6
FIFO Interfaces
- Sync FIFO
rtl/sync_fifo.sv - Async FIFO
rtl/async_fifo.sv
Pointer Control
- Write Pointer
rtl/wptr_full.sv - Read Pointer
rtl/rptr_empty.sv
Storage And CDC
- Dual-Port Memory
rtl/fifomem.sv - Pointer Synchronizer
rtl/synchronizer.sv
Connections 4
- Async FIFO → Write Pointer: manages writes
README.md - Async FIFO → Read Pointer: manages reads
README.md - Async FIFO → Dual-Port Memory: uses memory
README.md - Async FIFO → Pointer Synchronizer: crosses domains
README.md