CP208 Digital Electronics Class Lecture 11 May 13, 2009.

Slides:



Advertisements
Similar presentations
Sequential Logic ENEL 111. Sequential Logic Circuits So far we have only considered circuits where the output is purely a function of the inputs With.
Advertisements

Give qualifications of instructors: DAP
COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
Sequential Logic Building Blocks – Flip-flops
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Sequential circuits Part 1: flip flops All illustrations  , Jones & Bartlett Publishers LLC, (
Digital Logic Design ESGD2201
1 Fundamentals of Computer Science Sequential Circuits.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Sequential circuits The digital circuits considered thus far have been combinational, where the outputs are entirely dependent on the current inputs. Although.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
C H A P T E R 15 Memory Circuits
1 Lecture 20 Sequential Circuits: Latches. 2 Overview °Circuits require memory to store intermediate data °Sequential circuits use a periodic signal to.
ECE 3130 – Digital Electronics and Design Lab 5 Latches and Flip-Flops Fall 2012 Allan Guan.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Topic 9 MOS Memory and Storage Circuits
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
Lecture 4: Computer Memory
Memory and Advanced Digital Circuits 1.
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
TIMERS.
PHY 201 (Blum)1 Other types of flip-flops and counting See Chapter 9 and 10 in Digital principles (Tokheim)
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Digital Electronics and Computer Interfacing Tim Mewes 3. Digital Electronics.
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
COE 202: Digital Logic Design Sequential Circuits Part 1
Flip Flop
PHY 201 (Blum)1 Transistor Odds and Ends. PHY 201 (Blum)2 RTL NOR.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Digital Integrated Circuits for Communication
Sp09 CMPEN 411 L18 S.1 CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 16: Static Sequential Circuits [Adapted from Rabaey’s Digital Integrated Circuits,
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EKT 121 / 4 ELEKTRONIK DIGIT I
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Chapter5: Synchronous Sequential Logic – Part 1
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. The S-R (Set-Reset) latch is the most basic.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Latches, Flip Flops, and Memory ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin – Madison.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
7. Latches and Flip-Flops Digital Computer Logic.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Digital Integrated Circuits A Design Perspective
Flip Flops.
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
Sequential Logic and Flip Flops
Flip Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Chapter 11 Sequential Circuits.
LECTURE 15 – DIGITAL ELECTRONICS
Sequential Logic and Flip Flops
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Flip-Flops.
Week 11 Flip flop & Latches.
Flip Flops.
Presentation transcript:

CP208 Digital Electronics Class Lecture 11 May 13, 2009

In This Class We Will Discuss: Chapter 11: Memory and Advanced Digital Circuits

3 Memory and Advanced Digital Circuits

Introduction Chapter 10 was about Combinational logic circuits – output of which depends on the present value of the input, that is NO MEMORY Memory is very important part of digital systems Memory in digital computers allows for storing programs and data Also, it is important for temporary storage of the output produced by combinational circuit for use at later time in the operation of a digital system Logic circuits that incorporate memory are called sequential circuits

Introduction Sequential circuits have output that depends not only on the present value of input but also on the input’s previous value. Such circuits require a timing generator for their operation

Introduction How Does It Work … In first approach application of positive feedback provides a circuit with two stable states. Bistable circuit then stores a BIT of information: One state correspond to stored 0 and the other to stored 1 Bistable circuit can remain in either state indefinitely and hence named as Static Sequential Circuit

Introduction In second approach charge on capacitor is used to realize memory. –Charged capacitor corresponds to stored 1 and –Discharged capacitor corresponds to stored 0. –Because leakage effects cause capacitor to discharge, this form requires periodic recharging of capacitor or Refresh. These circuit are named as Dynamic Sequential Circuit

11.1 Latches and Flip-Flops Latch is the Basic Memory Element, we shall consider a sampling of its application Latch consists of two Cross-coupled Logic Inverters Inverters form a Positive-feedback Loop The Latch

Three Operating Points A, B, and C. Two Stable Operating Points, A and C. At C: v W = v Z is High, v X = v Y is Low. At A: Reverse is True.

Now, X and Z are Latch Out Puts. In State A: v X is High (V OH ) and v Z is Low (V OL ). In State C: v X is Low (V OL ) and v Z is High (V OH ). Thus, Latch is Bistable Ckt having Two Complementary Outputs

The Stable State in which Latch Operates depends on the External Excitation that Forces it into. The latch then Memorizes this External Action by Staying in the Acquired State Indefinitely (Static Memory). Latch is capable of Storing One Bit of Information, e.g., we can designate State A corresponding to Logic 1. The other complementary State C would be Logic 0. What is the mechanism by which Latch can be Triggered to Change State?

Latch with a Triggering Mechanism/Circuitry forms a … … Flip – Flop Simplest Flip-Flop is Set/Reset (SR) Flip- Flop… … NEXT

The SR Flip-Flop Simple type of Flip-Flop is Set/Reset (SR) It is formed by cross coupling two NOR gates and thus Incorporates Latch

Second Input of each NOR Gate Labeled as S and R serve as Trigger Outputs emphasize their Complementarity. Set State (Storing 1): When Reset State (Storing 0): Opposite of Set Rest or Memory State (when we do not wish to change state of Flip-Flop) : Both S and R inputs Low

Consider the Case When Flip-Flop is Storing Logic 0 Since Q is low, Both inputs to G 2 will be Low and its Output will therefore be High. High Output of G 2 is applied to Input of G 1, causing its Output Q to be Low (since R is Low), satisfying the Original Assumption.

To Set Flip-Flop [To Store Logic 1] Raise S to Logic-1 Level While Leave R at 0. Output of G 2 to 0 or Low. Two Inputs of G 1 will be 0 or Low, causing its Output Q to be 1 or High. Now, if S returns to 0 Flip-Flop remains Set. Raising S to 1 again will make No Change.

To Reset Flip-Flop [To Store Logic 0] Raise R to Logic-1 Level While Leave S at 0. SHOW… The Flip-Flop will be Forced to Reset State and will remain in This State even after R returns to 0. Raising R to 1 again will make No Change. Note that the Trigger Signal Merely Starts Regenerative Action of the Positive-Feedback Loop of the Latch

What Happens When S=R=1 ??? Both NOR Gates will cause to become 0 making Complementary labeling Incorrect. However, if R and S return to Rest State (R=S=0) precisely at the same time, the state of Flip-Flop will be undefined. For this reason this input Combination is Not Allowed. In Practice one of the R and S returns to 0 first, and the Final State is determined by the input that Remains High Longest.

Truth Table : Q n is Value of Q at Time t n just before application of R and S Signals. Q n+1 is Value of Q at time t n+1 after application of input Signals. SR Flip-Flop can also be implemented using two NAND gates. In this case Set Reset Functions are active when Low, therefore labeled as

CMOS Implementation of SR Flip-Flop SR Flip-Flop can be directly implemented in CMOS by just replacing each NOR gate by its CMOS circuit realization

Clocked version of SR Flip-Flop using CMOS. Except Clock Inputs, It operates exactly same as the Logic Circuit scheme.

Clock inputs form AND Function with S and R, therefore, Flip-flop can only be Set and Resent when Clock is High.

To Set from Reset State: High (V DD ) Signal on S while R is Held at Low (0V). Now, When Clock Goes High both Q 5 and Q 6 will conduct, Pulling Voltage at Down. When V goes below threshold of (Q 3,Q 4 ) Inverter, It will begin switching states and V at Q node will Rise. The Increase at Q is Fed Back to the Input of (Q 1, Q 2 ) Inverter, causing its Output at to go down further. The regeneration process is in progress.

Flip-Flop switching (for Set) is predicted on following two assumptions: 1. Q 5 and Q 6 supply sufficient current to pull node Q at least slightly below threshold of (Q 3 and Q 4 ) inverter. This is very important for the regenerative process to begin. Example 11.1 investigates minimum W/L ratios so that Q 5 and Q 6 must meet this requirement.

2. The Set signal remains high for an interval long enough to cause regeneration to take over the switching process. An estimate of minimum width required for the set pulse can be obtained as the Sum of Interval during which voltage at is reduced from V DD to V DD /2 and the interval for the voltage at Q to respond and rise to V DD /2 Finally, due to symmetry all remarks apply equally well to Reset process. Example 11.1

Simpler CMOS Implement- ation of clocked SR Flip-Flop In simple implementation, Pass-Transistor Logic is employed to implement the Clocked SR Flip- Flop This ckt is very popular in the design of Static Random-Access Memory (SRAM) chips, where it is used as the Basic Memory Cell

In Next Class We Will Discuss: RAM and ROM Memories