Sequential Logic and Clocked Circuits

Size: px
Start display at page:

Download "Sequential Logic and Clocked Circuits"

Transcription

1 Sequential Logic and Clocked Circuits Clock or Timing Device Input Variables State or Memory Element Combinational Logic Elements From combinational logic, we move on to sequential logic. Sequential logic differs from combinational logic in several ways: Its outputs depend not only on logic inputs but also the internal state of the logic. Sequential logic output does not necessarily change when an input changes, but is synchronized to some triggering event. Sequential logic is often synchronized or triggered by a series of regular pulses on a serial input line, which is referred to as a clock. That is, the outputs normally change as a function of the timing element. Sequential logic may (usually will) have combinational parts. Output

2 2 The University of Texas at Dallas The Simple R-S Flip-Flop The simplest example of a sequential logic device is the R-S flip-flop (R-S FF). This is a non-clocked device that consisting of two cross-connected 2-input NAND gates (may also be made from other gates). Inputs are negative-true input logic (inputs are active at logic state 0). When = ; = 0, the R-S FF is set. Likewise, when = 0; =, the flip-flop is reset. and will always have opposite states. The R-S FF is bistable. That is, it is at rest in either of its two states ( set or reset ) until an input forces it to change. S R R-S Flip-Flop

3 The Simple R-S Flip-Flop (2) 3 If the R-S FF is in the set state, it will not go reset until the Reset line goes true (in this case, to 0). Likewise, when reset, it will not go set unless the Set line goes to 0. Note also that once set, if Set goes to 0 more than once, the FF simply stays set. Likewise, when reset, more Reset s do not affect the circuit; it remains reset. Note: The triggering signal of an input (Set or Reset) is always assumed to be momentary. That is, a Set or Reset signal is considered to last a VERY short time (in the case of real circuits, this is nanoseconds or less). Thus the R-S FF has an output that depends not only on the inputs but the current state. S R R-S Flip-Flop

4 R-S Flip-Flop Set Cycle 4 Assume the ff is reset ( = 0). Also, since the Set and Reset inputs are not active, both input are at. Thus Set =, Reset =, = 0; =. Then the cycle is:. Set goes active (Set 0). 2. Then must (output of a NAND = if any input = 0). 3. Then both inputs to bottom NAND are, and The other input to the upper NAND is now 0. Thus, when the Set signal goes S back high, remains at, since the other input is still 0. R R-S Flip-Flop 5. Likewise, since both inputs to the lower NAND are now, then the value of remains The reverse cycle (set-to-reset) occurs in the identical way, except that the change is initiated by reset going low.

5 RS FF Set Cycle Pictorially 5 = 0 =

6 The Simple Latch or R-S Flip-Flop (4) S 6 R R-S Flip-Flop The truth table for the R-S FF is relatively simple, as shown below: Inputs Current Outputs New Outputs S R or 0 0 or Same Same Same Same Same Same 0* 0* or 0 0 or * * * This is a race condition and not stable. The S-R input 0-0 is forbidden.

7 Forbidden RS FF Inputs S 7 R As noted on the truth table, 0-input to both R and S is forbidden. Note the race condition that is triggered by R=S=0: = = Then, so both other 2-NAND inputs are. If S and R go to simultaneously, then all 4 inputs of the two 2-input NAND gates are and both outputs go to 0(!) The result is a race to see which output gets to 0 first, getting one 2- NAND input to 0, and therefore forcing that NAND output to. The result of the race cannot be predicted. Thus R and S = 0 together is forbidden, since the output state is not stable.

8 Flip-Flops and Memory Many circuits in the modern computer are either based on or related to the R-S FF. If an RS FF has its output changed to or 0, the output stays in that state until the opposite input is triggered. Thus the RS flip-flop or latch has the property of remembering a one-bit binary number: It can be set to or 0. Thus, we can use flip-flops to store binary numbers in a computer. Groups of flip-flops that store large binary numbers are called registers. S R can be set to or 0. Thus the output can be said to remember one bit. 8

9 Simple Flip-Flops Either two-input ANDs or ORs with may be used to create a simple RS FF. However, either the inputs or the output must be inverted. The examples to the left show the possible RS FF s that can be constructed from 2-input gates. NAND OR, inverted inputs NOR AND, inverted inputs 9

10 Simple Flip-Flops (2) Even though any of these four constructs can operate as a FF, their inputs are slightly different, and the labeling of R and S varies. However, there is a foolproof method to analyze any 2-inputport, 2-output FF to determine its correct operation. NAND OR, inverted inputs NOR AND, inverted inputs 0

11 Analyzing Flip-Flop Operation There is a 00%, absolutely-guaranteed method to analyze ANY of the basic flip-flops and determine its correct operation. It is a 3-step method that can easily show you how a 2-gate flip-flop operates what inputs trigger it and how its states change. It depends on analyzing the flip-flop based on the fact that, from combinational logic theory, we know exactly how each of the four gate types shown earlier operates.

12 Analyzing Flip-Flop Operation (2) 2 Flip-flop analysis method:. Remember that is always the top output. is always the bottom output. 2. Three analysis steps: a) Assume a state for the output (either Set or Reset). b) Assume a quiescent state for the inputs (both will either be 0 or when not activated). c) When the quiescent state is validated, let one input be active and observe the result. NAND OR, inverted inputs NOR AND, inverted inputs

