当前位置:网站首页>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
边栏推荐
- 第二十五课 类的静态成员变量
- Tensorflow uses keras to create neural networks
- PCB的注意事项
- Yunna | fixed assets inventory supports multiple inventory methods (asset inventory)
- 1.Electron开发环境搭建
- Use kettle to copy records to and get records from results
- IDEA设置版权信息
- IDEA 代码质量规范插件SonarLint
- IM 体系结构:CPU架构:SIMD向量处理(IM-2.3)
- Idea database navigator plug-in
猜你喜欢
抓包整理————tcp 协议[八]
C# F23.StringSimilarity库 字符串重复度、文本相似度、防抄袭
宝塔面板命令行帮助教程(包含重置密码)
Overall plan management mode in maker Education
MQ is easy to use in laravel
2022 love analysis · panoramic report of industrial Internet manufacturers
IDEA 代码格式化插件Save Actions
How to expand the capacity of the server in the 100 million level traffic architecture? Well written!
The listing of saiweidian Technology Innovation Board broke: a decrease of 26% and the market value of the company was 4.4 billion
worder字体网页字体对照表
随机推荐
Practical data Lake iceberg lesson 30 MySQL - > iceberg, time zone problems of different clients
Chapter 5 optimizing queries using in memory expressions (IM 5.1)
Link sorting of tutorials such as assembly language running environment setting
全网最细的短网址系统设计与实战
Interpretation of 2022 robot education industry analysis report
TclError: no display name and no $DISPLAY environment variable
Windows11 安装MySQL服务 提示:Install/Remove of the Service Denied
IM表达式如何工作(5.3)
How to expand the capacity of the server in the 100 million level traffic architecture? Well written!
Chapter 4 specifies the attribute of the inmemory column on the no inmemory table for im enabled filling objects: examples (Part IV of im-4.4)
Fabric 1.0 source code analysis (33) implementation of peer channel command and subcommand
Overall plan management mode in maker Education
第四章 为IM 启用填充对象之在NO INMEMORY表上指定INMEMORY列属性:示例(IM-4.4 第四部分)
第二十四课 经典问题解析
Change exchange II - [leetcode]
Database design of forum system
软件测试对于减少程序BUG有多大帮助?
什么是网关
宝塔面板命令行帮助教程(包含重置密码)
kettle复制记录到结果和从结果获取记录使用