Chapter 3 Unit Combinational

Size: px
Start display at page:

Download "Chapter 3 Unit Combinational"

Transcription

1 EE 2: igital Logic ircuit esign r Radwan E Abdel-Aal, OE Logic and omputer esign Fundamentals hapter 3 Unit ombinational 4 Sequential Logic esign ircuits Part Implementation Technology and Logic esign harles Kime & Thomas Kaminski 24 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Unit 4: Sequential ircuits (Finite State Machines FSM). Sequential ircuit efinitions, Types of Latches: SR, locked SR, and Latches 2. Flip-Flops: SR,, JK, and T Flip-Flops 3. Flip-Flop Timing Parameters: Setup, hold, propagation, clocking 4. Flip-Flops: haracteristic Tables and Excitation Tables 5. Analysis of Sequential ircuits with various types of flip-flops: eriving the input equations, state table, and state diagram. Timing. 6. esign of Sequential ircuits with various types of flip-flops: etermining the state diagrams and tables, State assignment, ombinational Logic Introduce New needed omponents (memory elements) Analysis esign hapter 3 - Part 2

2 Introduction to Sequential ircuits Outputs are functions of inputs and some previous (state) outputs External External State Inputs State Outputs A Sequential ircuit (S) consists of: ata Storage (memory) elements: (Latches / Flip-Flops) + ombinatorial Logic: Implements a multiple-output function External Inputs are signals from outside External Outputs are signals to outside State inputs (Internal to S) = Present State at o/p of storage elements State outputs, Next State at i/p of storage elements The storage (memory) elements isolate the next state from the present state, So changes occur only when desired hapter 3 - Part 3 Introduction to Sequential ircuits (S) S (State) (State) ombinational ircuit outputs: Next state: Next State = f(inputs, State) External Output:- Two Possibilities: Mealy ircuits Outputs = g(inputs, State) Moore ircuits Outputs = h(state only) hapter 3 - Part 4 2

3 Timing of Sequential ircuits Two Approaches Behavior depends on the times at which the storage elements sense their inputs and change their outputs ( next state becomes present state ) Asynchronous (No clock) Behavior defined from knowledge of inputs at any instant of time and the order in which inputs change in continuous time Synchronous (More common) Behavior is determined by the signals at discrete times (clock pulses) Storage elements sense their inputs / change state only according to a timing and synchronizing signal (a clock) Will use mainly the synchronous approach here I/P O/P at the arrival of a clock pulse clock Storage Elements When a clock pulse arrives, the S moves from one state to the next hapter 3 - Part 5 ata Storage Logic Structures for Ss t pd Old I/P Remembered ata In (hange data stored) O/P Output-maintaining feedback elay in A non-inverting Buffer Problem: ata stored only for short time = Propagation delay t pd Non-inverting buffer With feedback- indefinite Write Write Feedback across Two inverting buffers onnected in series Problem: No separate input for data. ifficult to change data stored Set-Reset (momentarily) NOR Latch Now 2 separate inputs: - ata-in (momentarily make the change to be stored) - Feedback to maintain that change hapter 3 - Part 6 3

4 Basic NOR Set Reset (SR) Latch Set: Make =, Reset: Make = ross-coupling two NOR gates gives the Set Reset Latch: Which has the time sequence Time behavior: = Normal input condition No input change (show last stored I/P) Input R S stored (written) in (remains at O/P after input is removed) R (reset) Both refer to S (set) R S omment Show the last stored data Set to (Write ) Reset to (Write ) Both and = (Avoid)?? Undefined! ( = or ) S =, R = simultaneously is a forbiddenhapter input 3 - Part pattern 7 remembers written after I/P disappeared remembers written after I/P disappeared Basic NOR Set Reset (SR) Latch Reset then Set then Should not try to Set and Reset at the same time! Forbidden I/P omb. Which hanges First?? Unpredictable _b = hapter 3 - Part 8 4

5 Basic NAN Set Reset (SR) Latch ross-coupling two NAN gates gives the S R Latch: Which has the time sequence Time behavior: = Normal input condition No input change Input S R stored in (remains at O/P after input is removed) R (reset) S (set) S R omment Show the last stored data Set to (Write ) remembers written after I/P disappeared Reset to (Write ) remembers written after I/P disappeared Both and go high (Avoid)?? Undefined! ( could be or ) S =, R = simultaneously is a forbiddenhapter input 3 - Part pattern 9 locked (or ontrolled) S-R NAN Latch Adding two NAN gates to the basic S - R NAN latch gives the clocked S R latch: lock is a gate for S, R = normally S R inputs to the latch = normally (No output change) So this prevents the forbidden conditions S R = with = = Opens the two input NANs for the S R, inverting them. This gives normal S R (not S R) latch operation Allow changes in latch state But here both S R = with = is still a problem means control or clock. hanges in SR affect the latch only during the clock pulse latch This latch is Transparent: i.e. O/P follows the I/P directly when = Freeze (Read) hapter 3 - Part 5

