|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 immonster 于 2011-9-6 21:00 编辑
小弟,写点关于同步器相对简单的东西,有不对的地方还请各位指点。
说到同步器就得先说亚稳态
在Digital Systems Engineering一书中,亚稳态是这么定义的
When sampling a changing data signal with a clock ... the order of the events determines the outcome.The smaller the time difference between the events, the longer it takes to determine which came first.When two events occur very close together, the decision process can take longer than the time allotted,and a synchronization failure occurs.
亚稳态将导致下一级输入为未知的状态。
为了防止出现亚稳态传输到下一级就要使用同步器了。
在Digital Systems Engineering一书中,同步器是这么定义的
A synchronizer is a device that samples an asynchronous signal and outputs a version of the signal that has transitions synchronized to a local or sample clock.
最常见的就同步器就是两级同步。
在使用两级同步的时候得注意被采样信号的宽度必须大于采样时钟的周期,不然就会出现下图的问题,漏踩。
换句话说,慢时钟域的信号同步到快时钟域两级同步没问题,快到慢的就可能会出现问题。
今天就先挤这一点,好好整理下思路再上来献丑 |
|