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

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

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

Flip-flop and Registers

Read Only Memory (ROM)

Flip-Flops and Sequential Circuit Design

Introduction to Digital Logic Missouri S&T University CPE 2210 Flip-Flops

Logic Design. Flip Flops, Registers and Counters

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

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

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

Engr354: Digital Logic Circuits

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Digital Circuits ECS 371

CHAPTER1: Digital Logic Circuits

Experiment 8 Introduction to Latches and Flip-Flops and registers

EET2411 DIGITAL ELECTRONICS

Unit 11. Latches and Flip-Flops

Lecture 8: Sequential Logic

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

LSN 12 Shift Registers

Chapter 2. Digital Circuits

Universal Asynchronous Receiver- Transmitter (UART)

Rangkaian Sekuensial. Flip-flop

Sequential Design Basics

CSE140: Components and Design Techniques for Digital Systems. More D-Flip-Flops. Tajana Simunic Rosing. Sources: TSR, Katz, Boriello & Vahid

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

CHAPTER 6 COUNTERS & REGISTERS

ECE 263 Digital Systems, Fall 2015

ELCT201: DIGITAL LOGIC DESIGN

Combinational vs Sequential

CMSC 313 Preview Slides

Other Flip-Flops. Lecture 27 1

CprE 281: Digital Logic

ELCT201: DIGITAL LOGIC DESIGN

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

ECE 3401 Lecture 11. Sequential Circuits

Introduction to Sequential Circuits

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

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

EEE2135 Digital Logic Design Chapter 6. Latches/Flip-Flops and Registers/Counters 서강대학교 전자공학과

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

D Latch (Transparent Latch)

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

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

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Synchronous Sequential Logic

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

Sequential Circuits: Latches & Flip-Flops

Registers and Counters

Registers and Counters

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Chapter 6. sequential logic design. This is the beginning of the second part of this course, sequential logic.

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

11. Sequential Elements

CprE 281: Digital Logic

ENGR 303 Introduction to Logic Design Lecture 10. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

Chapter 3 Unit Combinational

Sequential Circuit Design: Principle

Read-only memory (ROM) Digital logic: ALUs Sequential logic circuits. Don't cares. Bus

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

Sequential Logic Counters and Registers

Sequential Logic Design CS 64: Computer Organization and Design Logic Lecture #14

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

CprE 281: Digital Logic

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

Chapter 11 Latches and Flip-Flops

Counters

CprE 281: Digital Logic

Administrative issues. Sequential logic

Chapter 5 Synchronous Sequential Logic

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

L5 Sequential Circuit Design

CHAPTER 4: Logic Circuits

MC9211 Computer Organization

EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review. Announcements

Combinational / Sequential Logic

CHAPTER 4: Logic Circuits

Logic Design II (17.342) Spring Lecture Outline

COMP2611: Computer Organization. Introduction to Digital Logic

EE 109 Homework 6 State Machine Design Name: Score:

Review of digital electronics. Storage units Sequential circuits Counters Shifters

0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 1 1 Stop bits. 11-bit Serial Data format

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).

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

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

Digital Fundamentals: A Systems Approach

MODULE 3. Combinational & Sequential logic

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

CprE 281: Digital Logic

LATCHES & FLIP-FLOP. Chapter 7

hochschule fu r angewandte wissenschaften hamburg Prof. Dr. B. Schwarz FB Elektrotechnik/Informatik

ECE321 Electronics I

Chapter 7 Counters and Registers

Chapter 5 Flip-Flops and Related Devices

INC 253 Digital and electronics laboratory I

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

DIGITAL ELECTRONICS MCQs

Transcription:

ECE 545 igital System esign with VHL Lecture igital Logic Refresher Part B Sequential Logic Building Blocks

Lecture Roadmap Sequential Logic Sequential Logic Building Blocks Flip-Flops, Latches Registers, Shift Registers Counters RAM 2

Textbook References Sequential Logic Review Stephen Brown and Zvonko Vranesic, Fundamentals of igital Logic with VHL esign, 2 nd or 3 rd Edition Chapter 7 Flip-flops, Registers, Counters, and a Simple Processors (7.3-7.4, 7.8-7. only) OR your undergraduate digital logic textbook (chapters on sequential logic) 3

Sequential Logic Building Blocks some slides modified from: Brown and Vranesic, Fundamentals of igital Logic with VHL esign, 2 nd Edition S. andamudi, Fundamentals of Computer Organization and esign 4

Introduction to Sequential Logic Output depends on current as well as past inputs epends on the history Have memory property Sequential circuit consists of Combinational circuit Feedback circuit Past input is encoded into a set of state variables Uses feedback (to feed the state variables) Simple feedback Uses flip flops 5

Introduction (cont d) Main components of a typical synchronous sequential circuit (synchronous = uses a clock to keep circuits in lock step) INPUT PRESENT STATE S(t) COMBINATIONAL LOGIC STATE-HOLING ELEMENTS (i.e. FLIP-FLOPS) OUTPUT NEXT STATE S(t+) CLOCK 6

State-Holding Memory Elements Latch versus Flip Flop Latches are level-sensitive: whenever clock is high, latch is transparent Flip-flops are edge-sensitive: data passes through (i.e. data is sampled) only on a rising (or falling) edge of the clock Latches cheaper to implement than flip-flops Flip-flops are easier to design with than latches In this course, primarily use flip-flops 7

Latch vs. Flip-Flop Latch transparent when clock is high Samples on rising edge of clock 8

Flip-Flop with Asynchronous Preset and Clear (a) Circuit Preset Clear (b) Graphical symbol Bubble on the symbol means active-low When preset =, preset to When preset =, do nothing When clear =, clear to When clear =, do nothing Preset and Clear also known as Set and Reset respectively In this circuit, preset and clear are asynchronous changes immediately when preset or clear are active, regardless of clock 9

Flip-Flop with Synchronous Clear Clear Clock CLEAR (asynchronous clear) (synchronous clear) Asynchronous active-low clear: immediately clears to Synchronous active-low clear: clears to on rising-edge of clock

Register (3) (3) (2) (2) 4 4 () () () () Clock In typical nomenclature, a register is a name for a collection of flip-flops used to hold a bus

Shift Register Sin 3 2 Clk (a) Circuit Clk Sin SHIFT REGISTER t Sin 3 2 = t t 2 t 3 t 4 t 5 t 6 t 7 (b) A sample sequence 2

Parallel Access Shift Register Parallel output 3 2 clock serial_in parallel_in 4 SHIFT REGISTER 4 output shift/load Serial input Shift/Load Parallel input Clock 3

Synchronous Up Counter enable load 2 3 carry 2 3 clock Enable (synchronous): when high enables the counter, when low counter holds its value Load (synchronous) : when load =, load the desired value into the counter Output carry: indicates when the counter rolls over 3 downto, 3 downto is how to interpret MSB to LSB 4

Random Access Memory (RAM) More efficient than registers for storing large amounts of data Can read and write to RAM Addressable memory SRAM dimensions are: (number of words) x (bits per word) SRAM Address is m bits, data is n bits 2 m x n-bit RAM Example: address is 5 bits, data is 8 bits 32 x 8-bit RAM Write Enable (WE) When set writing takes place at the next rising edge of the clock n m IN AR WE RAM OUT n 5

ual-port RAM Two sets of input ports {INA, ARA, WEA} {INB, ARB, WEB} n INA OUTA n Two corresponding outputs OUTA OUTB m ARA WEA One memory matrix n INB RAM OUTB n Possible operations: Read from two memory locations Write to two different memory locations Read from a memory location and write to a memory location (different or the same) m ARB WEB 6