6 The locked Latch- Totally avoids the SR = Problem! type latch Adding this inverter to the S-R Latch, makes it a Latch We got rid of the unwanted condition (SR = with = ) But also lost SR = (no change)! When =, this latch is transparent: The I/P is effectively connected to output, i.e. follows With = With = : Freeze Output at last value Function Table written when was, (can change only when becomes again) hapter 3 - Part S R To get no change : Must block the clock pulses! ( = last before went from to ) i.e. with = : From Latches to Flip-Flops The transparent latch timing problem Solution: Flip-Flop Master-slave flip-flop Edge-triggered flip-flop Standard symbols for storage elements irect inputs to flip-flops Flip-flop timing Types of flip-flops:, JK, T hapter 3 - Part 2 6

7 The Transparent Latch as a Storage Element: Timing Problem onsider this sequential circuit: t Y-Y Transparent latch is problematic here! lock Y t W The ombinational Logic part Wide lock Pulse t Y-Y t Y-Y Transparent Latch Suppose that initially Y =. As long as =, the value of Y keeps changing! hanges occur based on the delay in the Y-to-Y loop State Variable The latch was supposed to isolate outputs of the combinational circuit from its inputs. Is it??? If t Y-Y << t W this causes several unwanted state changes to occur during the same clock pulse- unacceptable! esired behavior: Y should change only once per clock pulse, in order to get only one state transition per clock pulse! hapter 3 - Part 3 Solving the Latch Timing Problem Flip flops instead of latches Two approaches: Break the path within the storage element into two successive (mutually exclusive) steps in time: Step -. Register the change in input (then stop) Step - 2. Apply that change to the output Y (then stop) This uses a master-slave (Pulse Triggered) flip-flop OR Use an edge-triggered flip-flop: hange in is sensed and applied to the output in one go at the edge of the clock pulse (+ ive or ive edge) i.e. Effectively as if we have a Zero-width clock pulse, which obviously solves the problem (see previous slide) hapter 3 - Part 4 7

8 S-R Master-Slave (Pulse-Triggered) Flip-Flop onsists of two clocked S-R latches in series, with the clock to the second latch inverted = : - Master is open st half - Slave is blocked Of clock Pulse From L S R = = S Master R Slave Only input is sensed by master for this pulse duration ( pulse-triggered) while output is unchanged by slave = : - Master is Blocked 2 nd half Of clock Pulse- Slave is open output is changed The path from input to output is thus broken by the different 2 clock levels for the two latches ( = and = ) Sensing I/P then changing O/P are now two separate steps - not one transparent step as the case with the transparent hapter 3 - Part latch 5 X S R X = = To L S-R Master-Slave Flip-Flop: Simulation Ideally, changes in S, R inputs from combinational circuit should arrive to master before the next clock interval (= pulse) arrives. ata appears at slave O/P lock Interval T Set Reset Z In Out elay T/2 = T/2 M X X S X X X Z Z Forbidden ondition S =, R = Still possible hapter 3 - Part 6 8

9 Edge-Triggered -type Flip-Flop This is a Positive Edge-triggered -type flip-flop Is currently the most preferred FF for building sequential circuits ata The data input is transferred to the output only at the rising edge of the clock, subject to timing constraints on the input relative to effective clock edge: Setup time before edge and Hold time after edge Negative edge triggered FF is also available hapter 3 - Part 7 Flip-Flop Timing Parameters: - ive Edge Triggered FF (Section 6.3) Requirements: t w -clock pulse width (for both low & high) onsider a Negative Edge-Triggered Flip Flop bubble t s : setup time t h : hold time (usually ns) Outcomes: t p : propagation delay Input transitions allowed Valid, Stable Old Old ata ata on on New ata on Output transitions occur input can still change up to here! Better utilization of time faster sequential cct designs compared to Master-Slave FF hapter 3 - Part 8 9

10 Standard Symbols for Storage Elements Unclocked clocked. Latches (Transparent) 2. Flip Flops SR SR a. Master-Slave (M-S) Pulse-Triggered: O/P determined Postponed during output clock pulse width and indicators changed at its end b. Edge-Triggered: O/P determined & changed on the indicated clock edge S R S R Triggered SR S R (b) Master-Slave Flip-Flops Triggered (c) Edge-Triggered Flip-Flops SR, Active high lk In a sequential that uses M-S different (Pulse S Types of FFs, Ensure that Triggered) all FFs FF circuit M-S change -typetheir outputs I-O Isolation, R at the same clock edge. But Invert with clock signal to some FFs caution! if needed Triggered SR Triggered Triggered Triggered SR, Active high lk, Active high lk Transparent Latches, Provide No I-O isolation One problem with type FF is that no inputs produce no change at the output Solution: - Block the clock pulses - Feed back the to the input when no change is required (See Unit 5) hapter 3 - Part 9 FF irect Inputs When power is turned ON, the state of a sequential circuit FFs could be anything! We usually need to initialize the circuit to a known state before operation starts This initialization is often done directly outside the clocked behavior of the circuit, i.e., asynchronously irect S and/or R inputs that control the state of the latches within the flip-flops are added to FFs for this purpose For the example the flip-flop shown applied to R directly (S=): resets the flip-flop to the state regardless of the clock applied to S directly (R=): sets the flip-flop to the state regardless of the clock Bubble I/P is active low Synchronous (clocked) Edge- Triggered lock action Active Low Asynchronous Action- Regardless of the clock Asynchronous (irect) S,R Till next lock edge Synchronous (clocked) action hapter 3 - Part 2

