Synchronous Digital Logic Systems. Review of Digital Logic. Philosophy. Combinational Logic. A Full Adder. Combinational Logic

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

ECE321 Electronics I

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Fundamentals of Computer Systems

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

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

Sequential Circuit Design: Part 1

ECEN454 Digital Integrated Circuit Design. Sequential Circuits. Sequencing. Output depends on current inputs

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

6. Sequential Logic Flip-Flops

Combinational vs Sequential

Problems with D-Latch

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

Fundamentals of Computer Systems

Clocking Spring /18/05

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

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

CPS311 Lecture: Sequential Circuits

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Overview of Chapter 4

COMP2611: Computer Organization. Introduction to Digital Logic

Lecture 11: Sequential Circuit Design

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

Engr354: Digital Logic Circuits

Digital Phase Adjustment Scheme 0 6/3/98, Chaney. A Digital Phase Adjustment Circuit for ATM and ATM- like Data Formats. by Thomas J.

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Sequential Circuit Design: Part 1

Chapter 5 Sequential Circuits

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

EE 367 Lab Part 1: Sequential Logic

First Name Last Name November 10, 2009 CS-343 Exam 2

Notes on Digital Circuits

2.6 Reset Design Strategy

Keeping The Clock Pure. Making The Impurities Digestible

Chapter 6 Sequential Circuits

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

Supplement 3 Asynchronous Sequential Circuit Concepts

Chapter 5 Sequential Circuits

Memory, Latches, & Registers

Logic Design. Flip Flops, Registers and Counters

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

Chapter 5 Sequential Systems. Introduction

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

Chapter 5 Flip-Flops and Related Devices

Chapter 3 Unit Combinational

Chapter 11 Latches and Flip-Flops

CPE/EE 427, CPE 527 VLSI Design I Sequential Circuits. Sequencing

Lecture 8: Sequential Logic

Registers, Register Transfers and Counters Dr. Fethullah Karabiber

Introduction to Sequential Circuits

Notes on Digital Circuits

CS8803: Advanced Digital Design for Embedded Hardware

Agenda. EE 260: Introduction to Digital Design Counters and Registers. Asynchronous (Ripple) Counters. Asynchronous (Ripple) Counters

ASYNCHRONOUS SEQUENTIAL CIRCUIT CONCEPTS

Fundamentals of Computer Systems

CprE 281: Digital Logic

CS8803: Advanced Digital Design for Embedded Hardware

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

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.

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.

EE 447/547 VLSI Design. Lecture 9: Sequential Circuits. VLSI Design EE 447/547 Sequential circuits 1

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

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

D Latch (Transparent Latch)

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

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

Sequential Design Basics

Logic Design IS1200, spring 2015 Review Slides

Outline. CPE/EE 422/522 Advanced Logic Design L03. Review: Clocked D Flip-Flop with Rising-edge Trigger. Sequential Networks

P U Q Q*

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

1. What does the signal for a static-zero hazard look like?

1. Convert the decimal number to binary, octal, and hexadecimal.

Lecture 10: Sequential Circuits

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

Outline. EECS150 - Digital Design Lecture 27 - Asynchronous Sequential Circuits. Cross-coupled NOR gates. Asynchronous State Transition Diagram

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

EECS 270 Group Homework 4 Due Friday. June half credit if turned in by June

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

CprE 281: Digital Logic

THE UNIVERSITY OF TRINIDAD & TOBAGO

Field Programmable Gate Arrays (FPGAs)

12/31/2010. Overview. 12-Latches and Flip Flops Text: Unit 11. Sequential Circuits. Sequential Circuits. Feedback. Feedback

Note that none of the above MAY be a VALID ANSWER.

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

BUSES IN COMPUTER ARCHITECTURE

Digital Fundamentals

CMOS Latches and Flip-Flops

CprE 281: Digital Logic

Chapter 2. Digital Circuits

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

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Computer Systems Architecture

Review of digital electronics. Storage units Sequential circuits Counters Shifters

ECE 545 Digital System Design with VHDL Lecture 2. Digital Logic Refresher Part B Sequential Logic Building Blocks

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

LFSR Counter Implementation in CMOS VLSI

Chapter 7 Sequential Circuits

Sequential logic circuits

Transcription:

