2018/8/29 EE 4271 VLSI Design, Fall 2013 Sequential Circuits.

Slides:



Advertisements
Similar presentations
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Sequential Circuits.
Advertisements

Give qualifications of instructors: DAP
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Computer Architecture CS 215
Sequential Circuits. 2 ياداوري  آموزش تکنيک هاي طراحي و پياده سازي سيستم هاي پيچيده: سيستم:  داراي ورودي ها، خروجي ها و رفتار مشخصي است −اين رفتار توسط.
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.
Overview Part 1 - Storage Elements and Analysis
CPEN Digital System Design Chapter 5 Sequential Circuits Storage Elements and Sequential Circuit Analysis C. Gerousis © Logic and Computer Design.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Logic and Computer.
Circuits require memory to store intermediate data
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
INTRODUCTION TO SEQUENCIAL CIRCUIT
1 Lecture 23 More Sequential Circuits Analysis. 2 Analysis of Combinational Vs. Sequential Circuits °Combinational : Boolean Equations Truth Table Output.
Latches Section 4-2 Mano & Kime. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 1 – Storage.
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
EE 4271 VLSI Design, Fall 2010 Sequential Circuits.
Sequential Circuit Analysis. 2 Synchronous vs. Asynch. Synchronous sequential circuit:  The behavior can be defined from knowledge of its signal at discrete.
Sequential Circuit Analysis. 2 Synchronous vs. Asynch. Synchronous sequential circuit:  the behavior can be defined from knowledge of its signal at discrete.
So far, all of the logic circuits we have studied were basically based on the analysis and design of combinational digital circuits. The other major aspect.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Synchronous Sequential Logic Chapter 5. Digital Circuits Sequential Circuits Combinational circuits contains no memory elements the outputs depends.
Chap 4. Sequential Circuits
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Synchronous Sequential Logic Part I
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
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.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 13 Edge-Triggered FF Operation.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
2018/5/2 EE 4271 VLSI Design, Fall 2016 Sequential Circuits.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Flip Flops.
4.
Lecture 8 Dr. Nermi Hamza.
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Synchronous Sequential Circuits
EKT 121 / 4 DIGITAL ELECTRONICS I
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
Assistant Prof. Fareena Saqib Florida Institute of Technology
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential logic circuits
LECTURE 15 – DIGITAL ELECTRONICS
Edge-Triggered FF Operation
Boolean Algebra and Digital Logic
Synchronous Sequential Circuits
EE2174: Digital Logic and Lab
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Chapter 5 – Sequential Circuits
Sequential Circuit Analysis & Design
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Flip-Flops.
Sequential Circuits UNIT- IV
Chapter 5 Sequential Circuits.
SEQUENTIAL CIRCUITS __________________________________________________
2019/9/26 EE 4271 VLSI Design, Fall 2012 Sequential Circuits.
Presentation transcript:

2018/8/29 EE 4271 VLSI Design, Fall 2013 Sequential Circuits

Combinational Logic Combinational Logic: 2018/8/29 Combinational Logic Combinational Logic: Output depends only on current input Has no memory 2018/8/29 Sequential Circuits

Sequential Logic Sequential Logic: 2018/8/29 Sequential Logic Sequential Logic: Output depends not only on current input but also on past input values, e.g., design a counter Need some type of memory to remember the past input values 2018/8/29 Sequential Circuits

Sequential Circuits Circuits that we Information Storing have learned 2018/8/29 Sequential Circuits Circuits that we have learned so far Information Storing Circuits Timed “States” 2018/8/29 Sequential Circuits

Sequential Logic: Concept 2018/8/29 Sequential Logic: Concept Sequential Logic circuits remember past inputs and past circuit state. Outputs from the system are “fed back” as new inputs With gate delay and wire delay The storage elements are circuits that are capable of storing binary information: memory. 2018/8/29 Sequential Circuits