11 Other Types of Flip-Flops We know about the master-slave S-R and flip-flops We will briefly introduce the J-K and T flip-flops Implementation Behavior haracteristic Table/Equation: For use in S Analysis Excitation Table/Equation: For use in S esign hapter 3 - Part 2 Analysis haracteristic Basic Flip-Flop escriptors Excitation design In analysis: Given a ircuit: Present state, I/Ps L FF Inputs? FF O/P (Next state)? FF: FF Inputs & Present output Next FF output? haracteristic table - defines the next output of the flip-flop given its present output and its inputs Or haracteristic equation - defines the next output of the flip-flop as a Boolean function of its present output and its inputs In design: Given a state transition behavior? L? FF: Present output & Next output? FF inputs? (that give such behavior) Excitation table - defines the flip-flop inputs that give a required present-to-next output behavior hapter 3 - Part 22

12 Flip-Flop Analysis esign Analysis esign haracteristic Table Input- riven Analysis (t) (t + ) Operation Reset Set haracteristic Equation (t+) = (t) Excitation Table Output- riven (t +) esign (t) Operation Reset Set oes not depend on the present O/P Next O/P = Present I/P Limitation of FF: No built-in No hange ondition while clock is connected Present I/P = esired Next O/P Hence simplicity of using FF hapter 3 - Part 23 Analysis S-R Flip-Flop haracteristic Table Input- riven Pulse or Edge -Triggered? Given the present FF I/Ps, O/P Next FF O/P =? Improvement on! Limitation: SR=: Undesirable ondition haracteristic Equation Excitation Table Given Present, next O/P s FF Inputs =? Get from above esign Output behavior- riven hange, Or Reset, Or Set hapter 3 - Part 24 2

13 J-K Flip-Flop- Improvements on SR and types on SR: Avoids the SR =, JK = Toggle, i.e. (t+) = (t) on type: Allows a No hange condition haracteristic Table J K (t+) Operation haracteristic Equation Now OK! (t) (t) No change Reset Set omplement (Toggle) Excitation Table (t) (t + ) J K hange X X X X Operation No change Set Reset No hange, Or Reset, Or Toggle, Or Toggle, Or Set J K (t) (t+) hapter 3 - Part 25 T (Toggle) Flip-Flop FF with only No change & toggle capabilities haracteristic Table T (t+ ) (t) (t) Operation No change omplement (Toggle) haracteristic Equation (t+) = (t) = T (t) Excitation Table T (t+) (t) (t) T Operation No change omplement (Toggle) hapter 3 - Part 26 3

14 Sequential ircuit Analysis & esign (Present) How many? Log 2 (number of states) Analysis: Given a circuit. escribe how it behaves, in terms of: Present State, Inputs Next State? Outputs?, esign: Given how a circuit behaves, in terms of: Present State, Inputs Next State, Outputs, etermine the circuit Sequential ircuit Analysis: With -type FFs General Model m Present State (state) at time (t) are the O/Ps of an array of flip-flops Next State at (t+) are O(t) combinational fns of {State & Inputs} (External) Outputs at time (t) are a combinational function of State (t) only (Moore) and also Inputs (t) (Mealy) (t) n O (t) Present α n (here α=) State (t) FF Provides isolation between in and out: State (t) is not affected by O(t) until.. Present (t) n State Bits (State variables) (one FF bit) Max # of states for a circuit with 4 FFs?. the next clock pulse comes: How many FFs needed for a circuit with 6 states? t becomes t+, O(t) is moved to FF output, thus becoming State hapter (t+), 3 i.e. - Part next state 28 S R p (t) 4

15 Sequential ircuit Analysis Given a sequential ircuit Objective: Obtain outputs & state behavior (External outputs and next state) from (External inputs and present state) for all combinations of I/Ps & present state Two equivalent approaches to represent the results of the analysis: State table: A truth table-like approach State diagram: A graphical, more intuitive way to represent the state table and express sequential circuit operation hapter 3 - Part 29 Analysis Example using FF: Given a Sequential ircuit etermine how it behaves External Inputs: x(t) External Outputs: y(t) x State Outputs: A(t), B(t) In Analysis we determine: omb. Equations for the FF inputs then use FF characteristics to get the next state given a present state and inputs omb. Equations for the External Outputs and use them to get the ext outputs given a present state and inputs External Inputs ombinational Logic lock P Feedback Flip Flops A A State AB B y External Output(s) Synchronous or asynchronous? Mealy or Moore? hapter 3 - Part 3 5

16 Analysis Example : A Mealy ircuit, Ext. Output = F(state, inputs) eriving flip flop input equations MSB Right at the outset, there are things we can do: We can derive Boolean equations for all outputs of the combinational logic (L) circuits Two types of L outputs: Flip flop inputs (Will determine the next state based on FF characteristics) A = AX + BX B = AX External Outputs: Y = (A+B) X + ive Edge Triggered FFs State: AB Note: Flip flop inputs needed to determine next state depend on the type of flip flop used, e.g., SR, etc. hapter 3 - Part 3 State Table haracteristics State table a multi variable table with the following four vertical components: L = ombinational Logic L Inputs: FF = Flip Flop Present State (MSBs) Values of the state variables (FF outputs) for each allowed state External Inputs MSB MSB Outputs: Next-state Value of the state (FF outputs) at time (t+). etermined by: FF inputs (outputs of L) (A) (B) the FF characteristics: Simplest for -type FF: L External Outputs the value of the outputs as a function of the present state only (Moore) or present state & external inputs (Mealy) hapter 3 - Part 32 6

