数字电子技术(Floyd第十版)ppt课件.ppt
《数字电子技术(Floyd第十版)ppt课件.ppt》由会员分享,可在线阅读,更多相关《数字电子技术(Floyd第十版)ppt课件.ppt(36页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edDigital FundamentalsTenth EditionFloydChapter 9 2008 Pearson Education 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edA shift register is
2、an arrangement of flip-flops with important applications in storage and movement of data.Some basic data movements are illustrated here.SummaryBasic Shift Register OperationsData inData inData inData inData inData outData outData outData outData outSerial in/shift right/serial outSerial in/shift lef
3、t/serial outParallel in/serial outParallel in/parallel outSerial in/parallel outRotate rightRotate left 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummarySerial-in/Serial out Shift RegisterShift registers are available in IC form or can be
4、 constructed from discrete flip-flops as is shown here with a five-bit serial-in serial-out register.Each clock pulse will move an input bit to the next flip-flop.For example,a 1 is shown as it moves across.111111CLKCLKCLKCLKCLK 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedF
5、loyd,Digital Fundamentals,10th edSummaryA Basic ApplicationAn application of shift registers is conversion of serial data to parallel form.For example,assume the binary number 1011 is loaded sequentially,one bit at each clock pulse.CLKCLKCLKCLKAfter 4 clock pulses,the data is available at the parall
6、el output.2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryThe 74HC164A Shift Register The 74HC164A is a CMOS 8-bit serial in/parallel out shift register.VCC can be from+2.0 V to+6.0 V.One of the two serial data inputs may be used as an a
7、ctive HIGH enable to gate the other input.If no enable is needed,the other serial input can be connected to VCC.The 74HC164A has an active LOW asynchronous clear.Data is entered on the leading-edge of the clock.CLKQ0Q1Q2Q3CLRQ4Q5Q6Q7Serial inputsAB 2009 Pearson Education,Upper Saddle River,NJ 07458.
8、All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryWaveforms for the 74HC164ASample waveforms for the 74HC164A are shown.Notice that B acts as an active HIGH enable for the data on A as discussed.CLKQ0Q1Q2Q3CLRQ4Q5Q6Q7Serial inputsABOutputsClearClearAs with CMOS devices,unused inputs should
9、 always be connected to a logic level;unused outputs should be left open.2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryParallel in/Serial out Shift RegisterShift registers can be used to convert parallel data to serial form.A logic dia
10、gram for this type of register is shown:D0D1D2D3Q0Q1Q2Q3SHIFT/LOADCLKSerial data out 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryThe 74HC165 Shift Register The 74HC165 is a CMOS 8-bit parallel in/serial out shift register.The logic s
11、ymbol is shown:D0D1D2D3D4D5D6D7Q7Q7SH/LDCLKSERCLK INHThe clock(CLK)and clock inhibit(CLK INH)lines are connected to a common OR gate,so either of these inputs can be used as an active-LOW clock enable with the other as the clock input.Data is loaded asynchronously when SH/LD is LOW and moved through
12、 the register synchronously when SH/LD is HIGH and a rising clock pulse occurs.2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryThe 74HC165 Shift Register A Multisim simulation of the 74165A is shown.The word generator is used as a source
13、 for the pattern shown in the green probes.MSBPattern is loaded when J1 is LOWQ7 is labeled QH in Multisim 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryThe 74HC165 Shift Register Here the scope is opened and you can observe the patter
14、n.The MSB is HIGH and is on the Q7 output as soon as LOAD is LOW.LoadQ7ClkMSB 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryBidirectional Shift RegisterBidirectional shift registers can shift the data in either direction using a RIGHT/
15、LEFT input.The logic analyzer simulation shows a bidirectional shift register such as the one shown in Figure 9-19 of the text.Notice the HIGH level from the Serial data in is shifted at first from Q3 toward Q0.CLKRIGHT/LEFTSerial data inQ0Q1Q2Q3Shift right Shift left 2009 Pearson Education,Upper Sa
16、ddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryBidirectional Shift RegisterCLKRIGHT/LEFTSerial data inQ0Q1Q2Q3Shift right Shift leftHow will the pattern change if the RIGHT/LEFT control signal is inverted?See displayShift right Shift left 2009 Pearson Education,Upper
17、 Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryUniversal Shift RegisterA universal shift register has both serial and parallel input and output capability.The 74HC194 is an example of a 4-bit bidirectional universal shift register.D0D1D2D3CLKSL SERQ0Q1Q2Q3SR SERS1
18、S0CLRSample waveforms are on the following slide 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryUniversal Shift Register 2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryShif
19、t Register CountersShift registers can form useful counters by recirculating a pattern of 0s and 1s.Two important shift register counters are the Johnson counter and the ring counter.The Johnson counter can be made with a series of D flip-flops or with a series of J-K flip flops.Here Q3 and Q3 are f
20、ed back to the J and K inputs with a“twist”.2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryJohnson Counter“twist”Redrawing the same Johnson counter(without the clock shown)illustrates why it is sometimes called as a“twisted-ring”counter
21、.2009 Pearson Education,Upper Saddle River,NJ 07458.All Rights ReservedFloyd,Digital Fundamentals,10th edSummaryJohnson CounterThe Johnson counter is useful when you need a sequence that changes by only one bit at a time but it has a limited number of states(2n,where n=number of stages).The first fi
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数字 电子技术 Floyd 第十 ppt 课件
限制150内