Synchronous vs. Asynchronous 2018/8/29 Synchronous vs. Asynchronous There are two types of sequential circuits: Synchronous sequential circuit: circuit output changes only at some discrete instants of time. This type of circuits achieves synchronization by using a timing signal called the clock. Asynchronous sequential circuit: circuit output can change at any time (clockless). 2018/8/29 Sequential Circuits

Synchronous Sequential Circuits: Flip flops as state memory 2018/8/29 Synchronous Sequential Circuits: Flip flops as state memory The flip-flops receive their inputs from the combinational circuit and also from a clock signal with pulses that occur at fixed intervals of time, as shown in the timing diagram. 2018/8/29 Sequential Circuits

Combinational Circuit Clock Period FF FF Combinational Circuit FF Smallest clock period = largest combinational circuit delay between any two directly connected FF, subjected to impact of FF setup time. 2018/8/29 Sequential Circuits

SR Latch (NAND version) 2018/8/29 SR Latch (NAND version) S’ R’ Q Q’ S’ 1 Q 0 0 0 1 1 0 1 1 1 0 Set Q’ 1 R’ X Y NAND 0 0 1 0 1 1 1 0 1 1 1 0 2018/8/29 Sequential Circuits

SR Latch (NAND version) 2018/8/29 SR Latch (NAND version) S’ R’ Q Q’ 1 S’ 1 Q 0 0 0 1 1 0 1 1 1 0 Set Q’ 1 R’ 1 0 Hold X Y NAND 0 0 1 0 1 1 1 0 1 1 1 0 2018/8/29 Sequential Circuits

SR Latch (NAND version) 2018/8/29 SR Latch (NAND version) S’ R’ Q Q’ 1 S’ Q 0 0 0 1 1 0 1 1 1 0 Set 0 1 Reset 1 Q’ R’ 1 0 Hold X Y NAND 0 0 1 0 1 1 1 0 1 1 1 0 2018/8/29 Sequential Circuits

SR Latch (NAND version) 2018/8/29 SR Latch (NAND version) S’ R’ Q Q’ 1 S’ Q 0 0 0 1 1 0 1 1 1 0 Set 0 1 Reset 1 Q’ 1 R’ 1 0 Hold 0 1 Hold X Y NAND 0 0 1 0 1 1 1 0 1 1 1 0 2018/8/29 Sequential Circuits

SR Latch (NAND version) 2018/8/29 SR Latch (NAND version) S’ R’ Q Q’ S’ 1 Q 1 1 Disallowed 0 0 0 1 1 0 1 1 1 0 Set 0 1 Reset 1 Q’ R’ 1 0 Hold 0 1 Hold X Y NAND 0 0 1 0 1 1 1 0 1 1 1 0 2018/8/29 Sequential Circuits

SR Latch with Clock signal 2018/8/29 SR Latch with Clock signal Latch is sensitive to input changes ONLY when C=1 2018/8/29 Sequential Circuits

2018/8/29 D Latch One way to eliminate the undesirable indeterminate state in the RS flip flop is to ensure that inputs S and R are never 1 simultaneously. This is done in the D latch: 2018/8/29 Sequential Circuits

D Latch with Transmission Gates 2018/8/29 D Latch with Transmission Gates 1 2 C=1  TG1 closes and TG2 opens  Q’=D’ and Q=D C=0  TG1 opens and TG2 closes  Hold Q and Q’ 2018/8/29 Sequential Circuits

2018/8/29 Flip-Flops Latches are “transparent” (= any change on the inputs is seen at the outputs immediately when C=1). This causes synchronization problems. Solution: use latches to create flip-flops that can respond (update) only on specific times (instead of any time). Types: RS flip-flop and D flip-flop 2018/8/29 Sequential Circuits

Master-Slave FF configuration using SR latches 2018/8/29 Master-Slave FF configuration using SR latches 2018/8/29 Sequential Circuits

Master-Slave FF configuration using SR latches (cont.) 2018/8/29 Master-Slave FF configuration using SR latches (cont.) S R CLK Q Q’ When C=1, master is enabled and stores new data, slave stores old data. When C=0, master’s state passes to enabled slave, master not sensitive to new data (disabled). 0 0 1 Q0 Q0’ Store 0 1 1 0 1 Reset 1 0 1 1 0 Set 1 1 1 1 1 Disallowed X X 0 Q0 Q0’ Store 2018/8/29 Sequential Circuits

