数字设计基础双语课件(第5章).ppt

上传人(卖家):三亚风情 文档编号:3523809 上传时间:2022-09-11 格式:PPT 页数:21 大小:487KB
下载 相关 举报
数字设计基础双语课件(第5章).ppt_第1页
第1页 / 共21页
数字设计基础双语课件(第5章).ppt_第2页
第2页 / 共21页
数字设计基础双语课件(第5章).ppt_第3页
第3页 / 共21页
数字设计基础双语课件(第5章).ppt_第4页
第4页 / 共21页
数字设计基础双语课件(第5章).ppt_第5页
第5页 / 共21页
点击查看更多>>
资源描述

1、 5.Sequential circuit design 5.1 Synchronous sequential circuit model 5.2 Designing synchronous sequential circuits 1 5.1 Synchronous sequential circuit model 1.Mealy modelThe outputs Z are combinational functions of both the present state variables y and the inputs X.2 5.1 Synchronous sequential ci

2、rcuit model X0Xn-1:a set of n inputs,X;Z0Zm-1:a set of m outputs,Z;y0yk-1 :a set of k internal signals,y,which define the present state of the circuit,i.e.present state variables.Y0Yk-1:a set of k internal signals,Y,which are generated to produce the next state of the circuit,i.e.next state variable

3、s.Y and Z are both combinational functions of the circuit inputs X and the present state y.3 5.1 Synchronous sequential circuit model 2.Moore modelThe outputs Z are combinational functions of only the present state variables y.4 5.2 Designing synchronous sequential circuit 1.Design procedure Derive

4、the state diagram.Draw the state table.Assign state variable patterns to states.Draw the assigned state table.Derive the flip-flop input functions.Derive the output function of a Karnaugh map.Draw the logic circuit.5 5.2 Designing synchronous sequential circuit 2.Design examplesExp1:Suppose a synchr

5、onous counter is required which follows one of two repeating sequences depending upon a control input C.When C=0,the sequence is 00,01,11.When C=1,the sequence is 00,11,01.(1)Derive the state diagramOnly three states are in the sequence.The fourth state might appear upon switch-on,so we map it to le

6、ad to state 1.State diagram6 5.2 Designing synchronous sequential circuit(2)Draw the state transition tableState tableThe state transition table can be constructed from the state diagram.(3)State assignmentValues needs to be chosen for the present state variables for each state.For convenience,we as

7、sign:y2y1=00 for state 1;y2y1=01 for state 2;y2y1=11 for state 3;y2y1=10 for state 4;Assigned state table7 5.2 Designing synchronous sequential circuit(4)Derive the flip-flop input functionsThe Karnaugh maps for the two inputs to the flip-flops,Y1 and Y2 can be established from the assigned state ta

8、ble.The Karnaugh maps for the input functions8 5.2 Designing synchronous sequential circuit From the Karnaugh maps,we get:Y2=y2 y1 C+y2 y1 CY1=y2 C+y2 y1 C+y2 y1 C(5)Draw the logic circuit9 5.2 Designing synchronous sequential circuit Exp2:Suppose a synchronous sequential logic circuit is required t

9、hat could detect a defined sequence appears on the input.The circuit has one data input,x,and one data output,Z,in addition to the clock input.Suppose the serial input to detect is 0110011,with Z becoming a 1 after the last bit appears in the sequence.10 5.2 Designing synchronous sequential circuit(

10、1)Derive the state diagramThe state diagram can be derived from the problem specification.The sequence has eight steps to reach the final pattern,therefore,eight states are needed.11 5.2 Designing synchronous sequential circuit(2)Draw the state transition tableThe state transition table lists not on

11、ly the next states but also the output values associated with each present state.State table of the detector12 5.2 Designing synchronous sequential circuit(3)State assignmentThree state variables are needed for eight states.Using the characteristics of Gray code that adjacent codes differ by one bit

12、.Based on the state table,we make the assignment:State table of the detectorState 1=000,State 2=111,State 4=001,State 3=101,State 5=010,State 6=110,State 8=100,State 7=011.13 5.2 Designing synchronous sequential circuit Assigned state tableWe can get:14 5.2 Designing synchronous sequential circuit(4

13、)Derive the flip-flop input functionsThe input functions for the three flip-flops can be obtained by mapping the next state variables in the assigned state table onto Karnaugh maps.15 5.2 Designing synchronous sequential circuit We get the input functions:Y3=x y1+x y3+y2 y1Y2=x+y3 y2 y1Y1=y3 y1+y3 y

14、2 y1+x y2 y1+x y2 y1(5)Derive the output functionMapping the state table output column onto the Karnaugh map.we obtain the output function:Z=y3 y2 y116 5.2 Designing synchronous sequential circuit(6)Draw the logic circuit17 5.2 Designing synchronous sequential circuit 3.Some problems to discuss Stat

15、e minimizationThe number of states will determine the number of state variables,and hence the number of flip-flops.We want to reduce the number of states to a minimum because it could reduce the circuitry.Identical states whose next state and output entries are identical in the state table can be me

16、rged into a single state with the same number.18 5.2 Designing synchronous sequential circuit Equivalent statesTwo states are equivalent and can be replaced by one state if the following two conditions exist:)The outputs associated with the two states are the same;)Corresponding next states are the

17、same or equivalent;Once these two conditions are satisfied,we can combine the two states into one newly named state.19 5.2 Designing synchronous sequential circuit State diagram using transition expressionsIf the transition from one state to another is specified by several input variables,the state

18、diagram will be clumsy.A simpler way is to give the Boolean condition necessary for the transition or no transition in so-called transition expression.Each transition expression can be reduced or written in any Boolean form.20 5.2 Designing synchronous sequential circuit Suppose there is a three inputs circuit,the transition from state 1 to state 2 occurs when abc=001,otherwise no state change occurs.The following two notations are equivalent.State diagram notation21

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公、行业 > 各类PPT课件(模板)
版权提示 | 免责声明

1,本文(数字设计基础双语课件(第5章).ppt)为本站会员(三亚风情)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!


侵权处理QQ:3464097650--上传资料QQ:3464097650

【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。


163文库-Www.163Wenku.Com |网站地图|