13 Analyzing Flip-Flop Operation (3) Let re-analyze our original NANDgate RS FF using the method:. First, we remember that and - NOT are as shown always on top. 2. Now we need to assume a state. The choice is irrelevant, but let s assume the FF is SET. 3. Thus the FF looks as shown in the second diagram, below. = = 0 3

14 4 Analyzing Flip-Flop Operation (4) Remember: at this point, we do not know what input is SET and which is RESET. 4. Now, lets assume a state for both inputs when quiescent (inactive). 5. Again, the choice doesn t matter, but lets assume both inputs are at logic 0. (second diagram). 6. Whoa! If we do that, then (remembering how a NAND works), both FF outputs must be (third diagram)! = = 0 = = 0 = =

15 Analyzing Flip-Flop Operation (5) 5 Analysis continued: 7. Since an RS FF is always SET or RESET, (both stable states), the inactive state for the inputs cannot be 0, as the RS FF state is not possible when the inputs are inactive. 8. Therefore the inputs must be logic in the inactive state (second diagram). 9. Checking, we see that with both inputs at logic, the RS FF output is stable, as we assumed. Had we assumed that the inputs were logic originally, we would have verified that level, as the outputs of the RS FF would have been proper. 0 0 = = = = 0

16 Analyzing Flip-Flop Operation (6) Analysis continued: 0. Having completed Step 2, we know that the flip-flop is stable, and that its inputs are logic when quiescent or inactive.. For the third step, we now let one of the inputs become active. Again, the choice is arbitrary, but lets let the bottom input 0 (second diagram). 2. We note immediately that any NAND gate with a 0 input has an output of. 3. Then the upper NAND has two -inputs. Thus its output 0 (third diagram). 0 0 = = = = = =

17 Analyzing Flip-Flop Operation (7) The RS FF has been RESET. Thus the bottom input must be RESET and the top SET (top diagram). Note that the lower NAND gate will NOT change its output, as the output is whether one or both inputs are 0. Also note that the RESET signal is a pulse. It will quickly end. But the FF stays RESET (bottom diagram). S R 0 S R = 0 = = 0 = 7

18 Analyzing Flip-Flop Operation (8) We have successfully analyzed the NAND-gate, RS FF. Its inputs are normally quiescent or inactive at logic. S = 0 They activate by going to logic 0. The upper input activates the SET condition. R = The lower input activates RESET. Since the inputs go to 0 (i.e., in the negative direction) to activate, we label them R and S (diagram). 8

19 Exercise This exercise can improve your understanding of RS flip-flops AND our analysis method. The circuit below is one of the RS flip-flops that we saw earlier. and are labeled. Complete the truth table and label R and S (including their polarity). Inputs 2 Current Outputs 0 0 or 0 0 or or 0 or 0 New Outputs 9

20 Clocked Circuits () Logic 20 Time Stream of Clock Pulses ( Square Wave or Pulse Train ) The majority of all sequential logic circuits are clocked logic circuits. Clocked circuits are circuits that are regulated by a clocking element, ( square wave ), which determines when state changes occur. In a clocked sequential circuit, in general, the circuit can only change states on a tick of the clock element. We refer to a circuit as a clocked circuit when sequential elements in the circuit change states in synchronization to a train of pulses. Such a pulse train is shown below. The clock pulses change regularly from 0 to and back. Logic 0

21 Clocked Circuits (2) The period T of a sequential logic clock is the distance between identical points on the pulse train, e.g., two rising edges or two falling edges. The clock has only two states: 0 and. The clock alternates between the states. The amount of time that the clock spends in each of the two states is called the duty cycle. The clock below has a 50/50 duty cycle; it spends equal time each period in the and 0 states. 2 T T 0

22 Clocked Circuits (3) The clock below does not have a 50/50 duty cycle. It stays in the state about 35% of the time, and in the 0 state about 65% of the time. Thus we say that the clock has a 35/65 duty cycle. In the same way, a clock can have a 70/30 cycle time (i.e., it stays in the state 70% of the time), and so forth. Note that the period T is defined in the same way as before. T T 0 22

23 Clocked Flip-Flops All ff s have the same basic configuration: Both true and false outputs ( and -not ). Set is when =. Triggered by set and reset inputs. The most useful ff s are not simple asynchronous (non-clocked) ff s, however, but synchronous ( clocked ) ff s. Clocked ff s are very similar to non-clocked ff s -- the main difference is that in addition to a set or reset input to cause the outputs to change, there must also be the presence of a clock signal in its true state (normally ). Thus clocked ff s do not change states, regardless of the set or reset inputs, until the clock ticks. 23

24 The Clocked R-S Flip-Flop Set+ Clock+ Reset+ S R Clocked R-S Flip-Flop 24 The simplest clocked ff is the clocked R-S FF, shown above (NAND version). In addition to the set and reset inputs, the clock input is present. Since when clock is low (0), neither set or reset input affect the circuit, we say that the clock gates the set or reset signal to the RS FF. In this case, the set or reset input must be high () to set or reset the ff when the clock goes true (0 ). Having set and reset at the same time is forbidden as for the RS FF; simultaneous set and reset true causes a race condition when clock is high.