17 FF Input Equations: One-imensional State Table x (A) # of rows in Table = 2 (# of FFs+ # of external inputs) A A Two State Variables: A, B: 4 states In general, Get from: - Equations for FF input (L) -Then FF haracteristic table or equation For -type FF: Simply i i Purely ombinational (B) B P y 4 states, ext input inputs Inputs Vary + + (A) (B) outputs check hapter 3 - Part 33 The Two-imensional State Table a step closer to the Sate iagram # of rows in Table = 2 (# of FFs) and O/Ps are given separately for each I/P combination x A A Two State Variables A, B 4 states # of bays = # of input combinations (If Moor?) # of bays = # of input combinations (Mealy) B Only Inputs Vary Inputs Vary P y Inputs Vary # of rows = # of states Next State Output (Mealy) = f (State, I/P) = f (State, I/P) hapter 3 - Part 34 7

18 Sate iagram, Mealy ircuits Input/output irected arc To next state x A A State Transition For a given input value, orresponding O/P is also marked State Number of transition arrows exiting a state circle = Number of combinations of ext inputs, here = 2^ = 2 B P y hapter 3 - Part 35 ombinational O/Ps change combinationally all the time State Variables (FF O/Ps) updated only at clock edge, here etermine FF s ombinationally Here, just before effective clock edge Asyncl l Functional Simulation - Fig. 4-8 Mano & Kime RESET... LOK... Then transfer FF s to FF s on the effective clock edge. 53ns 6ns 59ns 22ns 265ns 38ns 37ns 424ns 477ns 53ns l X... External I/P l NA... l NB... l A... l B... l Y... l i FF I/Ps State X X t t+ t+2 t+3 State variables change only at clock edges External O/P Reset state (all s) to (asynchronously?) Output in Mealy can change asynchronous to clock (if input X is asynchronous) hapter 3 - Part 36 8

19 Moore and Mealy Models In State iagram Sequential ircuits are also called Finite State Machines (FSMs). Two formal models existaccording to dependencies of External Outputs Moore Model Named after E.F. Moore. External Outputs (O/Ps) are functions of the state ONLY In Timing Waveforms O/Ps are shown next to the state value (inside the state node) O/Ps change only with the state with the clock Sync. to clk Mealy Model Named after G. Mealy External Outputs are functions of the state AN external inputs O/Ps are shown on the state transition arcs- next to the I/P O/Ps can change with I/Ps possibly asynchronous to clock In contemporary designs, FSM are sometimes mixed: Some O/Ps are Moore and some are Mealy hapter 3 - Part 37 Analysis Example 2: A Moore ircuit Output = F (States only) Right at the outset, there are things we can do: erive Boolean expressions for all outputs of the combinational logic (L) circuits These L outputs are: Inputs to the flip flops A = X Y A (the odd fn) Output to the outside world Z = A epends only on state not on inputs, Moore Ext. I/Ps Next = A I/P combinations Affect state transitions only Not the O/Ps = Present A Present A Ext. O/P One +ive Edge Triggered FF, 2 = 2 states Ext. O/P etermined only by the present state (not the I/Ps) Moore Output is determined only by the State ( so in the circle) State, Output How many arcs emanate From each circle? As many as the I/P combinations hapter 3 - Part 38 9

20 Sequential ircuit Analysis: Using other types of Flip Flops: JK, T type FF was easy to use, as the input from L is the same as the Next state bit (e.g. A(t) = A(t+)) For other types of FFs, this is not so, and you will have to go through either: The haracteristic Table Or the haracteristic Equation hapter 3 - Part 39 Sequential ircuit Analysis Example: Using JK Flip Flops L Equations of FF Inputs JK haracteristic Eqn. - Substituting for FF A: To simplify the derivation of state table, get as SOP A(t+) = BA +(Bx ) A =A B+AB +Ax Gives A Next State - Substituting for FF B: B(t+) = x B +(A x) B = B x +(Ax+A x )B = B x +ABx+A Bx Gives B Next State No external O/Ps! hapter 3 - Part 4 2

21 Sequential ircuit Analysis Example: Using JK Flip Flops L Equations of FF Inputs All RHS is at t JK haracteristic Eqn. Standard I/P Listing ABx + + Needed only if you use The characteristic table - Substituting for FF A: A+=A(t+) = BA +(Bx ) A =A B+AB +Ax Gives A Next State SOP to simplify plotting in state table J K - Substituting for FF B: ould have used B+=B(t+) = x B +(A x) B the FF = B x +(Ax+A x )B haracteristic Table = B x +ABx+A Bx Gives B Next State (t+) (t) (t) Operation No change Reset Set Toggle hapter 3 - Part 4 Sequential ircuit Analysis Example: Using JK Flip Flops State iagram If FSM is at state S2 and x fixed at : When do we return next to S2? hapter 3 - Part 42 2

