ECE 274 Digital Logic. Digital Design. Datapath Components Registers. Datapath Components Register with Parallel Load

Similar documents
Chapter 1: Introduction

ECE 274 Digital Logic. Digital Design. Sequential Logic Design Controller Design: Laser Timer Example

Chapter 3: Sequential Logic Design -- Controllers

Chapter 5. Synchronous Sequential Logic. Outlines

CPE 200L LABORATORY 2: DIGITAL LOGIC CIRCUITS BREADBOARD IMPLEMENTATION UNIVERSITY OF NEVADA, LAS VEGAS GOALS:

Pitch I. I. Lesson 1 : Staff

Digital Design Datapath Components: Parallel Load Register

Lecture 3: Circuits & Layout

SeSSION 9. This session is adapted from the work of Dr.Gary O Reilly, UCD. Session 9 Thinking Straight Page 1

... clk. 10 Registers and counters

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

Outline. Circuits & Layout. CMOS VLSI Design

walking. Rhythm is one P-.bythm is as Rhythm is built into our pitch, possibly even more so. heartbeats, or as fundamental to mu-

Answers to Exercise 3.3 (p. 76)

Introduction. APPLICATION NOTE 712 DS80C400 Ethernet Drivers. Jun 06, 2003

ECE 301 Digital Electronics

Corporate Logo Guidelines

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 28. Setting Up the Projector 15

Application Support. Product Information. Omron STI. Support Engineers are available at our USA headquarters from

Outline. Annual Sales. A Brief History. Transistor Types. Invention of the Transistor. Lecture 1: Circuits & Layout. Introduction to CMOS VLSI Design

Before Reading. Introduce Everyday Words. Use the following steps to introduce students to Nature Walk.

VISUAL IDENTITY GUIDE

GRABLINKTM. FullTM. - DualBaseTM. - BaseTM. GRABLINK Full TM. GRABLINK DualBase TM. GRABLINK Base TM

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

Homework 1. Homework 1: Measure T CK-Q delay

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 29. Setting Up the Projector 16

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

A New Concept of Providing Telemetry Data in Real Time

Reproducible music for 3, 4 or 5 octaves handbells or handchimes. by Tammy Waldrop. Contents. Performance Suggestions... 3

Experiment # 12. Traffic Light Controller

CPSC 121: Models of Computation Lab #2: Building Circuits

CMST 220 PUBLIC SPEAKING

DIGITAL EFFECTS MODULE OWNER'S MANUAL

Explosion protected add-on thermostat

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

Registers and Counters

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

CprE 281: Digital Logic

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

3/5/2017. A Register Stores a Set of Bits. ECE 120: Introduction to Computing. Add an Input to Control Changing a Register s Bits

Animals. Adventures in Reading: Family Literacy Bags from Reading Rockets

Chapter 5 Sequential Circuits

FPGA Implementation of Sequential Logic

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design ALU and Storage Elements

400 Series Flat Panel Monitor Arm

CprE 281: Digital Logic

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

Engineer To Engineer Note

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 29. Setting Up the Projector 16

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

LCD Data Projector VPL-S500U/S500E/S500M

Universidad Carlos III de Madrid Digital Electronics Exercises

Panel-mounted Thermostats

THE UNIVERSITY OF TRINIDAD & TOBAGO

CS/ECE 250: Computer Architecture. Basics of Logic Design: ALU, Storage, Tristate. Benjamin Lee

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

PRACTICE FINAL EXAM T T. Music Theory II (MUT 1112) w. Name: Instructor:

TAP 413-1: Deflecting electron beams in a magnetic field

Avaya P460. Quick Start Guide. Important Information. Unpack the Chassis. Position the Chassis. Install the Supervisor Module and PSU

Train times. Monday to Sunday

Your Summer Holiday Resource Pack: English

WEEK 10. Sequential Circuits: Analysis and Design. Page 1

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

Outcomes. Spiral 1 / Unit 6. Flip-Flops FLIP FLOPS AND REGISTERS. Flip-flops and Registers. Outputs only change once per clock period

Train times. Monday to Sunday. Stoke-on-Trent. Crewe

CS 110 Computer Architecture. Finite State Machines, Functional Units. Instructor: Sören Schwertfeger.

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

The Official IDENTITY SYSTEM. A Manual Concerning Graphic Standards and Proper Implementation. As developed and established by the

Appendix A. Quarter-Tone Note Names

CMSC 313 Preview Slides

Safety Relay Unit G9SB

Chapter 2. Digital Circuits

Safety Relay Unit G9SB

Digital Circuits ECS 371

Contents 2. Notations Used in This Guide 6. Introduction to Your Projector 7. Using Basic Projector Features 30. Setting Up the Projector 17

Contents. English. English. Your remote control 2

Universal Asynchronous Receiver- Transmitter (UART)

Chapter 3 Unit Combinational

ECE 331 Digital System Design

ECE 301 Digital Electronics

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

INPUT CAPTURE WITH ST62 16-BIT AUTO-RELOAD TIMER

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

Problems with D-Latch

Contents Circuits... 1

Lecture 11: Synchronous Sequential Logic