25 Clocked R-S Flip-Flop Truth Table Set+ Clock+ S 25 Reset+ R Clocked R-S Flip-Flop Inputs Current Outputs New Outputs Clock S R 0 X X or 0 0 or Same Same 0 0 or 0 0 or Same Same Same Same Same Same * * or 0 0 or * * * This is a race condition and not stable, as for the non-clocked RS FF.

26 The D Flip-Flop The D FF is a bistable circuit with D only one input plus the clock. The S term D refers to data. Clock+ Since the D FF is limited to one R input, there is no chance that a D (R+) race condition will occur. Clocked D Flip-Flop The clocked D FF can be created simply by replacing the reset input with an inverted set input in the clocked RS FF. In this configuration, we can see that if the D input =, when the clock is high, the ff will go into the set state ( set input=, reset =0). When the D input = 0, then the ff goes into the reset state when clock goes high ( set input=0, reset =). When clock = 0, the ff is idle. There is no forbidden state here -- the D FF output is defined (see truth table, next page) for ALL inputs. (S+) 26

27 D Flip-Flop Truth Table D Clock+ D (S+) (R+) Clocked D Flip-Flop Inputs Current Outputs New Outputs Clock D 0 X or 0 or 0 Same Same S R Same Same Same Same

28 . Draw a representation of a duty cycle clock (pulse train). Exercise 2 2. What is the period of the clock shown, to the nearest nsec? What is the duty cycle (nearest %)? 3. Using the gates shown on the next page, make a clocked D FF. Label inputs and outputs. Time 8 nsec Time 5 nsec Period = 8 nsec; duty cycle 78/22 28

29 Exercise 2 (continued) 29

30 New Information uiz 30 This is also one of the four RS FF types we saw earlier. Determine the inputs in the same way the example was worked. Label the signals Set, Reset,, -not, and show the input polarities (indicating whether the signals are active high or low).

31 Clock Timing Diagrams Time 0 It is important when designing sequential circuits to understand the timing relationships between circuit elements. This is normally done by plotting the transitions -- the changes between logic and logic 0 -- of the elements of interest. All event timing is normally related to the clock. In any fundamental timing diagram, unless specifically instructed to do otherwise, always start with the clock (it goes best at the diagram bottom). Always assume a 50/50 clock, if duty cycle not specified. 3

32 Timing Diagrams (Continued) Output D Input Clock 0 To illustrate D FF timing by plotting the D FF output: Remember that a D FF output is normally triggered when clock =. Assume D FF is originally reset. Then on the rising edge of the clock, the D FF output goes to set (), when the D input is. On successive clock pulses, the D FF changes as D changes. Principle: Output of a simple D FF tracks D when the clock ticks! Note: The clock is shown above running continuously. In some cases, the clock may tick only some times. 32

33 Exercise 3 The incomplete timing diagram below shows the clock input as the basis for the diagram and a D FF input, but not the output. In this case, the clock does not run continuously, but on a sporadic basis. Based on the discussion so far, plot the timing of the output of the D FF (assume the D FF starts out in the reset condition). Note that you do not need to see the ff diagram itself to do the plot. 33 D Clock Time 0

34 Master-Slave, or Delay Flip-Flops It is often desirable to have a flip-flop whose output does not change immediately when its internal state is altered from set ( = ) to reset ( = 0), or vice-versa. This sort of ff is called a master-slave or delay ff. The idea behind the master-slave ff is to have a master (i.e., controlling) ff change states on one edge of a clock pulse (normally the leading edge) and have a second ff connected to the first change to the same state as the master on the trailing edge, or backside of a clock pulse. In this way, the internal state of the ff changes one-half clock cycle prior to the time in which the changed state appears on the circuit outputs. 34

35 The Master-Slave D Flip-Flop D Clock+ Master Slave D FF converted to master-slave type. The slave (basically a clocked RS FF) always mirrors the state of the master. The slave circuit changes state /2 cycle after the master. The device still operates as a D FF; no indeterminate state. 35

36 Timing of Master-Slave D Flip-Flop D Clock+ Master Slave Slave FF () 36 Master FF () D Clock 0

37 D Flip-Flop Symbols 37 Flip-flop detail is not usually shown in diagrams. One symbol for a D FF is shown to the right. There is no small circle on either input. Therefore, is the active state (when clock and D =, output will ). D FF s with asynchronous set and reset are also available. Circles on S and R inputs mean that set and reset are negative-true signals (active at level 0). -not output is also available. Set and reset have the same problems discussed before: If S = R = 0, output may be indeterminate. D C Simple D FF D C S R D FF With Asynchronous S/R

38 The J-K Master-Slave Flip-Flop It is often useful to have a FF that will not have indeterminate outputs when S and R inputs are both simultaneously. The J-K FF, shown above, fits those requirements. The J input corresponds to Set, while K corresponds to Reset. The J-K FF is designed so that the condition of J = K = does not result in an indeterminate output when clocked. There may still be asynchronous RS inputs with the usual cautions. However, the J-K inputs are not restricted. 38

