1 / 54
文档名称:

(完整版)fpga跨时钟域设计.ppt

格式:ppt   大小:1,200KB   页数:54页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

(完整版)fpga跨时钟域设计.ppt

上传人:gxngqvk 2022/7/25 文件大小:1.17 MB

下载得到文件列表

(完整版)fpga跨时钟域设计.ppt

文档介绍

文档介绍:FPGA跨时钟域设计 -- Multi-Asynchronous Clock Design of FPGA
主要内容
局部同步设计概念
跨时钟域的问题
亚稳态(metastability)
同步失败(synchronize failFPGA跨时钟域设计 -- Multi-Asynchronous Clock Design of FPGA
主要内容
局部同步设计概念
跨时钟域的问题
亚稳态(metastability)
同步失败(synchronize failure)
同步化
同步器(synchronizer)
保持寄存器和握手(hold and handshake)
异步FIFO设计(asynchronous FIFO)
为什么讨论多时钟域设计
全同步设计(totally synchronous)
一个时钟
全异步设计(totally asynchronous)
没有时钟
全局异步,局部同步设计(globally asynchronous,locally synchronous)
多个独立时钟域,同一时钟域内同步
这是我们关心的多时钟域设计
不可避免,单一时钟不能满足设计的需求
亚稳态
什么是亚稳态
引起亚稳态的原因
亚稳态对系统可靠性的危害
如何评估其危害-MTBF
如何减少亚稳态的风险
什么是亚稳态
a metastable output is undefined or oscillates between HIGH and LOW for an indefinite time due to marginal triggering of the circuit. This marginal triggering is usually caused by violating the storage elements’ minimum set-up and hold times.
"When sampling a changing data signal with a clock ... the order of the events determines the smaller the time difference between the events, the longer it takes to determine which came two events occur very close together, the decision process can take longer than the time allotted,and a synchronization failure occurs. "
亚稳态最终收敛于0或1或者振荡
引起亚稳态的原因
在数据跳变期间采样
建立或保持时间不满足
跨时钟域的信号和同步时钟之间的关系不能确定
单一时钟域内工具确保建立保持时间,不出现亚稳态
从tsu ,th和tco的角度看亚稳态
亚稳态对系统可靠性的危害
同步失败(Synchronize Failure)
系统失败(System Failure)
按概率出现;发生概率可能达到可靠性要求无法接受的程度。
如何评估其危害-MTBF
MTBF 定量评估亚稳态对可靠性的影响
MTBF is a measure of how often, on the average, a metastable event lasts a time tr or longer.
下式适用于一级同步寄存
MTBF
tr-the resolving time allowed for metastable events
tsw-device specific
W-device specific
fc-system clock frequency
fd-average asynchronous data frequency
MTBF计算一个例子
如何减少亚稳态的风险
单一时钟域内信号
工具检查每个触发器的建立保持时间,确保其不出现亚稳态
跨时钟域的信号
没有工具可以保证其可靠性;
静态时序分析其应该设置false path 约束;
只能靠逻辑设计来保证:同步化技术。
同步化技术
根据跨时钟域信号的特点来选择同步化方法:
同步器--控制信号
保持寄存器和握手--地址或数据总线信号
异步FIFO设计--数据总线信号
同步器(two-stage of flip-flops)
为什么使用两级寄存器(接收时钟域)
是一级寄存概率平方,两级并不能完全消除亚稳态危害,但是提高了可靠性,减少其发生的概率
一级概率很大,三级改