Synchronous igital Logic Systems Review of igital Logic Prof. Stephen. Edwards Raw materials: MOS transistors and wires on Is Wires are excellent conveyors of voltage Little leakage Fast, but not instantaneous propagation Many orders of magnitude more conductive than glass MOS transistors are reasonable switches Finite, mostly-predictable switching times Nonlinear transfer characteristics Voltage gain is in the 100s Philosophy Have to deal with unpredictable voltages and unpredictable delays ombinational Logic igital: discretize values to avoid voltage noise Only use two values Voltages near these two are snapped to remove noise Synchronous: discretize time to avoid time noise Use a global, periodic clock Values that become valid before the clock are ignored until the clock arrives ombinational Logic oolean Logic Gates Full dder Typical example of building a more complex function Inverter Y 0 1 1 0 N Y 01 0 10 0 11 1 OR Y 01 1 10 1 11 1 XOR Y 01 1 10 1 11 0 in out S 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 in S out 1

Most asic omputational Model Every gate is continuously looking at its inputs and instantaneously setting its outputs accordingly Values are communicated instantly from gate outputs to inputs ll three switch at exactly the same time elays Real implementations are not quite so perfect omputation actually takes some time ommunication actually takes some time elays elays are often partially unpredictable Usually modeled with a minimum and maximum usses Wires sometimes used as shared communication medium Think party-line telephone us drivers may elect to set the value on a wire or let some other driver set that value Electrically disastrous if two drivers fight over the value on the bus Implementing usses asic trick is to use a tri-state driver ata input and output enable OE Q Shared bus When driver wants to send values on the bus, OE = 1 and contains the data When driver wants to listen and let some other driver set the value, OE = 0 and Q returns the value Four-Valued Simulation Wires in digital logic often modeled with four values 0, 1, X, Z X represents an unknown state State of a latch or flip-flop when circuit powers up Result of two gates trying to drive wire to 0 and 1 simultaneously Output of flip-flop when setup or hold time violated Output of a gate reading an X or Z Z represents an undriven state Value on a shared bus when no driver is outputenabled 2

Sequential Logic Sequential Logic and Timing Simply computing functions usually not enough Want more time-varying behavior ommon model: combinational logic with stateholding elements Inputs ombinational logic Outputs lock Input State-holding elements State Machines ommon use of state-holding elements Idea: machine may go to a new state in each cycle Output and next state dependent on present state E.g., a four-counter / 0 / 1 / 1 / 0 / 2 / 3 / 3 / 2 Latches & Flip-Flops Two common types of state-holding elements Latch Level-sensitive Transparent when clock is high Holds last value when clock is low heap to implement Somewhat unwieldy to design with Flip-flop Edge-sensitive lways holds value New value sampled when clock transitions from 0 to 1 More costly to implement Much easier to design with Latches & Flip-Flops Timing diagrams for the two common types: Q Latch lk lk RMs nother type of state-holding element ddressable memory Good for storing data like a von Neumann program ata In ata Out ddress Flip- Flop Q Read Write 3

RMs Write cycle Present ddress, data to be written Raise and lower write input Read cycle Present ddress Raise read ontents of address appears on data out ata In ddress Read Write ata Out Setup & Hold Times Flip-flops and latches have two types of timing requirements: Setup time input must be stable some time before the clock arrives Hold time input must remain stable some time after the clock has arrived Setup & Hold Times For a flip-flop (edge-sensitive) Synchronous System Timing udgeting time in a typical synchronous design Setup time: must not change here Hold time: must not change here lock period lk lock skew lk to delay Slowest logical path Setup Time lock skew Typical System rchitecture igital Systems Most large digital systems consist of atapath rithmetic units (adders, multipliers) ata-steering (multiplexers) Memory Places to store data across clock cycles Memories, register files, etc. ontrol Interacting finite state machines irect how the data moves through the datapath 4

Typical System rchitecture Implementing igital Logic Primitive datapath plus controller ontroller Operation Result Latch Latch ddr. Registers Reg. Shared us Memory Read/Write iscrete logic chips NN gates four to a chip and wire them up (e.g., TTL) Programmable Logic rrays (PLs) Program a chip containing Ns feeding big OR gates Field-Programmable Gate rrays (FPGs) Program lookup tables and wiring routes pplication-specific Integrated ircuit (SIs) Feed a logic netlist to a synthesis system Generate masks and hire someone to build the chip Full-custom esign raw every single wire and transistor yourself Hire someone to fabricate the chip or be Intel Implementing igital Logic iscrete logic is dead Too many chips needed compared to other solutions PLs Nice predicable timing, but small and limited FPGs High levels of integration, very convenient Higher power and per-unit cost than SIs and custom SIs Very high levels of integration, costly to design Low power, low per-unit cost, but huge initial cost Full ustom Only cost-effective for very high-volume parts E.g., Intel microprocessors igital Logic in Embedded Systems Low-volume products (1000s or less) typically use FPGs High-volume products usually use SIs Non-custom logic usually implemented using application-specific standard parts hipsets Graphics controllers PI bus controllers US controllers Ethernet interfaces 5