39 Internals of the J-K Flip-Flop J OR K Clock+ J-K Master-Slave Flip Flop A master-slave J-K FF can be designed as shown above. The key states are J=K=, for either output state (set or reset). If = ( Set ) and J = K =, output of the OR = 0, so the ff will reset. Likewise, if = 0 ( Reset ) and J = K =, OR =, and the ff will be set. (For J= and K=0, or J=0 and K=) normal set or reset occurs.) Then for J = K =, when the clock ticks the opposite state. 39

40 JK Flip Flop Truth Table J 3 K 2 4 Clock+ 40 Inputs Outputs AND Outputs OR Outputs New Outputs J K Same Same Same Same Same Same Same Same

41 The Toggle Flip-Flop T J K Clock+ T Master-Slave Flip-Flop The T FF is like a JK FF with J and K tied together (K input inverted). Then if T =, and clock =, the ff toggles to the opposite state. If T = 0, the ff does not change state on the clock tick. The T FF is a master-slave ff; output changes on the back edge of the clock. Set T = permanently, and the T FF toggles on every clock pulse. Note tied to the K input and -not tied to the J input. This feedback, along with the connected J and K inputs, enables the T FF to work properly. 4

42 Toggle Flip Flop Truth Table T J 3 K 2 4 Clock+ Input T Outputs T Master-Slave Flip-Flop AND Outputs OR Outputs New Outputs Same Same Same Same

43 Master-Slave T FF as a Frequency Divider Clock (at frequency f) Reset f/2 f/4 f/8 All T FF s shown are masterslave. T FF #3 T FF #2 T FF # Clock 0 43

44 Timing (Continued) Clock Reset f/2 f/4 f/8 Pulse Out Clock frequency = f Suppose that we want to decode a state of the frequency divider circuit seen on the last slide. When the /8 and /4 and /2 outputs are high, we want to AND those signals with clock to get a decoded pulse to perform some operation (see diagram above). How do we show the timing on this sequential decoder? 44

45 Timing (Continued) Clock (f) f/2 2 f/4 3 f/8 Pulse Out Reset 45 T FF #3 T FF #2 T FF # Clock We know that the output of FF # clocks FF#2, and #2 clocks #3. On the first falling edge of the clock, FF # toggles. On the falling edge of the output of FF #, FF #2 toggles, etc. 0

46 Timing (Concluded) Clock (f) f/2 2 f/4 3 f/8 Pulse Out Reset Pulse T FF #3 T FF #2 46 T FF # Clock 0 On the timing diagram, we look for the time when the three s are high. We then diagram Pulse Out based on the AND of the 3 signals plus clock.

47 Flip Flop Summary We have devoted a good deal of time to the study of the latch, or flip-flop, because it is important in modern computer circuitry. The primary uses for latches are: D FF: ALU registers, input/output buffers, shift registers, fast memory. J-K FF: Control functions and status indicators. T FF: Frequency division and counter circuits. We will study more complex ff circuits next. 47

RS flip-flop using NOR gate

RS flip-flop using NOR gate RS flip-flop using NOR gate Triggering and triggering methods Triggering : Applying train of pulses, to set or reset the memory cell is known as Triggering. Triggering methods:- There are basically two

More information

RS flip-flop using NOR gate

RS flip-flop using NOR gate RS flip-flop using NOR gate Triggering and triggering methods Triggering : Applying train of pulses, to set or reset the memory cell is known as Triggering. Triggering methods:- There are basically two

More information

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP 1 Chapter Overview Latches Gated Latches Edge-triggered flip-flops Master-slave flip-flops Flip-flop operating characteristics Flip-flop applications

More information

MC9211 Computer Organization

MC9211 Computer Organization MC9211 Computer Organization Unit 2 : Combinational and Sequential Circuits Lesson2 : Sequential Circuits (KSB) (MCA) (2009-12/ODD) (2009-10/1 A&B) Coverage Lesson2 Outlines the formal procedures for the

More information

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur SEQUENTIAL LOGIC Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur www.satish0402.weebly.com OSCILLATORS Oscillators is an amplifier which derives its input from output. Oscillators

More information

LATCHES & FLIP-FLOP. Chapter 7

LATCHES & FLIP-FLOP. Chapter 7 LATCHES & FLIP-FLOP Chapter 7 INTRODUCTION Latch and flip flops are categorized as bistable devices which have two stable states,called SET and RESET. They can retain either of this states indefinitely

More information

Sequential Logic Circuits

Sequential Logic Circuits Sequential Logic Circuits By Dr. M. Hebaishy Digital Logic Design Ch- Rem.!) Types of Logic Circuits Combinational Logic Memoryless Outputs determined by current values of inputs Sequential Logic Has memory

More information

Unit 11. Latches and Flip-Flops

Unit 11. Latches and Flip-Flops Unit 11 Latches and Flip-Flops 1 Combinational Circuits A combinational circuit consists of logic gates whose outputs, at any time, are determined by combining the values of the inputs. For n input variables,

More information

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Introduction. NAND Gate Latch.  Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1 2007 Introduction BK TP.HCM FLIP-FLOP So far we have seen Combinational Logic The output(s) depends only on the current values of the input variables Here we will look at Sequential Logic circuits The

More information

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall Objective: - Dealing with the operation of simple sequential devices. Learning invalid condition in