2018/8/29 D Flip-Flop 2018/8/29 Sequential Circuits

Characteristic Tables 2018/8/29 Characteristic Tables Defines the logical properties of a flip-flop (such as a truth table does for a logic gate). Q(t) – present state at time t Q(t+1) – next state at time t+1 2018/8/29 Sequential Circuits

Characteristic Tables (cont.) 2018/8/29 Characteristic Tables (cont.) SR Flip-Flop S R Q(t+1) Operation Q(t) No change/Hold 1 Reset Set ? Undefined/Invalid 2018/8/29 Sequential Circuits

Characteristic Tables (cont.) 2018/8/29 Characteristic Tables (cont.) D Flip-Flop D Q(t+1) Operation Set 1 Reset Characteristic Equation: Q(t+1) = D(t) 2018/8/29 Sequential Circuits

D Flip-Flop Timing Parameters 2018/8/29 D Flip-Flop Timing Parameters Setup time 2018/8/29 Sequential Circuits

Sequential Circuit Analysis 2018/8/29 Sequential Circuit Analysis Analysis: Consists of obtaining a suitable description that demonstrates the time sequence of inputs, outputs, and states. Logic diagram: Boolean gates, flip-flops (of any kind), and appropriate interconnections. The logic diagram is derived from any of the following: Boolean Equations (FF-Inputs, Outputs) State Table State Diagram 2018/8/29 Sequential Circuits

Example Input: x(t) Output: y(t) State: (A(t), B(t)) 2018/8/29 Input: x(t) Output: y(t) State: (A(t), B(t)) What is the Output Function? What is the Next State Function? x A D Q A C Q D Q B CP C Q y 2018/8/29 Sequential Circuits

Example (continued) Boolean equations for the functions: 2018/8/29 Example (continued) Boolean equations for the functions: A(t+1) = A(t)x(t) + B(t)x(t) B(t+1) = A’(t)x(t) y(t) = x’(t)(B(t) + A(t)) x D Q A C Q A’ Next State D Q B CP C Q' y Output 2018/8/29 Sequential Circuits

State Table Characteristics 2018/8/29 State Table Characteristics State table – a multiple variable table with the following four sections: Present State – the values of the state variables for each allowed state. Input – the input combinations allowed. Next-state – the value of the state at time (t+1) based on the present state and the input. Output – the value of the output as a function of the present state and (sometimes) the input. From the viewpoint of a truth table: the inputs are Input, Present State and the outputs are Output, Next State 2018/8/29 Sequential Circuits

Example: State Table Present State Input Next State Output 2018/8/29 Example: State Table The state table can be filled in using the next state and output equations: A(t+1) = A(t)x(t) + B(t)x(t) B(t+1) =A (t)x(t); y(t) =x (t)(B(t) + A(t)) Present State Input Next State Output A(t) B(t) x(t) A(t+1) B(t+1) y(t) 0 0 0 0 1 0 1 0 1 1 1 1 0 1 0 1 1 2018/8/29 Sequential Circuits

2018/8/29 State Diagrams The sequential circuit function can be represented in graphical form as a state diagram with the following components: A circle with the state name in it for each state A directed arc from the Present State to the Next State for each state transition A label on each directed arc with the Input values which causes the state transition, and A label: On each circle with the output value produced, or On each directed arc with the output value produced. 2018/8/29 Sequential Circuits

Example: State Diagram 2018/8/29 Example: State Diagram A B 0 0 0 1 1 1 1 0 x=0/y=1 x=1/y=0 x=0/y=0 Diagram gets confusing for large circuits For small circuits, usually easier to understand than the state table Type: Mealy 2018/8/29 Sequential Circuits

Summary Sequential circuit timing analysis Flip-Flop Transmission gate based flip-flop design Setup time 2018/8/29 Sequential Circuits