当前位置:网站首页>The state machine control shift register multisim simulation in the process of state variables and state transition conditions don't match
The state machine control shift register multisim simulation in the process of state variables and state transition conditions don't match
2022-08-08 07:03:00 【Nine-tailed cat】
The question is as follows:



When we reach 0000001, the state variable should take the value s1s0=10
But in the actual simulation process, s1s0 still remains unchanged at 01 at 0000001, and the jump from 01 to 10 occurs when 0000001 ends to 1000000 resets.At this point, we have verified that the circuit function is feasible, but the actual state variables do not match the state transition conditions, so we need to analyze the circuit parameters
Summarizing this problem is that the transition is delayed. Combined with the function of the D flip-flop, it can be seen that the D flip-flop is triggered by the rising edge of the CP pulse, so we can speculate that the cause of the problem should be that the CP pulse has not yet arrived or is delayed.arrived
We can measure the D and CLK terminals with an oscilloscope, and get the following waveforms:
Blue is pulse waveform, red is D port input waveform

It can be seen from the figure that the CP pulse is significantly later than the D input signal. The rising edge of the CP pulse does not trigger the D flip-flop for nearly half of the time, and the state will remain for a certain period of time after the trigger, so the transition conditions and states appear.Variable mismatch problem.
The key to solving this problem is to achieve the rising edge reaching the trigger as quickly as possible. We can reduce the trigger interval by increasing the frequency of the pulse signal, which can reduce the time between the D port signal and the rising edge of CP.It can also complete multiple recordings in the same time to avoid the state variable staying for too long.

边栏推荐
猜你喜欢

栈队列OJ题分享及讲解

Industry Research: Analysis of the Status and Prospects of the Pension Insurance Market in 2022

略解损失函数
![[Unity] GPU动画实现(四)——生成动画数据](/img/c4/39fd5e781e0f0bc2acf0e4d6ada648.png)
[Unity] GPU动画实现(四)——生成动画数据

NVIDIA CUDA 高度并行处理器编程(七):并行模式:前缀和

Lamp analysis: LED lamps are expected to reach $45.9 billion in 2028

正则爬取豆瓣Top250数据存储到CSV文件(6行代码)

Rose essential oil market research: the current market output value exceeds 2.3 billion yuan, and the market demand gap is about 10%

Accelerate CNNs from Three Dimensions: A Comprehensive Pruning Framework详解

MySQL数据库和数据表的增删改查基础
随机推荐
神经网络预测值几乎一样,神经网络为什么能预测
yii2使用多个数据库的使用方法
RHCSA-配置redhat
[GWCTF 2019] I have a database 1
关系抽取论文阅读笔记
Consumer Goods Industry Report: Research Analysis and Development Prospect Forecast of Cosmetic Container Market Status
Unity—ParticleSystem(粒子系统)与Animator(动画状态机)批量管理器
MongoDB中的聚合-管道
BiLSTM实现imdb情感分类任务
CSDN21天学习挑战赛之选择排序
Yii2中MongoDB的使用方法-CURD
rhcsa第二天
带头双向循环链表的增删查改
访问修饰符public、private、protected、default(默认不写) 区别
Paramenter-Efficient Transfer Learning for NLP
虚拟机克隆 快照 迁移 删除
Variational Inference with Normalizing Flows
[Unity] GPU动画实现(五)——渲染GPU动画
Gym 101492E Teamwork 伪dp解法
线程P01——进程 并发 并行 线程的使用