Transferring Data Among Registers. Serial Data Register Transfer

Similar documents
Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Systems I: Computer Organization and Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

(Refer Slide Time: 00:01:16 min)

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

5 Combinatorial Components. 5.0 Full adder. Full subtractor

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers

Binary Adders: Half Adders and Full Adders

Systems I: Computer Organization and Architecture

BASIC COMPUTER ORGANIZATION AND DESIGN

Let s put together a Manual Processor

Today. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic

CHAPTER 7: The CPU and Memory

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: COMPUTER ORGANIZATION AND ARCHITECTURE (Code: )

MACHINE ARCHITECTURE & LANGUAGE

Central Processing Unit (CPU)

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B Lab 7: MISP Processor Design Spring 1995

Flip-Flops, Registers, Counters, and a Simple Processor

Computer organization

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals

Lecture-3 MEMORY: Development of Memory:

CHAPTER 4 MARIE: An Introduction to a Simple Computer

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

1 Classical Universal Computer 3

1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

CPU Organisation and Operation

Systems I: Computer Organization and Architecture

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

CHAPTER 3 Boolean Algebra and Digital Logic

2011, The McGraw-Hill Companies, Inc. Chapter 3

Microprocessor & Assembly Language

MICROPROCESSOR AND MICROCOMPUTER BASICS

Binary Numbers. Binary Octal Hexadecimal

Z80 Instruction Set. Z80 Assembly Language

Figure 8-1 Four Possible Results of Adding Two Bits

Digital Electronics Detailed Outline

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Lecture N -1- PHYS Microcontrollers

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement

Sistemas Digitais I LESI - 2º ano

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

8085 INSTRUCTION SET

Chapter 9 Computer Design Basics!

LSN 2 Computer Processors

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

DEPARTMENT OF INFORMATION TECHNLOGY

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Gates, Plexers, Decoders, Registers, Addition and Comparison

BINARY CODED DECIMAL: B.C.D.

Two's Complement Adder/Subtractor Lab L03

Gates, Circuits, and Boolean Algebra

16-bit ALU, Register File and Memory Write Interface

RAPID PROTOTYPING OF DIGITAL SYSTEMS Second Edition

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED

Understanding Logic Design

Administrative Issues

Upon completion of unit 1.1, students will be able to

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

The string of digits in the binary number system represents the quantity

A s we saw in Chapter 4, a CPU contains three main sections: the register section,

Floating Point Fused Add-Subtract and Fused Dot-Product Units

COMBINATIONAL CIRCUITS

EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors

University of St. Thomas ENGR Digital Design 4 Credit Course Monday, Wednesday, Friday from 1:35 p.m. to 2:40 p.m. Lecture: Room OWS LL54

Combinational Logic Design

Central Processing Unit

Lecture 8: Synchronous Digital Systems

(1) /30 (2) /30 (3) /40 TOTAL /100

Computer Organization. and Instruction Execution. August 22

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Chapter 1: Digital Systems and Binary Numbers

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

COMPUTER ORGANIZATION AND ARCHITECTURE. Slides Courtesy of Carl Hamacher, Computer Organization, Fifth edition,mcgrawhill

TERMINAL Debug Console Instrument

The components. E3: Digital electronics. Goals:

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Automating witfi STEP7 in LAD and FBD

Automating with STEP7 in LAD and FBD

INTRODUCTION TO DIGITAL SYSTEMS. IMPLEMENTATION: MODULES (ICs) AND NETWORKS IMPLEMENTATION OF ALGORITHMS IN HARDWARE

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

Programming Logic controllers

Computer Architecture

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

CPU Organization and Assembly Language

1 Computer hardware. Peripheral Bus device "B" Peripheral device. controller. Memory. Central Processing Unit (CPU)

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

Seven-Segment LED Displays

EE361: Digital Computer Organization Course Syllabus

Memory Elements. Combinational logic cannot remember

