Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with simulation results of a design with asynchronous FIFO

Status
Not open for further replies.

jacobiLL

Newbie level 5
Joined
May 6, 2010
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,338
Hi ,all.
I have a asynchronous FIFO in my design, I found the simulation results is different between RTL and netlist. It is caused by the asynchronous FIFO, at the mistake time, the read clock and the write clock is very close(0.5ns), the netlist output is late than the RTL output.
I wonder to know is it unavoidable for the asynchronous FIFO? Use Gray code can only reduce probability of this unexpected error.
 

Re: asynchronous FIFO

jacobiLL,

I sounds like either you're using the fifo incorrectly, or the fifo was incorrectly designed.

The reason a gray count is used when crossing clock domains is that only a single bit is changing at a time. This means that you will never get a wrong value when sampling, at worst case you will get a delayed value.

I believe most async fifos uses gray counts and most of them work just fine if the rest of the logic is implemented correctly.

Radix
 

    jacobiLL

    Points: 2
    Helpful Answer Positive Rating
asynchronous FIFO

Thank you ,radix.
You're right ! The asynchronous FIFO in my design has a rd_count which indicate the number left in fifo. At the worst case the rd_count is delayed one read clock period than normal. I think this is unavoidable.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top