Digital Techniques Fall 2007 André Deutz, Leiden University

Slides:



Advertisements
Similar presentations
Lab 08: SR Flip Flop Fundamentals:
Advertisements

Digital Logical Structures
Registers Computer Organization I 1 September 2009 © McQuain, Feng & Ribbens A clock is a free-running signal with a cycle time. A clock may.
The scale of IC design Small-scale integrated, SSI: gate number usually less than 10 in a IC. Medium-scale integrated, MSI: gate number ~10-100, can operate.
Flip-Flops and Registers
Chapter 4: Combinational Logic
Practical Considerations for Digital Design
©2004 Brooks/Cole FIGURES FOR CHAPTER 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Multivibrators and the 555 Timer
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.
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Give qualifications of instructors: DAP
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
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.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
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.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
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.
1 Lecture 20 Sequential Circuits: Latches. 2 Overview °Circuits require memory to store intermediate data °Sequential circuits use a periodic signal to.
Circuits require memory to store intermediate data
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
ECE 3130 – Digital Electronics and Design Lab 5 Latches and Flip-Flops Fall 2012 Allan Guan.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
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.
COE 202: Digital Logic Design Sequential Circuits Part 1
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
SEQUENTIAL LOGIC By Tom Fitch. Types of Circuits Combinational: Gates Combinational: Gates Sequential: Flip-Flops Sequential: Flip-Flops.
LECTURE IX CH 5 LATCHES AND FLIP-FLOPS. Sequential logic circuits by definition progressive from one logic state to the next. In order for this to occur,
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
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Lab 08: SR Flip Flop Fundamentals:
LATCHED, FLIP-FLOPS,AND TIMERS
ECE 3130 – Digital Electronics and Design
Flip Flops.
Digital Design Lecture 9
Flip-Flop.
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential Circuits: Latches
LECTURE 15 – DIGITAL ELECTRONICS
Sequential Circuits: Latches
Elec 2607 Digital Switching Circuits
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Sequential Circuits: Latches
1) Latched, initial state Q =1
FLIP-FLOPS.
Flip-Flops.
Lecture 19 Logistics Last lecture Today
SEQUENTIAL CIRCUITS __________________________________________________
Sequential Digital Circuits
Presentation transcript:

Digital Techniques Fall 2007 André Deutz, Leiden University Sequential Circuits Prelim on delays and performance Sequential circuits CLU with feedback loops Bi-stable (aka S-R flip-flop) Next time: Application of flip-flops Clocked flip-flops, clocked D-flip-flops Level-triggered, edge-triggered, master-slave flip-flops Digital Techniques Fall 2007 André Deutz, Leiden University

The Inverter at the Transistor Level ( a ) b c d A B s e E m i t r C o l G N D = V + 5 4 . 3 2 1 6 8 n – I p u v g O R L W Power terminals Transistor symbol A transistor used as an inverter Inverter transfer function (Compare to our relay implementation of the inverter.)

Assignments of Logical 0 and Logical 1 to Voltage Ranges + 5 V + 5 V L o g i c a l 1 L o g i c a l 1 2 . 4 V 2 . V F o r b i d d e n r a n g e F o r b i d d e n r a n g e . 8 V . 4 V L o g i c a l V V L o g i c a l (a) At the output of a logic gate (b) At the input to a logic gate

Assignments of Logical 0 and Logical 1 to Voltage Ranges + 5 V + 5 V L o g i c a l 1 L o g i c a l 1 2 . 4 V 2 . V F o r b i d d e n r a n g e F o r b i d d e n r a n g e . 8 V . 4 V L o g i c a l V V L o g i c a l (a) At the output of a logic gate (b) At the input to a logic gate

Speed and Performance The speed of a digital system is governed by the propagation delay through the logic gates and the propagation across interconnections.

Propagation Delay for a NOT Gate Transition Time + 5 V The NOT Output changes From 1 to 0 (Fall time) 1 % 5 % ( 2 . 5 V ) 9 % V Propagation Delay (Latency) Transition Time + 5 V The NOT Output changes From 0 to 1 (Rise time) 9 % 5 % ( 2 . 5 V ) 1 % V Time