More information

FLIP-FLOPS AND RELATED DEVICES

FLIP-FLOPS AND RELATED DEVICES C H A P T E R 5 FLIP-FLOPS AND RELATED DEVICES OUTLINE 5- NAND Gate Latch 5-2 NOR Gate Latch 5-3 Troubleshooting Case Study 5-4 Digital Pulses 5-5 Clock Signals and Clocked Flip-Flops 5-6 Clocked S-R Flip-Flop

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

Chapter 8 Sequential Circuits

Chapter 8 Sequential Circuits Philadelphia University Faculty of Information Technology Department of Computer Science Computer Logic Design By 1 Chapter 8 Sequential Circuits 1 Classification of Combinational Logic 3 Sequential circuits

More information

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active. Flip-Flops Objectives The objectives of this lesson are to study: 1. Latches versus Flip-Flops 2. Master-Slave Flip-Flops 3. Timing Analysis of Master-Slave Flip-Flops 4. Different Types of Master-Slave

More information

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany Digital Logic Design Sequential Circuits Dr. Basem ElHalawany Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs

More information

Logic Design. Flip Flops, Registers and Counters

Logic Design. Flip Flops, Registers and Counters Logic Design Flip Flops, Registers and Counters Introduction Combinational circuits: value of each output depends only on the values of inputs Sequential Circuits: values of outputs depend on inputs and

More information

Chapter 4. Logic Design

Chapter 4. Logic Design Chapter 4 Logic Design 4.1 Introduction. In previous Chapter we studied gates and combinational circuits, which made by gates (AND, OR, NOT etc.). That can be represented by circuit diagram, truth table

More information

Introduction to Sequential Circuits

Introduction to Sequential Circuits Introduction to Sequential Circuits COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Presentation Outline Introduction to Sequential Circuits Synchronous

More information

Rangkaian Sekuensial. Flip-flop

Rangkaian Sekuensial. Flip-flop Rangkaian Sekuensial Rangkaian Sekuensial Flip-flop Combinational versus Sequential Functions Logic functions are categorized as being either combinational (sometimes referred to as combinatorial) or sequential.

More information

ASYNCHRONOUS COUNTER CIRCUITS

ASYNCHRONOUS COUNTER CIRCUITS ASYNCHRONOUS COUNTER CIRCUITS Asynchronous counters do not have a common clock that controls all the Hipflop stages. The control clock is input into the first stage, or the LSB stage of the counter. The

More information

UNIT IV. Sequential circuit

UNIT IV. Sequential circuit UNIT IV Sequential circuit Introduction In the previous session, we said that the output of a combinational circuit depends solely upon the input. The implication is that combinational circuits have no

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic -A Sequential Circuit consists of a combinational circuit to which storage elements are connected to form a feedback path. The storage elements are devices capable of storing

More information

Lecture 8: Sequential Logic

Lecture 8: Sequential Logic Lecture 8: Sequential Logic Last lecture discussed how we can use digital electronics to do combinatorial logic we designed circuits that gave an immediate output when presented with a given set of inputs

More information

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Chapter 6. Flip-Flops and Simple Flip-Flop Applications Chapter 6 Flip-Flops and Simple Flip-Flop Applications Basic bistable element It is a circuit having two stable conditions (states). It can be used to store binary symbols. J. C. Huang, 2004 Digital Logic

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

Chapter. Synchronous Sequential Circuits

Chapter. Synchronous Sequential Circuits Chapter 5 Synchronous Sequential Circuits Logic Circuits- Review Logic Circuits 2 Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs. Performs

More information

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers EEE 304 Experiment No. 07 Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers Important: Submit your Prelab at the beginning of the lab. Prelab 1: Construct a S-R Latch and

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 6 Following the slides of Dr. Ahmed H. Madian ذو الحجة 1438 ه Winter

More information

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS In the same way that logic gates are the building blocks of combinatorial circuits, latches

More information

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram UNIT III INTRODUCTION In combinational logic circuits, the outputs at any instant of time depend only on the input signals present at that time. For a change in input, the output occurs immediately. Combinational

More information

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay)  CSC S.J. Park. Announcement Seung-Jong Park (Jay) http://www.csc.lsu.edu/~sjpark Computer Architecture (CSC-3501) Lecture 7 (07 Feb 2008) 1 Announcement 2 1 Combinational vs. Sequential Logic Combinational Logic Memoryless Outputs

More information

LAB #4 SEQUENTIAL LOGIC CIRCUIT

LAB #4 SEQUENTIAL LOGIC CIRCUIT LAB #4 SEQUENTIAL LOGIC CIRCUIT OBJECTIVES 1. To learn how basic sequential logic circuit works 2. To test and investigate the operation of various latch and flip flop circuits INTRODUCTIONS Sequential

More information

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Review of digital electronics. Storage units Sequential circuits Counters Shifters Review of digital electronics Storage units Sequential circuits ounters Shifters ounting in Binary A counter can form the same pattern of 0 s and 1 s with logic levels. The first stage in the counter represents

More information

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements The Islamic University of Gaza Engineering Faculty Department of Computer Engineering Spring 2018 ECOM 2022 Khaleel I. Shaheen Sequential Digital Design Laboratory Manual Experiment #3 Flip Flop Storage

