cauchy911的个人空间 https://blog.eetop.cn/239215 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

Simulation and Synthesis Techniques for Asynchronous FIFO Design

已有 2875 次阅读| 2009-12-18 10:42

Abstract(摘要)

FIFOs are often used to safely pass data from one clock domain to another asynchronous clock domain. Using a
FIFO to pass data from one clock domain to another clock domain requires multi-asynchronous clock design
techniques. There are many ways to design a FIFO wrong. There are many ways to design a FIFO right but still
make it difficult to properly synthesize and analyze the design.

FIFO通常用于安全地从一个时钟域向另一个时钟域传递数据。利用FIFO从一个时钟域向另一个时钟域传递数据需要利用跨时钟设计技术。设计FIFO的方法有很多,但是很多设计方法会使FIFO的综合和分析变得异常苦难。

This paper will detail one method that is used to design, synthesize and analyze a safe FIFO between different clock domains using Gray code pointers that are synchronized into a different clock domain before testing for "FIFO full"
or "FIFO empty" conditions. The fully coded, synthesized and analyzed RTL Verilog model (FIFO Style. #1) is
included.

本文将详细介绍一种FIFO的设计、综合以及分析方法,该方法使用Gray码指针,在测试FIFO满或者空时,首先将Gray码指针同步到发送或者接受时钟域。论文最后给出了该FIFO设计的可综合的RTL级全部代码。

1.0 引言(Introduction)

An asynchronous FIFO refers to a FIFO design where data values are written to a FIFO buffer from one clock
domain and the data values are read from the same FIFO buffer from another clock domain, where the two clock
domains are asynchronous to each other.

FIFO指的是一种具有先进先出机制的存储缓冲器,异步FIFO指的是对FIFO的读操作和写操作在不同时钟域进行,也就是说读操作和写操作在两个不同的异步时钟域中进行。

Asynchronous FIFOs are used to safely pass data from one clock domain to another clock domain。

异步FIFO通常被用于从一个时钟域向另一个时钟域中传递数据,通常是对数据传递安全性要求较高的场合。

There are many ways to do asynchronous FIFO design, including many wrong ways. Most incorrectly implemented FIFO designs still function properly 90% of the time. Most almost-correct FIFO designs function properly 99%+ of the time. Unfortunately, FIFOs that work properly 99%+ of the time have design flaws that are usually the most difficult to detect and debug (if you are lucky enough to notice the bug before shipping the product), or the most costly to diagnose and recall (if the bug is not discovered until the product is in the hands of a dissatisfied customer).

设计异步FIFO的方法有很多,当然有很多的方法是不对的。尽管这些FIFO设计不正确,但是它们可能在90%的时间都能保持正确工作,甚至队友有些FIFO,虽然它们设计上仍然不完全正确,但他们可能在99%的时间内都能保证正确工作。不幸的是,这些99%时间都能正确工作的FIFO在设计上的瑕疵通常情况下是最难发现和调试的,而且发现这些瑕疵的成本可能也是最高的。

本文将讨论一种FIFO的设计方法以及该方法的一些重要细节,这些细节都是FIFO设计过程中必须要考虑的。

 

 

 

 

 


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 1

    粉丝
  • 0

    好友
  • 0

    获赞
  • 1

    评论
  • 230

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-7 17:26 , Processed in 0.012801 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部