abhinavpr
Junior Member level 2
- Joined
- Jun 19, 2013
- Messages
- 21
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 205
Hi,
I have designed an Async FIFO.
write clk = 50 Mhz
read clk = 10 Mhz
FULL flag is gnerated in wclk domain with synchronized read ptr.
FULL detection in immediate.
EMPTY flag is generated in rclk domain with synchronized write ptr.
here EMPTY condition is not immediate
as the write ptr is synchronized using 2FFs in read clk domain
and the value received is the value of write ptr 10wclk cycles earlier.
so while the FIFO is filled with 10 data EMPTY flag is raised.
I would like to know if there is any efficient way of generating EMPTY flag in async fifo.
-abhinavpr
I have designed an Async FIFO.
write clk = 50 Mhz
read clk = 10 Mhz
FULL flag is gnerated in wclk domain with synchronized read ptr.
FULL detection in immediate.
EMPTY flag is generated in rclk domain with synchronized write ptr.
here EMPTY condition is not immediate
as the write ptr is synchronized using 2FFs in read clk domain
and the value received is the value of write ptr 10wclk cycles earlier.
so while the FIFO is filled with 10 data EMPTY flag is raised.
I would like to know if there is any efficient way of generating EMPTY flag in async fifo.
-abhinavpr