Digital Techniques Fall 2007 André Deutz, Leiden University If you don’t believe in delays: think again (“nothing” is instantaneous) Switches in series => AND Input 1 Input 2 Current / no current Digital Techniques Fall 2007 André Deutz, Leiden University

Sequential Logic The combinational logic circuits we have been studying so far have no memory. The outputs always follow the inputs. There is a need for circuits with a memory, which behave differently depending upon their previous state. An example is the vending machine, which must remember how many and what kinds of coins have been inserted, and which behave according to not only the current coin inserted, but also upon how many and what kind of coins have been deposited previously. These are referred to as finite state machines, because they can have at most a finite number of states.

Classical Model of a Finite State Machine k S y n c h r z a t s g l f e b m C u Q D ( p ) I O . . . . . . . . . . . . . . .

Feedback paths in a logic circuit Y X Y X Z Digital Techniques Fall 2007 André Deutz, Leiden University

Feedback paths in a logic circuit Q A B F 1 1 1 1 1 1 A F = A + B B NOR

S-R flip-flop (aka bi-stable) In which state can the S-R flip-flop be? S=0 & R=0 Q=0, Q` = 0 ? Q=0, Q` = 1 ? Q=1, Q` = 0 ? Q=1 , Q` =1 ? S=0 & R=1 Digital Techniques Fall 2007 André Deutz, Leiden University

S-R flip-flop (aka bi-stable) In which state can the S-R flip-flop be? S=1 & R=0 (use symmetry) Q=0, Q` = 0 ? Q=0, Q` = 1 ? Q=1, Q` = 0 ? Q=1 , Q` =1 ? S=1 & R=1 Digital Techniques Fall 2007 André Deutz, Leiden University Digital Techniques Fall 2007 André Deutz, Leiden University

S-R flip-flop (aka bi-stable) S and R are predominantly 0 Summary: When setting S to 1 momentarily, the latch ends up in state Q=1, regardless of the previous state; when S drops back to 0 state will stay Q=1. Likewise, setting R to 1 momentarily forces the latch to Q=0. (When R=S=0, then Q=1 or Q=0 (both are stable) – if you never allow R=S=1, then Q=1 in case S was the most recent input set to 1; otherwise R was the most recent input set to 1. Thus S-R is a rudimentary 1-bit memory S == set; R == reset (aka clear) We have tacitly assumed that the NOR gate has delays! State S=R=1 and Q=Q’=0 is stable – one of the troubles with this is that we cannot predict anymore what happens when S and R return to 0. Digital Techniques Fall 2007 André Deutz, Leiden University

A NOR Gate with a Lumped Delay B 1 D t + Timing behavior This delay between input and output is at the basis of the functioning the flip-flop (= important memory element)

An S-R Flip-Flop (a bi-stable) Q R T i m n g b e h a v o r 2 D t + 1 ( d s l w ) The S-R flip-flop is an active-high (positive logic) device.

Digital Techniques Fall 2007 André Deutz, Leiden University

Converting a NOR S-R to an NAND S-R Active-high NOR Implementation Push bubbles (DeMorgan’s) Rearrange bubbles Convert from bubbles to active-low signal names

A Circuit with a Hazard It is desirable to be able to “turn off” Q R T i m n g b e h a v o r 2 D t G l c u s d y z It is desirable to be able to “turn off” the flip-flop so it does not respond to such hazards.

A Clock Waveform In a positive logic system, the “action” happens when the clock is high, or positive. The low part of the clock cycle allows propagation between subcircuits, so their inputs are stable at the correct value when the clock next goes high.

A Clocked S-R Flip-Flop Q R T i m n g b e h a v o r 3 D t 2 The clock signal, CLK, turns on the inputs to the flip-flop.

A Clocked D (Data) Flip-Flop S y m b o l Q i r c u t T n g e h a v 2