Computer Systems Design and Architecture by V. Heuring and H. Jordan

Transcription:

Transferring Data Among Registers Point-to-Point Transfer Serial Transfer: Shift Registers Parallel Transfer Control (Strobing Signal) Clocking Multiplexing Bus Transfer Avoids Using Multiplexers Destination Device is Selected Registers are Interconnected With a Common Bus Register Transfer - 1 Serial Data Register Transfer Register 1 Register 3 Register 2 Control Clock Control R3 R1 R3 R2 Register Transfer - 2

Parallel Data Transfer Register 1 Register 3 Register Transfer - 3 Register 2 Control Parallel Data Transfer Register 1 Register 3 Select Select Select Register Transfer - 4 Register 2

Register Transfer Definitions A Register Is A Group of Flip-Flops Capable of Storing Information and Performing Simple Operations Micro-operation Elementary Operation Performed in Parallel on Data Stored in a Register Performed in One Clock Period Examples Load Shift Right Shift Left Register Transfer - 5 Register Transfer Notation Symbolic Method for Representing Information Flow Among Registers Examples Register 2 Gets the Contents of Register 1: R2 R1 Register 2 Gets Part of Register 1: R2(0-7) R1(8-15) Register 1 Gets Data at Memory Location AR: R2 M[AR] Register Transfer - 6

Hardware Structure R1 R0 R2 T 1 T 2 Register Transfer - 7 Transfer Notation Need Multiplexer Control Leads Condition Register Transfer by State of the Control Leads Notation Examples T 1 T 2 : R0 T 1 'T 2 : R0 R1 R1 External Control Logic Determines the Values of the Leads Need log 2 N Control Leads for N Multiplexers Register Transfer - 8

Application of Register Transfer Formalization of Logic Translation of Hardware Design into Useful Operational Structures Stages of Representation Hardware Schematic Can Produce Optimal Design Difficult to Comprehend Operational Aspects Register Transfer Notation Simple Operational Formalization of Hardware Functionality Needs Extension to be Useful Microoperations Extension of RTN Building Blocks for ALU and CPU Functionality Register Transfer - 9 Microoperations Definition: Elementary Operation Performed on Registers in a Single Clock Cycle Classes Register Transfer Arithmetic Logic Register Shift Register Transfer - 10

Arithmetic Operations R0 R1 + R2 (Addition) R0 R1 - R2 (Subtraction) R2 R2' (One s Complement) R2 R2' +1 (Two s Complement) R1 R1 + 1 (Increment) R1 R1-1 (Decrement) Register Transfer - 11 Arithmetic Hardware Structure R2 C n-1 C n Adder/Subtractor X Select V C R1 T 1 Load Register Transfer - 12

Logic Operations R0 R0' (Complementation) R0 R1 R2 (AND) R0 R1 R2 (OR) R0 R1 R2 (XOR) Register Transfer - 13 Shift Operations R shl R R shr R R rol R R ror R R asl R R asr R Discussion Shift: End Receives the Input From the Serial Input Rotate: End Receives Shifted-Out Information (No Loss of Bits) Register Transfer - 14

Arithmetic Shift Left - Multiply a Signed Binary Number by 2 Right - Divide a Signed Binary Number by 2 Leave the Sign Bit Unchanged (R n-1 ) Negative Numbers In Two s Complement Form Sign Bit = 1 Insert a 0 Into the Vacated Bit Register Transfer - 15 Bus Transfer Bus Common Set of Parallel Wires (One for Each Bit) For All System Components Also Contains Control Wires Operation Device Outputs on the Bus Can Have Three States (1,0, High Impedance) If the Device is Selected, the Output Must Be a 1 or a 0 If Not, the Output is High Impedance Selection Done Via a Decoder Register Transfer - 16

Memory Transfer Transfer Data From a Memory Location to a Register Address Address Bus Address Register (AR) Bus Buffer Memory Data Data Bus Bus Buffer Registers Register Transfer - 17