版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Chapter 8 Sequential logic design practices,SSI Latches and Flip-flops Binary Counters Shift registers,SSI Latches and Flip-flops,Chapter 8 Sequential logic design practices,D Latches,P687 Fig 8-3 Pinouts,4-bit Flip-flop74x175(异步清零,8-bit Register,74x374(三态输出) P692图8-10,74x377 (置数使能,74x374 (输出使能,Bina
2、ry Counters,Chapter 8 Sequential logic design practices,When (i-1)th bit changes from 10,ith bit toggles,Q3 Q2 Q1 Q0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0,Ripple counter,速度慢,最坏情况,第n位要经过 ntTQ 的延迟时间,异步时序,Ripple counter,Synchronous counter,When the bits below the ith b
3、it are all 1, then the ith bit changes its value,3 bit counter,Di = (Qi-1 Q1 Q0) Q,Use D flip-flop to build,D0 = 1 Q = Q,Question,How to construct a 2-bit counter in descending order 1110010011,MSI Counters,Input port ENP: enable for state change ENT: enable for state and RCO Output port Initial sta
4、te:0000 final state:1111 RCO: final state =1,Clock 0 0 1 1 X X X X,0 0 0 0 0,Clock 1 0 1 1 0 1 1 1,0 1 1 1 0,Clock 1 1 1 1 X X X X,1 1 1 1 1,Synchronous Clear,Load and Enable (同步清零、预置数和使能功能,P714 Fig 8-28,LD_L,CLR_L,QA,EN,Other MSI Counters,74x161:mode 16 binary counter with asynchronous CLR Initial
5、state:0000 Final state:1111,74x160:mode 10 counter with binary code and asynchronous CLR Initial state:0000 Final state:1001,74x162:mode 10 counter with binary code and synchronous CLR Initial state:0000 Final state:1001,Last state: RCO =1,up/down=1:up Initial state:0000 Last state:1111 up/down=0:do
6、wn Initial state:1111 Last state:0000 Last state: RCO=0,Other MSI Counters,Ascending order,Descending order,Clock 0 0 0 0 1 1 0 0,1 1 0 0 1,Clock 0 1 0 0 X X X X,0 0 0 0 0,Clock 1 1 0 0 X X X X,1 1 1 1 0,The applications of MSI counters,Mode/Modulus 16 counter,Initial state: 0000 Final state: 1111,M
7、ode-m counter: m16,Cascading connection: Mode 256 counter,The applications of MSI counters,Mode change for counters,Key point: Detect SK Set SL,Mode SL-SK counter,Mode change for counters,Mode-11: 5-15 Detect 1111 Set 0101,Mode change for counters,Mode 10 : 3-12 ( Excess-3 code ) Detect 1100 Set 001
8、1,Mode change for counters,Mode 9 : 8-0 Detect 0000 Set 1000,Mode change for counters,Mode 11 : 0-10 Detect 1010 Set 0000,Mode change for counters,Mode change for counters,Mode change for counters,L/DCBA,Question,Design a mode 192 counter: 64-255,Analyze what the mode of the following circuit is ,QD
9、 QC QB QA 0 0 0 0 0 1 1 0 0 1 1 1 1 0 0 0 1 1 1 0 1 1 1 1,Analysis what the mode of the following circuit is ,模12计数器 QD:12分频 占空比50,Clock and watch,The applications of binary counters,Frequency divider,Frequency of CLK: f QA: f/2 QB: f/4 QC: f/8 QD: f/16,The applications of binary counters,Decoding o
10、f Binary-counter states,The applications of binary counters,A generator to get 1-out-of-m-coded signal,Output 0 by order,The applications of binary counters,Periodic sequence generator(10101100,The applications of binary counters,Periodic sequence generator,The applications of binary counters,Shift
11、register,Chapter 8 Sequential logic design practices,Shift register,Shifting the stored data to the next flip-flop,Applications: Delay line,Applications: Sequential signal detector Test chain in ASIC S/P signal convertor,Shift register,Data may be reused (overlapping,Sequential signal detector,Data
12、can not be reused,Sequential signal detector,Test chain in ASIC,Series/parallel signal convertor,MSI shift register,8 bit shift register S in, P out; A and B,8 bit shift register S/P in, S out; With clk inhibit,MSI shift register,MSI shift register,MSI shift register,MSI shift register,MSI shift reg
13、ister,Shift register counter,Chapter 8 Sequential logic design practices,F,Q0,Q1,Q2,Q3,Transition equation,Shift register counter,F is a function of states,Shift register counter,Transition table,Shift register counter,Feedback logic: F = Q3,Ring counter,Shift register counter,Ring counter,One hot c
14、oding states,Shift register counter,Ring counter,N flip-flops: N states,Shift register counter,Many invalid state circles: Not robust,Shift register counter,Self-correcting or starting,Shift register counter,Johnson counter,Feedback logic,N flip-flop: 2N states,Shift register counter,Johnson counter
15、,At any trigger time, only one output change : No glitches ! The duty cycle for any output port is 50,Shift register counter,Self-correcting,When Q3Q0=00 load 0001,Shift register counter,Linear feedback shift register (LFSR) counters,Shift register counters,LFSR: Maximum-length sequence generator Fo
16、r given N, a sequence (1,c1,c2) can be found to make a mode 2N-1 counter . (Table 8-26,Shift register counters,N=2: (1,1) N=3: (1,1,0) n=4: (1,1,0,0) N=5: (1,0,1,0,0) N=7: (1,0,0,1,0,0,0) N=12: (1,1,0,0,1,0,1,0,0,0,0,0) N=16: (1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,LFSR counter example: 3 bits,Shift regi
17、ster counter,LFSR counters : modified to include “0” state,Shift register counter,Design for periodic sequence generator 001101,001101 001 001101 011 001101 110 001101 101 001101 010 001101 100,Output state analyze,Use 3 bits shift register,Feedback logic,Shift register counter,Design for periodic s
18、equence generator 001010,001010 001 001010 010 001010 101 001010 010 001010 100 001010 000,Output state analyze,Must use 4 bits shift register,001010 0010 001010 0101 001010 1010 001010 0100 001010 1000 001010 0001,Shift register counter,Summary of Chap8,Counters Ripple counters, Synchronous counters Counter:74x163,74x169 Application of Counter Arbitrary modulus-m counter Sequence generators Decoding binary counter states,Shift Registers Shift Register:74x194 Application of shift register Shift register counters: Ring counters, Johnson counters,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 国家开放大学电大《基础写作》考题
- 无痛肠镜检查的并发症处理
- 上海市杨浦区2026年中考一模语文试卷及答案
- 抛体运动(知识+9大重难题型+过关验收)解析版-2025-2026学年高一物理上学期期末复习(人教版)
- 内蒙古包头市昆都仑区2025-2026学年七年级上学期期末考试生物试卷(含答案)
- 直播营销与运营 课件 项目四 案例拓展
- 2026届江西省上高二中下学期高三开学考试历史试题(含答案)
- 电力系统安全运行与检修规程(标准版)
- 城市基础设施投资与管理手册
- 舞台剧候场管理与秩序维护手册
- 《冠心病》课件(完整版)
- 泌尿外科品管圈
- (正式版)JBT 14682-2024 多关节机器人用伺服电动机技术规范
- 心理健康家庭教育指导活动
- 2023年6月新高考天津卷英语试题真题及答案解析(精校打印版)
- 红楼梦林黛玉进贾府原文朗读
- 生命的起源与早期演化课件
- 上海市市西中2024学年高三下学期精英联赛英语试题含解析
- 2023年全国高校体育单招考试英语试卷试题及答案详解1
- 满族文化-大学课件
- GB/T 38119-2019邵氏硬度计的检验
评论
0/150
提交评论