_TOP_MENU

Apr 28, 2022

Asynchronous FIFO Interview question

 

This is logical question. You have 2 block , block A and block B , talking to each other having synchronous fifo.  Both are in same clock domain. 



Now due to timing violation, designer is asked to insert pipeline and designer inserted 4 pipeline state. 





The question here is , what would be the minimum depth of FIFO so that we should not loss any data. 




9 comments:

  1. Should it be existing FIFO depth -4 ?

    ReplyDelete
    Replies
    1. think about the fifo_full latency , by the time block-A knows that block-B fifo is getting full, there will be 4 data in pipeline.

      Delete
  2. Depth shouldn't change due to addition of pipelines.

    ReplyDelete
  3. can you provide the answer for the above?

    ReplyDelete
  4. Can you please provide write freq, read frea and burst size?

    ReplyDelete
  5. Will it be fifo_depth+4?

    ReplyDelete
  6. FIFO_DEPTH of B must be 9

    ReplyDelete