22 Sequential ircuit Analysis Example: Using T Flip Flop L Equations for FF Inputs & Ext O/P T-FF haracteristic Eqn. (t+) = T (t) - Substituting for FF A: A(t+) = Bx A = BxA +A(BX) =A Bx+A(B +x ) =A Bx+AB +Ax A Next State - Substituting for FF B: B(t+) = x B B Next State One external O/P Mealy or Moore? hapter 3 - Part 43 Sequential ircuit Analysis Example: Using T Flip Flop L Equations for FF Inputs & Ext O/P + + T FF haracteristic Eqn. (t+) = T (t) - Substituting for FF A: A(t+) = Bx A = BxA +A(BX) = A Bx+A(B +x ) = A Bx+AB +Ax Gives A Next State - Substituting for FF B: B(t+) = x B Gives B Next State hapter 3 - Part 44 22

23 Sequential ircuit Analysis Example: Using T Flip Flop Note how O/P y is represented in the state diagram hapter 3 - Part 45 Sequential ircuit esign: The esign Procedure Steps in green are similar to L esing. Specification (Word escription) State iagram (an be symbolic at this thinking stage) 2. State Reduction: Try to reduce the number of states (Will cover later) -This may reduce the number of FFs required 8? 3. State Assignment - Assign binary codes to the symbolic states 4. Obtain a Binary state table. 5. For the selected type of Flip Flops: Use the excitation table to obtain the binary FF inputs 6. erive Optimized logic expressions for each of the: - FF Inputs - External Outputs 7. Generate the logic diagram for the complete sequential cct. hapter 3 - Part 46 23

