ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.

Slides:



Advertisements
Similar presentations
Lecture 23: Registers and Counters (2)
Advertisements

Registers and Counters
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
11/16/2004EE 42 fall 2004 lecture 331 Lecture #33: Some example circuits Last lecture: –Edge triggers –Registers This lecture: –Example circuits –shift.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
Chapter 7 - Part 2 1 CPEN Digital System Design Chapter 7 – Registers and Register Transfers Part 2 – Counters, Register Cells, Buses, & Serial Operations.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Sequential Circuit Introduction to Counter
C HAPTER S IX R EGISTERS AND C OUNTERS 1. A clocked sequential circuit consists of a group of flip-flops and combinational gates connected to form a feedback.
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Chapter 1_4 Part II Counters
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Registers and Counters
ECE2030 Introduction to Computer Engineering Lecture 15: Registers, Toggle Cells, Counters Prof. Hsien-Hsin Sean Lee School of Electrical and Computer.
Registers and Counters
ENGSCI 232 Computer Systems Lecture 5: Synchronous Circuits.
Last Mod: March 2014  Paul R. Godin Shift Registers Registers 1.1.
Registers & Counters M. Önder Efe
Registers CPE 49 RMUTI KOTAT.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Registers and Counters
Rabie A. Ramadan Lecture 3
Using building blocks to make bigger circuits
1 Lecture 32 Datapath Analysis. 2 Overview °Datapaths must deal with input and output data values Implement with tri-state buffers °Necessary to control.
P. 4.1 Digital Technology and Computer Fundamentals Chapter 4 Digital Components.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
ENG241 Digital Design Week #8 Registers and Counters.
REGISTER A register is a group of flip-flops. Each flip- flop is capable of storing one bit of informa­ tion. An n-bit register consists of a group of.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Computer Organization & Programming Chapter 5 Synchronous Components.
Abdullah Said Alkalbani University of Buraimi
Sequential logic circuits
Last Mod: Jan 2015  Paul R. Godin Shift Registers : Technician Series Registers 1.1.
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
Registers and Counters
Chap 5. Registers and Counters
DIGITAL COMPONENTS. MULTIPLEXERS A multiplexer is a combinational circuit that receives binary information from one of 2 n input data lines and directs.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Modular sequential logic Use latches, flip-flops and combinational logic –Flip-flops usually grouped to form a register Shift registers –n bits {x n …x.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Registers and Counters
REGISTER TRANSFER AND MICROOPERATIONS
Prof. Hsien-Hsin Sean Lee
EKT 221 : Digital 2 COUNTERS.
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
Basics of digital systems
Digital System Design Review.
Registers and Counters
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
COE 202: Digital Logic Design Sequential Circuits Part 4
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Computer Architecture and Organization: L02: Logic design Review
Overview Part 1 - Registers, Microoperations and Implementations
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Outline Registers Counters 5/11/2019.
Registers and Counters
Instruction execution and ALU
Presentation transcript:

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering

SHIFT REGISTERS

Overview  Multiple flip flops can be combined to form a data register  Shift registers allow data to be transported one bit at a time  Registers also allow for parallel transfer  Many bits transferred at the same time  Shift registers can be used with adders to build arithmetic units  Remember: most digital hardware can be built from combinational logic (and, or, invert) and flip flops  Basic components of most computers

Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data  Loads in Parallel on Clock Transition  Asynchronous Clear (Reset)

Register with Load Control  Load Control = 1  New data loaded on next positive clock edge  Load Control = 0  Old data reloaded on next positive clock edge

Shift Registers  Cascade chain of Flip-Flops  Bits travel on Clock edges  Serial in – Serial out, can also have parallel load / read

Parallel Data Transfer °All data transfers on rising clock edge °Data clocked into register Y

Parallel versus Serial  Serial communications is defined as  Provides a binary number as a sequence of binary digits, one after another, through one data line.  Parallel communications  Provides a binary number through multiple data lines at the same time.

parallel inputs parallel outputs serial transmission Shift register application  Parallel-to-serial conversion for serial transmission

Serial Transfer  Data transfer one bit at a time  Data loopback for register A Time T0 T1 T2 T3 T4 Reg A Reg B

Serial Transfer of Data  Transfer from register X to register Y (negative clock edges for this example)

Serial Addition (D Flip-Flop)  Slower than parallel  Low cost  Share fast hardware on slow data

Serial Addition (D Flip-Flop)  Only one full adder  Reused for each bit  Start with low-order bit addition  Note that carry (Q) is saved  Add multiple values.  New values placed in shift register B

Serial Addition (D Flip-Flop)  Shift control used to stop addition  Generally not a good idea to gate the clock  Shift register can be of arbitrary length  FA is built from combin. logic

Universal Shift Register  Clear  Clock  Shift  Right  Left  Load  Read  Control

Summary  Shift registers can be combined together to allow for data transfer  Serial transfer used in modems and computer peripherals (e.g. mouse)  D flip flops allow for a simple design  Data clocked in during clock transition (rising or falling edge)  Serial addition takes less chip area but is slow  Universal shift register allows for many operations  The register is programmable.  It allows for different operations at different times  Next time: counters (circuits that count!)