为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

Experiment 6A Set Reset Flip Flop

2018-04-30 5页 doc 20KB 9阅读

用户头像

is_447713

暂无简介

举报
Experiment 6A Set Reset Flip FlopExperiment 6A Set Reset Flip Flop Experiment 6 Shift Registers Backgound (July 1, 2003) These notes give some background on NAND gates, set-reset flip-flops, data flip-flops and shift registers. NAND gates A NAND gate is drawn schematically as A B A type 740...
Experiment 6A Set Reset Flip Flop
Experiment 6A Set Reset Flip Flop Experiment 6 Shift Registers Backgound (July 1, 2003) These notes give some background on NAND gates, set-reset flip-flops, data flip-flops and shift registers. NAND gates A NAND gate is drawn schematically as A B A type 7401 NAND is frequently used in this lab. The truth-table for a NAND gate is described by A B AND NAND 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 Thus the output from the NAND gate is 0 if and only if the two inputs are one. Set-reset flip flops We can make a set-reset flip-flop from NAND gates by cross-coupling two gates. The appropriate arrangement is +5V R P RQ"a" "b"RQPS Let’s examine the output of the S-R flip-flop for several pairs of inputs. The +5Vcircuit is easily analyzed if we recall that the output from the NAND is 0 i.f.f. both inputs are 1. 1. If R =1 and S = 0 _ a) Q = 1 b) ? “a” = 1 c) ? the output from the top gate = 0 and Q = 0 2. If R = 0 and S = 1 similar logic leads to the conclusion that _ Q = 0 and Q = 1. 3. The situation is more complicated if R = 1 and S = 1. In that case the output from the flip-flop depends on its previous state. Once again recall that the output from the NAND is 0 i.f.f. both inputs are 1. Assume that the present state of the flip-flop is characterized by _ Q = 1 and Q = 0. Then the two inputs to the top NAND gate are 1 and the output Q = 0. The output from the top flip-flop is cross-coupled to the “b” input of the bottom NAND gate and the output from the bottom NAND gate is given by _ Q = 1. and the original state of the flip-flop is maintained. _ If R=S=1 and Q = 1 and Q = 0 similar reasoning leads to the conclusion that the _ original state Q = 1 and Q = 0 is maintained. The inputs R = S = 0 leads to instabilities in the output of the flip-flop and is not used. Data flip-flops A common variety of flip-flop is a clock-enabled, data flip-flop (D-FF). This flip-flop is shown schematically as QD Q Clock If the clock is 0 then the circuit exhibits memory and the outputs do not change in response to changes in D. If the clock input in a logical 1 then the output Q acquires the value of D. A D-FF can be implemented by using four NAND gates. The appropriate circuit is shown below +5V RP DRQ CL QS RP +5V The Clock input is denoted C. If C = 0 then the outputs of the first (left-hand) L.L set of NAND gates are 1. This means the inputs to the second set of NAND _ gates (labeled R and S) are 1 and the output Q and Q are maintained. If C= 1 then the outputs from the second set of NAND gates can change and L these outputs will follow D. Shift registers A shift register is a digital memory device in which data are loaded serially, one bit at a time. The simplest and most common implementation of a shift register is constructed by connecting a series a D flip-flops, in which the Q output of each stage feeds the D input of the next. The figure below shows a four-bit shift register built in this fashion. Data InputQQQQ0123 SETSETSETSETDDQDQDQQ QQQQCLRCLRCLRCLR CLK Figure 1: Four-Bit Shift Register Data are loaded into the shift register from the left, and for each rising edge on the clock signal, all bits shift one position to the right. In order to load the register with data, the data input signal must be synchronized with the clock, and four clock cycles are required to load all four bits. Shift registers are found in a variety of digital and analog applications. Perhaps the most widely used of these is in digital filtering, where bits representing samples of an analog signal are shifted through the register. By connecting appropriate logic gates or resistor networks to the shift register outputs, the desired filtering operation can be achieved. Since a full understanding of how such filters work is beyond the scope of this course, we will not consider them here (this topic is covered in EE 1563).
/
本文档为【Experiment 6A Set Reset Flip Flop】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索