24 Sequential ircuits Analysis Versus esign / / A / B / / / / / Analysis 2- esign - Analysis of a given circuit: Given a circuit behavior [state table (state diagram)]: {ircuit, Present state, inputs} Next state?, Outputs? Flip Flop onsideration: (inputs outputs?) FF: Use input-driven haracteristic tables/equations For flip flops: A (t) A (t+) B (t) B (t+) Analysis esign esign to achieve a specified circuit performance Given desired behavior [(state diagram (State table)] get circuit (behavior: Present to next changes Needed FF Inputs? L circuit?) Flip Flop onsiderations: (behavior at O/P inputs that give behavior?) FF: Use output-driven Excitation tables/equationshapter 3 - Part 47 omplete esign Procedure Example: 3 or more successive s detector Specification (word description) Symbolic State iagram Square Moore hapter 3 - Part 48 24

25 3 s etector Example: with -type FFs Tied to State ircuit etails: State Assignment (- FF) S =A =B hapter 3 - Part 49 3 s etector Example ombinational Logic esign Optimized implementation Obtained from 3 K-maps hapter 3 - Part 5 25

26 3 s etector Example The ircuit hapter 3 - Part 5 3 s etector Example esign with JK Flip Flops Specified ct Behavior: Need to derive the FF Inputs erived FF A FF B JK Excitation Table L Outputs hapter 3 - Part 52 26

27 3 s etector Example esign with JK Flip Flops Example: A 3-bit binary up counter esign with T Flip Flops State iagram T FF Simplifies esigning ounter State Table esired Performance Required FF Inputs 27

28 esign with T Flip Flops Example: A 3-bit binary counter A always toggles (at next clock) A2 toggles (at next clock) If present A, A = A toggles (at next clock) if present A = State Reduction When we are interested only in the input-output sequence and not in the state values themselves (in counters) (without affecting the in-out sequence) Input Sequence 7-State FSM States e, g are equivalent, Same: -Next state - O/P for all input combinations (Important) 56 * * 28

29 State Reduction When we are interested only in the input-outputs sequences and not in state values (With counters we ARE interested in the states) State Reduction When we are interested only in the input-output sequences and not in state values (With counters we are interested in the states) # of States (originally 7) # of FFs # of Unused States Remove Row 7 3 Remove g row and replace gs with es Remove Row Remove f row and replace fs with ds Any Advantage? (More on t ares) 29

30 After State Reduction- Now using 5 states only Reduced 5-State FSM Maintains same input-output sequence as the original 8-state circuit On slide 56 State Assignment: Symbols Binary - Input-output sequence is not affected by the binary assignment - But generally: it affects L circuit cost - 3 Possible state coding schemes: 3 FFs 5 FFs ( FF/State) but simpler L circuit for the FF inputs 3

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis EE 25 Introduction to igital esign hapter 5 Sequential ircuits (5.1-5.4) Part 1 Storage Elements and Sequential ircuit Analysis Logic and omputer esign Fundamentals harles Kime & Thomas Kaminski 2008 Pearson

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and omputer Design Fundamentals hapter 5 Sequential ircuits Part 1 Storage Elements and Sequential ircuit Analysis harles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and omputer esign Fundamentals hapter 5 Sequential ircuits Part - Storage Elements Part Storage Elements and Sequential ircuit Analysis harles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hyperlinks

More information

Problems with D-Latch

Problems with D-Latch Problems with -Latch If changes while is true, the new value of will appear at the output. The latch is transparent. If the stored value can change state more than once during a single clock pulse, the

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

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University `OEN 32 IGITL SYSTEMS ESIGN - LETURE NOTES oncordia University hapter 5: Synchronous Sequential Logic NOTE: For more eamples and detailed description of the material in the lecture notes, please refer

More information

Chapter 6 Sequential Circuits

Chapter 6 Sequential Circuits Overview Logic and omputer esign Fundamentals hapter 6 equential ircuits Part torage Elements and equential ircuit nalysis pring 4 Part - torage Elements and nalysis Introduction to sequential circuits

More information

Sequential Circuits. Introduction to Digital Logic. Course Outline. Overview. Introduction to Digital Logic. Introduction to Sequential Circuits

Sequential Circuits. Introduction to Digital Logic. Course Outline. Overview. Introduction to Digital Logic. Introduction to Sequential Circuits Introduction to igital Logic Prof. Nizamettin IN naydin@yildiz.edu.tr naydin@ieee.org ourse Outline. igital omputers, Number ystems, rithmetic Operations, ecimal, lphanumeric, and Gray odes 2. inary Logic,

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

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

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

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs) Sequential Circuits Combinational circuits Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs) Sequential circuits Combination circuits with memory

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

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

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

Part II. Chapter2: Synchronous Sequential Logic

Part II. Chapter2: Synchronous Sequential Logic 課程名稱 : 數位系統設計導論 P-/77 Part II Chapter2: Synchronous Sequential Logic 教師 : 郭峻因教授 INSTRUCTOR: Prof. Jiun-In Guo E-mail: jiguo@cs.ccu.edu.tw 課程名稱 : 數位系統設計導論 P-2/77 Special thanks to Prof. CHING-LING SU for

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

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

Overview of Chapter 4

Overview of Chapter 4 Overview of hapter 4 Types of equential ircuits torage Elements Latches Flip-Flops equential ircuit nalysis tate Tables tate iagrams equential ircuit esign pecification ssignment of tate odes Implementation

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

Chapter 3 Unit Combinational

Chapter 3 Unit Combinational EE 200: Digital Logic Circuit Design Dr Radwan E Abdel-Aal, COE Logic and Computer Design Fundamentals Chapter 3 Unit Combinational 5 Registers Logic and Design Counters Part Implementation Technology

More information

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1 Sequential Logic E&CE 223 igital Circuits and Systems (A. Kennings) Page 1 Sequential Circuits Have considered only combinational circuits in which circuit outputs are determined entirely by current circuit

More information

6. Sequential Logic Flip-Flops

6. Sequential Logic Flip-Flops ection 6. equential Logic Flip-Flops Page of 5 6. equential Logic Flip-Flops ombinatorial components: their output values are computed entirely from their present input values. equential components: their

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

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

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

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

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

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

Chapter 5 Sequential Systems. Introduction

Chapter 5 Sequential Systems. Introduction hapter 5 Seuential Systems Latches and Flip-flops Synchronous ounter synchronous ounter 7822 igital Logic esign @epartment of omputer Engineering U. Introduction Up to now everything has been combinational

More information

B.Tech CSE Sem. 3 15CS202 DIGITAL SYSTEM DESIGN (Regulations 2015) UNIT -IV

B.Tech CSE Sem. 3 15CS202 DIGITAL SYSTEM DESIGN (Regulations 2015) UNIT -IV B.Tech CSE Sem. 3 5CS22 DIGITAL SYSTEM DESIGN (Regulations 25) UNIT -IV SYNCHRONOUS SEQUENTIAL CIRCUITS OUTLINE FlipFlops SR,D,JK,T Analysis of Synchronous Sequential Circuit State Reduction and Assignment

More information

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic EEA051 - Digital Logic 數位邏輯 Chapter 5 Synchronous Sequential Logic 吳俊興國立高雄大學資訊工程學系 December 2005 Chapter 5 Synchronous Sequential Logic 5-1 Sequential Circuits 5-2 Latches 5-3 Flip-Flops 5-4 Analysis of

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

ECE 3401 Lecture 12. Sequential Circuits (II)

ECE 3401 Lecture 12. Sequential Circuits (II) EE 34 Lecture 2 Sequential ircuits (II) Overview of Sequential ircuits Storage Elements Sequential circuits Storage elements: Latches & Flip-flops Registers and counters ircuit and System Timing Sequential

More information

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1 Spring 27 EE 363: Computer Organization Chapter 5: The Processor: atapath & Control - Avinash Kodi epartment of Electrical Engineering & Computer Science Ohio University, Athens, Ohio 457 E-mail: kodi@ohio.edu

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2017 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Sequential

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

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

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2012 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Sequential

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

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

Lecture 11: Synchronous Sequential Logic

Lecture 11: Synchronous Sequential Logic Lecture 11: Synchronous Sequential Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Aby K George, ECE Department, Wayne State University Contents Characteristic equations Analysis of clocked

More information

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3)

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3) Logic esign ( Part ) Sequential Logic- Finite State Machines (Chapter ) Based on slides McGraw-Hill Additional material 00/00/006 Lewis/Martin Additional material 008 Roth Additional material 00 Taylor

More information

CS8803: Advanced Digital Design for Embedded Hardware

CS8803: Advanced Digital Design for Embedded Hardware Copyright 2, 23 M Ciletti 75 STORAGE ELEMENTS: R-S LATCH CS883: Advanced igital esign for Embedded Hardware Storage elements are used to store information in a binary format (e.g. state, data, address,

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

2 Sequential Circuits

2 Sequential Circuits 2 2.1 State Diagrams and General Form 0/0 1/0 Start State 0 /0 1/1 State 1 /1 0/1 State Diagram of a Change Detector ( Mealy-machine). The output Y assumes 1 whenever the input X has changed. Otherwise

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

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

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited April 2, 2013 John Wawrzynek Spring 2013 EECS150 - Lec19-fsm Page 1 Finite State Machines (FSMs) FSM circuits are a type of sequential

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

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

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Final Exam review: chapter 4 and 5. Supplement 3 and 4 Final Exam review: chapter 4 and 5. Supplement 3 and 4 1. A new type of synchronous flip-flop has the following characteristic table. Find the corresponding excitation table with don t cares used as much

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

Synchronous Sequential Logic

Synchronous Sequential Logic MEC520 디지털공학 Synchronous Sequential Logic Jee-Hwan Ryu School of Mechanical Engineering Sequential Circuits Outputs are function of inputs and present states Present states are supplied by memory elements

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

Chapter 5. Introduction

Chapter 5. Introduction Chapter 5 Synchronous Sequential Logic Chapter 5 Introduction Circuits require memory to store intermediate data Sequential circuits use a periodic signal to determine when to store values. A clock signal

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

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

Digital Circuits ECS 371

Digital Circuits ECS 371 igital Circuits ECS 371 r. Prapun Suksompong prapun@siit.tu.ac.th Lecture 17 Office Hours: BK 3601-7 Monday 9:00-10:30, 1:30-3:30 Tuesday 10:30-11:30 1 Announcement Reading Assignment: Chapter 7: 7-1,

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic Ranga Rodrigo August 2, 2009 1 Behavioral Modeling Behavioral modeling represents digital circuits at a functional and algorithmic level. It is used mostly to describe sequential

More information

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY CS 2202 DIGITAL PRINCIPLES AND SYSTEM DESIGN

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY CS 2202 DIGITAL PRINCIPLES AND SYSTEM DESIGN NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF INFORMATION TECHNOLOGY CS 2202 DIGITAL PRINCIPLES AND SYSTEM DESIGN UNIT 4 SYNCHRONOUS SEQUENTIAL LOGIC Sequential circuits

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and Computer Design Fundamentals Chapter 5 Sequential Circuits Part 2 Sequential Circuit Design Charles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hyperlinks are active in View Show mode)

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

CS8803: Advanced Digital Design for Embedded Hardware

CS8803: Advanced Digital Design for Embedded Hardware CS883: Advanced Digital Design for Embedded Hardware Lecture 4: Latches, Flip-Flops, and Sequential Circuits Instructor: Sung Kyu Lim (limsk@ece.gatech.edu) Website: http://users.ece.gatech.edu/limsk/course/cs883

More information

Sequential Circuits. Building Block: Flip-Flops

Sequential Circuits. Building Block: Flip-Flops Tele 26 Sequential ircuits State epenent Present State Next State ompose of ombinational ircuits Storage Elements Often Require a lock Regular Pulse Train efinitions Perio With Rising Ege Trailing Ege

More information

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M CSE-4523 Latches and Flip-flops Dr. Izadi NOR gate property: A B Z A B Z Cross coupled NOR gates: S M S R M R S M R S R S R M S S M R R S ' Gate R Gate S R S G R S R (t+) S G R Flip_flops:. S-R flip-flop

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

Advanced Digital Logic Design EECS 303

Advanced Digital Logic Design EECS 303 Advanced Digital Logic Design EECS 303 http://ziyang.eecs.northwestern.edu/eecs303/ Teacher: Robert Dick Office: L477 Tech Email: dickrp@northwestern.edu Phone: 847 467 2298 Outline Introduction Reset/set

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

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

Page 1. Some Definitions. Chapter 3: Sequential Logic. Sequential Logic. The Combinational Logic Unit. A NOR Gate with a Lumped Delay

Page 1. Some Definitions. Chapter 3: Sequential Logic. Sequential Logic. The Combinational Logic Unit. A NOR Gate with a Lumped Delay 3- hapter 3 equential Logic hapter 3: equential Logic 3-2 hapter 3 equential Logic ome efinitions r. Tim McGuire am Houston tate University ased on notes by Miles Murdocca ombinational logic: a digital

More information

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering Sri Vidya College of Engineering And Technology Virudhunagar 626 005 Department of Electrical and Electronics Engineering Year/ Semester/ Class : II/ III/ EEE Academic Year: 2017-2018 Subject Code/ Name:

More information

Combinational / Sequential Logic

Combinational / Sequential Logic Digital Circuit Design and Language Combinational / Sequential Logic Chang, Ik Joon Kyunghee University Combinational Logic + The outputs are determined by the present inputs + Consist of input/output

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

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 8 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter

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

Last time, we saw how latches can be used as memory in a circuit

Last time, we saw how latches can be used as memory in a circuit Flip-Flops Last time, we saw how latches can be used as memory in a circuit Latches introduce new problems: We need to know when to enable a latch We also need to quickly disable a latch In other words,

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

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

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

Module -5 Sequential Logic Design

Module -5 Sequential Logic Design Module -5 Sequential Logic Design 5.1. Motivation: In digital circuit theory, sequential logic is a type of logic circuit whose output depends not only on the present value of its input signals but on

More information

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers) L4: Sequential Building Blocks (Flip-flops, Latches and Registers) Acknowledgements: Lecture material adapted from R. Katz, G. Borriello, Contemporary Logic esign (second edition), Prentice-Hall/Pearson

More information

Logic Design ( Part 3) Sequential Logic (Chapter 3)

Logic Design ( Part 3) Sequential Logic (Chapter 3) o Far: Combinational Logic Logic esign ( Part ) equential Logic (Chapter ) Based on slides McGraw-Hill Additional material 24/25/26 Lewis/Martin Additional material 28 oth Additional material 2 Taylor

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

CS T34-DIGITAL SYSTEM DESIGN Y2/S3

CS T34-DIGITAL SYSTEM DESIGN Y2/S3 UNIT III Sequential Logic: Latches versus Flip Flops SR, D, JK, Master Slave Flip Flops Excitation table Conversion of Flip flops Counters: Asynchronous, synchronous, decade, presettable Shift Registers:

More information

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q hapter 9 ounters 9. Introduction ounters are devices which have a LOK input and produce n outputs. ounters consist of flip-flops connected together in specific ways such that on each clock edge the output

More information

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

The word digital implies information in computers is represented by variables that take a limited number of discrete values. Class Overview Cover hardware operation of digital computers. First, consider the various digital components used in the organization and design. Second, go through the necessary steps to design a basic

More information

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University Registers & ounters Logic and igital System esign - S 33 Erkay Savaş Sabanci University Registers Registers like counters are clocked sequential circuits A register is a group of flip-flops Each flip-flop

More information

Sequential Logic and Clocked Circuits

Sequential Logic and Clocked Circuits 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

More information

Learning Outcomes. Unit 13. Sequential Logic BISTABLES, LATCHES, AND FLIP- FLOPS. I understand the difference between levelsensitive

Learning Outcomes. Unit 13. Sequential Logic BISTABLES, LATCHES, AND FLIP- FLOPS. I understand the difference between levelsensitive 1.1 1. Learning Outcomes Unit 1 I understand the difference between levelsensitive and edge-sensitive I understand how to create an edge-triggered FF from latches Sequential Logic onstructs 1. 1.4 Sequential

More information

Fundamentals of Computer Systems

Fundamentals of Computer Systems Fundamentals of omputer Systems Sequential Logic Martha A. Kim olumbia University Spring 2016 1/1 2/1 Bistable Elements Equivalent circuits; right is more traditional. Two stable states: 0 1 1 0 3/1 S

More information

Momentary Changes in Outputs. State Machine Signaling. Oscillatory Behavior. Hazards/Glitches. Types of Hazards. Static Hazards

Momentary Changes in Outputs. State Machine Signaling. Oscillatory Behavior. Hazards/Glitches. Types of Hazards. Static Hazards State Machine Signaling Momentary hanges in Outputs Timing ehavior Glitches/hazards and how to avoid them SM Partitioning What to do when the state machine doesn t fit! State Machine Signaling State Machine

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

Sequential Circuit Design: Part 1

Sequential Circuit Design: Part 1 Sequential ircuit esign: Part 1 esign of memory elements Static latches Pseudo-static latches ynamic latches Timing parameters Two-phase clocking locked inverters Krish hakrabarty 1 Sequential Logic FFs

More information

UNIT 1 NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES 1. Briefly explain the stream lined method of converting binary to decimal number with example. 2. Give the Gray code for the binary number (111) 2. 3.

More information

Part 4: Introduction to Sequential Logic. Basic Sequential structure. Positive-edge-triggered D flip-flop. Flip-flops classified by inputs

Part 4: Introduction to Sequential Logic. Basic Sequential structure. Positive-edge-triggered D flip-flop. Flip-flops classified by inputs Part 4: Introduction to Sequential Logic Basic Sequential structure There are two kinds of components in a sequential circuit: () combinational blocks (2) storage elements Combinational blocks provide

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

ASYNCHRONOUS SEQUENTIAL CIRCUIT CONCEPTS

ASYNCHRONOUS SEQUENTIAL CIRCUIT CONCEPTS ASYNHRONOUS SEQUENTIAL IRUIT ONEPTS Synchronous ircuit Asynchronous ircuit (a) Synchronous to Asynchronous Asynchronous ircuit Asynchronous Signals Synchronous ircuit (b) Asynchronous to Synchronous Synchronous

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

Week 4: Sequential Circuits

Week 4: Sequential Circuits Week 4: equential ircuits omething to consider omputer specs use terms like 8 GB of AM and 2.2GHz processors. ú What do these terms mean? AM = andom Access Memory; 8GB = 8 billion ints 2.2 GHz = 2.2 billion

More information