Exercise 2: D-Type Flip-Flop

User's Guide. Downloaded from

CprE 281: Digital Logic

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

IS1500 (not part of IS1200) Logic Design Lab (LD-Lab)

WE SERIES DIRECTIONAL CONTROL VALVES

Flip-Flops and Sequential Circuit Design

Applications to Transistors

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

Reverse Iterative Deepening for Finite-Horizon MDPs with Large Branching Factors

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Chapter 3 Unit Combinational

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

Transcription:

ECE 274 igitl Logic Multifunction Registers igitl esign 4. 4.2 igitl esign Chpter 4: Slides to ccompny the textbook igitl esign, First Edition, by Frnk Vhid, John Wiley nd Sons Publishers, 27. http://www.ddvhid.com Copyright 27 Frnk Vhid Instructors of courses requiring Vhid's igitl esign textbook (published by John Wiley nd Sons) hve permission to modify nd use these slides for customry course-relted ctivities, subject to keeping this copyright notice in plce nd unmodified. These slides my be posted s unnimted pdf versions on publicly-ccessible course websites.. PowerPoint source (or pdf with nimtions) my not be posted to publicly-ccessible websites, but my be posted for students on internl protected sites or distributed directly to students by other electronic mens. Instructors my mke printouts of the slides vilble to students for resonble photocopying chrge, without incurring roylties. Any other use requires explicit permission. Instructors my obtin PowerPoint source or obtin specil use permissions from Wiley see http://www.ddvhid.com for informtion. Registers 4.2 Register with Prllel Lod Cn store dt, very common in dtpths Bsic register of Ch 3: Loded every cycle Useful for implementing FSM -- stores encoded stte For other uses, my wnt to lod only on certin cycles b clk Combintionl logic s s Stte register n n x Add 2x mux to front of ech flip-flop Register s lod input selects mux input to pss Either existing flip-flop vlue, or new vlue to lod lod I 2 I I 4-bit register clk 3 2 Bsic register lods on every clock cycle How extend to only lod on certin cycles? 3 4

Shift Registers Shift Registers Move ech bit one position right Shift in to leftmost bit before shift right fter shift right Wht is the result fter shifting four times to the right?. Shift Register Connect register s flip-flop s outputs to next flip-flop s input This design wou lwys shift on every clock cycle How cn we control it? 2. 3. 4. 5 6 Shift Register To llow register to either shift or retin, use 2x muxes : mens retin, shift : vlue to shift in My be, or Note: Cn esily design shift register tht shifts left insted Rotte Register Rotte right Like shift right, but leftmost bit comes from rightmost bit before shift right fter shift right 7 2

Register Exmple: Above-Mirror isply Shift Register Exmple: Above-Mirror isply Insted of connecting cr s computer to disply using 32 wires, cn we use fewer wires? To reduce wires: Cr s computer cn write vlue t time, lods into one of four registers with disply C d lod r eg 2 4 d lod r eg A i i d2 lod r eg2 I lod d3 e lod r eg3 T M Loded on clock edge i i i2 -bit 4 d i3 s s x y Erlier exmple: +2+ = wires from cr s computer to bove-mirror disply s four registers Better thn 32 wires, but still lot -- wnt fewer for smller wire bundles Use shift registers Wires: +2+=4 Computer sends one vlue t time, one bit per clock cycle Note: this line is bit, rther thn bits like before x y c d r eg T s s 2 4 i 4 d r eg A i i i d d2 r eg2 I e d3 shi f t r eg3 M i2 i3 9 Multifunction Registers Multifunction Registers Mny registers hve multiple functions Lod, shift, cler (lod ll s) And retin present vlue, of course Esily designed using muxes Just connect ech mux input to chieve desired function s s Functions: (unused - let's lod s) s s 2 3

Multifunction Registers with Seprte Control Register Tble Truth tble for combintionl circuit hs priority over hs priority hs priority hs priority s s Note Mintin vlue? c ombin tionl ci r cuit s s I 2 I I I 2 I I _in _in 3 2 3 2 s = * * + ** + ** s = * * + 3 Register opertions typiclly shown using compct version of tble mens sme opertion whether vlue is or One expnds to two rows Two s expnd to four rows Put highest priority control input on left to mke reduced tble simple s s No t e Mintin vlue Ope r tion M i n tin v lue Shi f t le f t 4 Register esign Process Cn design register with desired opertions using simple four-step process 5 Register esign Exmple esired register opertions Synchronous cler, synchronous set, lod, shift left (with this priority) Step : etermine mux size 5 opertions: bove, plus mintin present vlue (don t forget this one!) --> Use x mux Step 2: Crete mux opertion tble Step 3: Connect mux inputs Step 4: Mp control lines = *set s = *set * * + s = *set * + set s s s s s 7 6 5 4 3 2 s Synchronous cler Synchronous set n In Set to ll s Cler to ll s from n- 6 4

Register esign Exmple I 2 I I set combintionl circuit s s I 2 I I _in 3 2 _in 3 2 Step 4: Mp control lines = *set s = *set * * + s = *set * + set s s Set to ll s Cler to ll s 7 5