More information

Other Flip-Flops. Lecture 27 1

Other Flip-Flops. Lecture 27 1 Other Flip-Flops Other types of flip-flops can be constructed by using the D flip-flop and external logic. Two flip-flops less widely used in the design of digital systems are the JK and T flip-flops.

More information

D Latch (Transparent Latch)

D Latch (Transparent Latch) D Latch (Transparent Latch) -One way to eliminate the undesirable condition of the indeterminate state in the SR latch is to ensure that inputs S and R are never equal to 1 at the same time. This is done

More information

Introduction to Microprocessor & Digital Logic

Introduction to Microprocessor & Digital Logic ME262 Introduction to Microprocessor & Digital Logic (Sequential Logic) Summer 2 Sequential Logic Definition The output(s) of a sequential circuit depends d on the current and past states of the inputs,

More information

CPS311 Lecture: Sequential Circuits

CPS311 Lecture: Sequential Circuits CPS311 Lecture: Sequential Circuits Last revised August 4, 2015 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce

More information

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits Computer Science 324 Computer Architecture Mount Holyoke College Fall 2007 opic Notes: Sequential Circuits Let s think about how life can be bad for a circuit. Edge Detection Consider this one: What is

More information

The NOR latch is similar to the NAND latch

The NOR latch is similar to the NAND latch 5-2 NOR Gate Latch The NOR latch is similar to the NAND latch except that the Q and Q outputs are reversed. The set and clear inputs are active high, that is, the output will change when the input is pulsed

More information

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time. Clocks A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states. The length of time the clock is high before changing states is its high

More information

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

CSE115: Digital Design Lecture 23: Latches & Flip-Flops Faculty of Engineering CSE115: Digital Design Lecture 23: Latches & Flip-Flops Sections 7.1-7.2 Suggested Reading A Generic Digital Processor Building Blocks for Digital Architectures INPUT - OUTPUT Interconnect:

More information

Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory. The chapter about flip-flops introduced

More information

Chapter 11 Latches and Flip-Flops

Chapter 11 Latches and Flip-Flops Chapter 11 Latches and Flip-Flops SKEE1223 igital Electronics Mun im/arif/izam FKE, Universiti Teknologi Malaysia ecember 8, 2015 Types of Logic Circuits Combinational logic: Output depends solely on the

More information

IT T35 Digital system desigm y - ii /s - iii

IT T35 Digital system desigm y - ii /s - iii UNIT - III Sequential Logic I Sequential circuits: latches flip flops analysis of clocked sequential circuits state reduction and assignments Registers and Counters: Registers shift registers ripple counters

More information

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem   ahmadsm AT kfupm Phone: Office: COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem Email: ahmadsm AT kfupm Phone: 860-7554 Office: 22-324 Objectives Sequential Circuits Memory Elements Latches Flip-Flops Combinational

More information

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state. pp. 4-9 Krishi Sanskriti Publications http://www.krishisanskriti.org/jbaer.html Review of Flip-Flop Divya Aggarwal Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi Abstract:

More information

Sequential Circuits: Latches & Flip-Flops

Sequential Circuits: Latches & Flip-Flops Sequential Circuits: Latches & Flip-Flops Overview Storage Elements Latches SR, JK, D, and T Characteristic Tables, Characteristic Equations, Eecution Tables, and State Diagrams Standard Symbols Flip-Flops

More information

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits Computer Science 324 Computer Architecture Mount Holyoke College Fall 2009 opic Notes: Sequential Circuits Let s think about how life can be bad for a circuit. Edge Detection Consider this one: What is

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 7 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter

More information

Sequential Logic Basics

Sequential Logic Basics Sequential Logic Basics Unlike Combinational Logic circuits that change state depending upon the actual signals being applied to their inputs at that time, Sequential Logic circuits have some form of inherent

More information

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari Sequential Circuits The combinational circuit does not use any memory. Hence the previous state of input does not have any effect on the present state of the circuit. But sequential circuit has memory

More information

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

UNIT-3: SEQUENTIAL LOGIC CIRCUITS UNIT-3: SEQUENTIAL LOGIC CIRCUITS STRUCTURE 3. Objectives 3. Introduction 3.2 Sequential Logic Circuits 3.2. NAND Latch 3.2.2 RS Flip-Flop 3.2.3 D Flip-Flop 3.2.4 JK Flip-Flop 3.2.5 Edge Triggered RS Flip-Flop

More information

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab Experiment #5 Shift Registers, Counters, and Their Architecture 1. Introduction: In Laboratory Exercise # 4,

More information

Vignana Bharathi Institute of Technology UNIT 4 DLD

Vignana Bharathi Institute of Technology UNIT 4 DLD DLD UNIT IV Synchronous Sequential Circuits, Latches, Flip-flops, analysis of clocked sequential circuits, Registers, Shift registers, Ripple counters, Synchronous counters, other counters. Asynchronous

More information

Experiment 8 Introduction to Latches and Flip-Flops and registers

Experiment 8 Introduction to Latches and Flip-Flops and registers Experiment 8 Introduction to Latches and Flip-Flops and registers Introduction: The logic circuits that have been used until now were combinational logic circuits since the output of the device depends

