数字电路7.4.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《数字电路7.4.ppt》由用户(saw518)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数字电路 7.4
- 资源描述:
-
1、1 1 Determine the excitation equations(F).Substitute the excitation equations into the flip-flop characteristic equations to obtain transition equations.Determine the output equations(G).Use the transition equations and output equations to construct a transition/output table.Name the states,and obta
2、in a state/output table.(optional)Draw a state diagram and timing diagram.(optional)Describe the logic function.Di=?Ji=?Ki=?Qi*=?注意区别注意区别MealyMealy机机/Moore/Moore机机 Ti=?The detailed steps for analyzing state machine:可与同时完成可与同时完成.2 2 Construct a state/output table State minimization(状态最小化)(状态最小化)State
3、 assignment(状态赋值)(状态赋值)Construct a transition/output table Choose a flip-flop type(确定特征方程)(确定特征方程)Construct an excitation table Derive excitation equations Derive output equations Draw a logic diagram7.4 7.4 Clocked Synchronous State-Machine DesignClocked Synchronous State-Machine DesignReverse of t
4、he analysis Basic steps:逻辑抽象逻辑抽象(由当前状态、未来状由当前状态、未来状态推导激励信号取值态推导激励信号取值)组合逻辑设计组合逻辑设计(当前状态和输入的函数当前状态和输入的函数)3 3Example 1.Example 1.design a sequence detector:if the sequence design a sequence detector:if the sequence of input is 11111,then the output is 1,else 0.of input is 11111,then the output is 1,el
5、se 0.(如果如果5 5个连续输入都为个连续输入都为1 1,则输出为,则输出为1)1)input-A A,output-Z Z(1)Construct a state/output tableSA0 1S*ZInitial stateGot 0Got 1Got 11Got 111Got 1111Got 11111S0S0S0S0S0S0S0S1S1S2S3S4S5S50000001INIS0S1S2S3S4S5MooreMoore machinemachine4 4S0S0S0S0S0S0S0S1S1S2S3S4S5S50000001INIS0S1S2S3S4S5(2)State minim
6、ization Find equivalent state(等效状态)(等效状态)Two states produce the same output;Two states have the same or equivalent next state.S0S0S0S0S0S0S1S2S3S4S5S5000001S0S1S2S3S4S5SA0 1S*Z(3)State assignment(6(6种状态,至少需种状态,至少需3 3位状态变量位状态变量)0 0 00 0 10 1 00 1 11 0 01 0 1(4)Construct a transition/output tableQ2Q1Q
7、05 5(5)Choose D flip-flopcharacteristic equation:Q*=DQ2Q1Q0A0 1Z0000000010 0 00 0 10 1 00 1 11 0 01 0 1001000010000011000000100101000101Q2*Q1*Q0*transition/output table(2)State minimization Find equivalent state(等效状态)(等效状态)Two states produce the same output;Two states have the same or equivalent nex
8、t state.(3)State assignment(6(6种状态,至少需种状态,至少需3 3位状态变量位状态变量)(4)Construct a transition/output table(6)Construct an excitation table6 6Q2Q1Q0A0 1Z0000000010 0 00 0 10 1 00 1 11 0 01 0 1001000010000011000000100101000101Q2*Q1*Q0*transition/output tableexcitation tableD2D1D0(5)Choose D flip-flopcharacteri
9、stic equation:Q*=D(6)Construct an excitation table(2)State minimization Find equivalent state(等效状态)(等效状态)Two states produce the same output;Two states have the same or equivalent next state.(3)State assignment(6(6种状态,至少需种状态,至少需3 3位状态变量位状态变量)(4)Construct a transition/output table(对于对于D D触发器,激励表与转移表内容
10、相同触发器,激励表与转移表内容相同)7 7Q2Q1Q0A0 1Z0000000010 0 00 0 10 1 00 1 11 0 01 0 1001000010000011000000100101000101Q2*Q1*Q0*transition/output tableexcitation tableD2D1D0=Q2A+Q1Q0AQ1Q0AQ200 01 11 1000011110dddd111(7)Derive excitation equationscurrent state,input excitation equationsD28 8Q2Q1Q0A0 1Z0000000010 0
11、00 0 10 1 00 1 11 0 01 0 1001000010000011000000100101000101Q2*Q1*Q0*transition/output tableexcitation tableD2D1D0Q1Q0AQ200 01 11 1000011110dddd111(7)Derive excitation equationsA Q2Q1Q0Z0 0 0 0D2 D1 D00 0 0 10 0 1 00 0 1 10 1 0 00 1 0 10 1 1 00 1 1 11 0 0 01 0 0 11 0 1 01 0 1 11 1 0 01 1 0 11 1 1 01
12、1 1 10 0 0 0 0 0 0 0 00 0 00 0 00 0 0d d dd d d 0 0 1 0 1 00 1 1 1 0 0 1 0 1 1 0 1 d d d d d d 00000 1dd000001dd也可借助于真值表进行推导也可借助于真值表进行推导current state,input excitation equations=Q2A+Q1Q0AD29 9Q1Q0AQ200 01 11 10000111101D1=Q1Q0A+Q2Q1Q0Adddd1Q1Q0AQ200 01 11 10000111101D0=Q0A+Q2Adddd111(8)Derive output
13、equationscurrent state,input output equationsQ1Q0AQ200 01 11 1000011110Z=Q2Q0d11ddd(9)Draw a logic diagram(omitted)(7)Derive excitation equationscurrent state,input excitation equations1010Change to Using MealyChange to Using Mealy modelmodelS0,0S0,0S0,0S0,0S0,0S1,0S2,0S3,0S4,0S4,1S0S1S2S3S4SA0 1S*,
展开阅读全文