当前位置:网站首页>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
边栏推荐
- 论坛系统数据库设计
- Laravel always returns JSON response
- ES6 learning notes II
- 2022 love analysis · panoramic report of industrial Internet manufacturers
- Here comes the detailed picture and text installation tutorial of H5 game
- How imeu is associated with imcu (IM 5.5)
- Nacos Foundation (8): login management
- 论文解读(CGC)《CGC: Contrastive Graph Clustering for Community Detection and Tracking》
- IDEA设置版权信息
- 论文解读(CGC)《CGC: Contrastive Graph Clustering for Community Detection and Tracking》
猜你喜欢

Interpretation of biological recognition in robot programming course

Cognition and R & D technology of micro robot

论文解读(CGC)《CGC: Contrastive Graph Clustering for Community Detection and Tracking》

九十八、freemarker框架报错 s.e.ErrorMvcAutoConfiguration$StaticView : Cannot render error page for request

Sigmoid function of activation function

科创人·派拉软件CEO谭翔:零信任本质是数字安全,To B也要深研用户心智

Analyzing the role of social robots in basic science

Application of remote integrated monitoring system in power distribution room in 10kV prefabricated cabin project

worder字体网页字体对照表

运行报错:找不到或无法加载主类 com.xxx.Application
随机推荐
[Web 每日一练] 八色拼图(float)
Nacos Foundation (8): login management
VMware虚拟机使用esxi 导出硬盘vmdk文件
Nacos Foundation (9): Nacos configuration management from single architecture to microservices
ImportError: libX11. so. 6: cannot open shared object file: No such file or directory
1.Electron开发环境搭建
The database navigator uses the default MySQL connection prompt: the server time zone value 'Ö Ð¹ ú±ê ×¼ ʱ ¼ ä’ is unrecognized or repres
第二十五课 类的静态成员变量
Design and practice of the smallest short website system in the whole network
Redis learning 5 - high concurrency distributed lock practice
运行报错:找不到或无法加载主类 com.xxx.Application
How imeu is associated with imcu (IM 5.5)
Cognition and R & D technology of micro robot
怎么进行固定资产盘点,资产盘点报告如何一键生成
Windows11 安装MySQL服务 提示:Install/Remove of the Service Denied
Link sorting of tutorials such as assembly language running environment setting
Application of remote integrated monitoring system in power distribution room in 10kV prefabricated cabin project
Castle. Dynamic proxy implements transaction unit control
画结果图推荐网址
论坛系统数据库设计