More information

Counter dan Register

Counter dan Register Counter dan Register Introduction Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory.

More information

CHAPTER 1 LATCHES & FLIP-FLOPS

CHAPTER 1 LATCHES & FLIP-FLOPS CHAPTER 1 LATCHES & FLIP-FLOPS 1 Outcome After learning this chapter, student should be able to; Recognize the difference between latches and flipflops Analyze the operation of the flip flop Draw the output

More information

(Refer Slide Time: 2:05)

(Refer Slide Time: 2:05) (Refer Slide Time: 2:05) Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology, Madras Triggering Mechanisms of Flip Flops and Counters Lecture

More information

Chapter 5 Flip-Flops and Related Devices

Chapter 5 Flip-Flops and Related Devices Chapter 5 Flip-Flops and Related Devices Chapter 5 Objectives Selected areas covered in this chapter: Constructing/analyzing operation of latch flip-flops made from NAND or NOR gates. Differences of synchronous/asynchronous

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

Chapter 5: Synchronous Sequential Logic

Chapter 5: Synchronous Sequential Logic Chapter 5: Synchronous Sequential Logic NCNU_2016_DD_5_1 Digital systems may contain memory for storing information. Combinational circuits contains no memory elements the outputs depends only on the inputs

More information

Combinational vs Sequential

Combinational vs Sequential Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs Changing inputs changes outputs No regard for previous inputs

More information

DIGITAL CIRCUIT COMBINATORIAL LOGIC

DIGITAL CIRCUIT COMBINATORIAL LOGIC DIGITAL CIRCUIT COMBINATORIAL LOGIC Logic levels: one zero true false high low CMOS logic levels: 1 => 0.7 V DD 0.4 V DD = noise margin 0 =< 0.3 V DD Positive logic: high = 1 = true low = 0 = false Negative

More information

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur Logic Gates, Timers, Flip-Flops & Counters Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur Logic Gates Transistor NOT Gate Let I C be the collector current.

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 23 121120 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Combinatorial Logic Sequential Logic 3 Combinatorial Logic Circuits

More information

Introduction. Serial In - Serial Out Shift Registers (SISO)

Introduction. Serial In - Serial Out Shift Registers (SISO) Introduction Shift registers are a type of sequential logic circuit, mainly for storage of digital data. They are a group of flip-flops connected in a chain so that the output from one flip-flop becomes

More information

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic Chapter 5. Synchronous Sequential Logic 1 5.1 Introduction Electronic products: ability to send, receive, store, retrieve, and process information in binary format Dependence on past values of inputs Sequential

More information

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS) DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS) 1 iclicker Question 16 What should be the MUX inputs to implement the following function? (4 minutes) f A, B, C = m(0,2,5,6,7)

More information

EET2411 DIGITAL ELECTRONICS

EET2411 DIGITAL ELECTRONICS 5-8 Clocked D Flip-FlopFlop One data input. The output changes to the value of the input at either the positive going or negative going clock trigger. May be implemented with a J-K FF by tying the J input

More information

CHAPTER1: Digital Logic Circuits

CHAPTER1: Digital Logic Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits 1 Sequential Circuits Introduction Composed of a combinational circuit to which the memory elements are connected to form a feedback

More information

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic Chapter 5 Synchronous Sequential Logic Chih-Tsun Huang ( 黃稚存 ) http://nthucad.cs.nthu.edu.tw/~cthuang/ Department of Computer Science National Tsing Hua University Outline Introduction Storage Elements:

More information

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98 More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 98 Review: Bit Storage SR latch S (set) Q R (reset) Level-sensitive SR latch S S1 C R R1 Q D C S R D latch Q

More information

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791) B. Sc. III Semester (Electronics) - (2013-14) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791) Section-[A] i. (B) ii. (A) iii. (D) iv. (C) v. (C) vi. (C) vii. (D) viii. (B) Ans-(ix): In JK flip flop

More information

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001 Flip-Flops and Related Devices Wen-Hung Liao, Ph.D. 4/11/2001 Objectives Recognize the various IEEE/ANSI flip-flop symbols. Use state transition diagrams to describe counter operation. Use flip-flops in

More information

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic equential logic equential circuits simple circuits with feedback latches edge-triggered flip-flops Timing methodologies cascading flip-flops for proper operation clock skew Basic registers shift registers

More information

5: Sequential Logic Latches & Flip-flops

5: Sequential Logic Latches & Flip-flops 5: Sequential Logic Latches & Flip-flops Introduction Memory Elements Pulse-Triggered Latch S-R Latch Gated S-R Latch Gated D Latch Edge-Triggered Flip-flops S-R Flip-flop D Flip-flop J-K Flip-flop T Flip-flop

More information

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted. 3 Flip-Flops Flip-flops and latches are digital memory circuits that can remain in the state in which they were set even after the input signals have been removed. This means that the circuits have a memory

More information

Flip-Flops and Sequential Circuit Design

Flip-Flops and Sequential Circuit Design Flip-Flops and Sequential Circuit Design ECE 52 Summer 29 Reading ssignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7.5 T Flip-Flop 7.5. Configurable Flip-Flops 7.6

