当前位置:网站首页>Solution of asynchronous clock metastability -- multi bit signal
Solution of asynchronous clock metastability -- multi bit signal
2022-04-23 12:02:00 【Starry】
1. many bit sign Sampling intermediate state ——Gray code
How much is this bit New problems specific to signals , First in asynchronous FIFO When reading and writing the pointer across the clock domain, it is found .
Because there are many bit Binary change , So it's probably due to Clock skew , The clock edge does not reach each trigger at the same time , Cause those bit The changes of bits are not simultaneous
Therefore, the asynchronous clock is likely to sample the intermediate state of the jump process
For example, two triggers from 01 Jumping 10, Due to the clock skew, the first bit posedge clk Come first 、 Second posedge clk After the , So the first trigger D End to end 1 Good morning! 、 The second trigger D End to end 0 On the evening of , So there is an intermediate state 11 May be sampled by asynchronous clock to .
So if the number of bits of the signal is more , So there will be a lot of intermediate states
Note that the essence of this problem is that each clock cycle involves the level change of multiple flip flops , So can we Reduce each clock edge Number of triggers for level change ?
The third value will not appear in the process of numerical change Gray code that will do
for example Gray Code signal from 01 become 11, There will be no intermediate value . Or sample to the old value 01, Or it's a new value 11
2. many bit Data signals
This is asynchronous FIFO All right , Write... At one end 、 One end read , Reading and writing clocks are different .
But asynchrony FIFO In fact, it does not solve the problem of cross clock domain of data signals , Instead, it turns the problem into more bit The cross clock domain problem of reading and writing pointers .
So for the read-write pointer , Level synchronization required + Grey Code processing , At the same time, read-write logic does not pay attention to the change process of read-write pointer , Therefore, the multi sampling problem of fast mining and slow mining and the leakage problem of slow mining and fast mining will not have an impact .
therefore ,full and empty Signs do not reflect the current moment in real time FIFO The true state of , But this error does not cause full write and empty read problems .
For details, see asynchronous FIFO Design
版权声明
本文为[Starry]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231159254762.html
边栏推荐
- 论坛系统数据库设计
- [web daily practice] eight color puzzle (float)
- 第二十四课 经典问题解析
- User interface and im expression (IM 5.6)
- 全网最细的短网址系统设计与实战
- ES6 learning notes II
- 第四章 为IM 启用填充对象之强制填充In-Memory对象:教程(IM 4.7)
- The fourth chapter is the enable and disable columns of IM enabled fill objects (Part III of im-4.3)
- IM表达式的目的(IM 5.2)
- Chapter 4: enable and disable im column storage for materialized view (IM 4.6)
猜你喜欢
Maker education for primary and middle school students to learn in happiness
1.Electron开发环境搭建
5个免费音频素材网站,建议收藏
Tips for installing MySQL service in windows11: Install / Remove of the Service denied
NativeForMySQL 连接MySQL8 提示:1251- Client does not support authentication protocol
《通用数据保护条例》(GDPR)系列解读三:欧洲子公司如何向国内母公司回传数据?
云呐|如何管理好公司的固定资产,固定资产管理怎么做
In idea Solution to the problem of garbled code in Chinese display of properties file
Change exchange II - [leetcode]
Here comes the detailed picture and text installation tutorial of H5 game
随机推荐
Database Navigator 使用默认MySQL连接提示:The server time zone value ‘Öйú±ê׼ʱ¼ä’ is unrecognized or repres
PSCP 基本使用
Golang Pen & interview 01
TclError: no display name and no $DISPLAY environment variable
Purpose of IM expression (IM 5.2)
Master slave replication configuration of MySQL
云呐|如何管理好公司的固定资产,固定资产管理怎么做
Yunna | how to manage the company's fixed assets and how to manage fixed assets
[Web 每日一练] 八色拼图(float)
[web daily practice] eight color puzzle (float)
PCB的注意事项
Use kettle to copy records to and get records from results
IM表达式的目的(IM 5.2)
How to expand the capacity of the server in the 100 million level traffic architecture? Well written!
面了一圈,整理了这套面试题。。
激活函数之阶跃函数
Change exchange II - [leetcode]
Force buckle - 1137 Nth teponacci number
IDEA 代码格式化插件Save Actions
Database design of simple voting system