More information

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary Slide Set 7 for ENEL 353 Fall 216 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary Fall Term, 216 SN s ENEL 353 Fall 216 Slide Set 7 slide

More information

Counters

Counters Counters A counter is the most versatile and useful subsystems in the digital system. A counter driven by a clock can be used to count the number of clock cycles. Since clock pulses occur at known intervals,

More information

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1 COC 243 equential Logic COC 243 (Computer Architecture) Lecture 5 - equential Logic 1 Overview Last Lecture This Lecture equential logic circuits ource: Chapter 11 (10 th edition) Next Lecture Computer

More information

Chapter 2. Digital Circuits

Chapter 2. Digital Circuits Chapter 2. Digital Circuits Logic gates Flip-flops FF registers IC registers Data bus Encoders/Decoders Multiplexers Troubleshooting digital circuits Most contents of this chapter were covered in 88-217

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: igital Circuits Chapter 7 Sequential Elements r. Curtis Nelson Sequential Elements In this chapter you will learn about: circuits that can store information; Basic cells, latches, and flip-flops;

More information

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1 Unit 9 Latches and Flip-Flops Dept. of Electrical and Computer Eng., NCTU 1 9.1 Introduction Dept. of Electrical and Computer Eng., NCTU 2 What is the characteristic of sequential circuits in contrast

More information

Synchronous Sequential Logic. Chapter 5

Synchronous Sequential Logic. Chapter 5 Synchronous Sequential Logic Chapter 5 5-1 Introduction Combinational circuits contains no memory elements the outputs depends on the inputs Synchronous Sequential Logic 5-2 5-2 Sequential Circuits Sequential

More information

Digital Circuits 4: Sequential Circuits

Digital Circuits 4: Sequential Circuits Digital Circuits 4: Sequential Circuits Created by Dave Astels Last updated on 2018-04-20 07:42:42 PM UTC Guide Contents Guide Contents Overview Sequential Circuits Onward Flip-Flops R-S Flip Flop Level

More information

EKT 121/4 ELEKTRONIK DIGIT 1

EKT 121/4 ELEKTRONIK DIGIT 1 EKT 121/4 ELEKTRONIK DIGIT 1 Kolej Universiti Kejuruteraan Utara Malaysia Bistable Storage Devices and Related Devices Introduction Latches and flip-flops are the basic single-bit memory elements used

More information

Digital Logic Design I

Digital Logic Design I Digital Logic Design I Synchronous Sequential Logic Mustafa Kemal Uyguroğlu Sequential Circuits Asynchronous Inputs Combinational Circuit Memory Elements Outputs Synchronous Inputs Combinational Circuit

More information

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops DLHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 0 Experiment - Latches and Flip-Flops Objectives:. To implement an RS latch memory element. To implement a JK

More information

Digital Fundamentals: A Systems Approach

Digital Fundamentals: A Systems Approach Digital Fundamentals: A Systems Approach Latches, Flip-Flops, and Timers Chapter 6 Traffic Signal Control Traffic Signal Control: State Diagram Traffic Signal Control: Block Diagram Traffic Signal Control:

More information

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters Logic and Computer Design Fundamentals Chapter 7 Registers and Counters Registers Register a collection of binary storage elements In theory, a register is sequential logic which can be defined by a state

More information

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states. Clocks A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states. 1 The length of time the clock is high before changing states is its

More information

LAB 7. Latches & Flip Flops

LAB 7. Latches & Flip Flops بسام عب د الكريم جاد هللا النبريص Bass am Ak J Alnabr iss Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Digital Design Lab : ECOM 2112 Fall 2016 Eng. Bassam Nabriss LAB 7

More information

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters 2. Counter Stages or Bits The number of output bits of a counter is equal to the flip-flop stages of the counter. A MOD-2 n counter requires n stages or flip-flops in order to produce a count sequence

More information

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES SUBJECT: DIGITAL ELECTRONICS CLASS: II YEAR ECE SUBJECT CODE: EC2203

More information

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter Digital Clock The timing diagram figure 30.1a shows the time interval t 6 to t 11 and t 19 to t 21. At time interval t 9 the units counter counts to 1001 (9) which is the terminal count of the 74x160 decade

More information

EKT 121/4 ELEKTRONIK DIGIT 1

EKT 121/4 ELEKTRONIK DIGIT 1 EKT 2/4 ELEKTRONIK DIGIT Kolej Universiti Kejuruteraan Utara Malaysia Sequential Logic Circuits - COUNTERS - LATCHES (review) S-R R Latch S-R R Latch Active-LOW input INPUTS OUTPUTS S R Q Q COMMENTS Q

More information

ECE 341. Lecture # 2

ECE 341. Lecture # 2 ECE 341 Lecture # 2 Instructor: Zeshan Chishti zeshan@pdx.edu October 1, 2014 Portland State University Announcements Course website reminder: http://www.ece.pdx.edu/~zeshan/ece341.htm Homework 1: Will

More information

COMP sequential logic 1 Jan. 25, 2016

COMP sequential logic 1 Jan. 25, 2016 OMP 273 5 - sequential logic 1 Jan. 25, 2016 Sequential ircuits All of the circuits that I have discussed up to now are combinational digital circuits. For these circuits, each output is a logical combination

More information