Overview Register Transfer Language Register Transfer

Slides:



Advertisements
Similar presentations
Register Transfer and Microoperations Part2
Advertisements

Chapter 4 Register Transfer and Microoperations
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Chapter 7 Henry Hexmoor Registers and RTL
Princess Sumaya University
7-5 Microoperation An elementary operations performed on data stored in registers or in memory. Transfer Arithmetic Logic: perform bit manipulation on.
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
8085 processor. Bus system in microprocessor.
التصميم المنطقي Second Course
©Brooks/Cole, 2003 Chapter 4 Operations on Bits. ©Brooks/Cole, 2003 Apply arithmetic operations on bits when the integer is represented in two’s complement.
Chapter 7. Register Transfer and Computer Operations
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #4 Register Transfer and Microoperations 23/2/2006 Chapter 4:
Multiplexer as a Universal Function Generator
Computer System Configuration and Function Computer Architecture and Design Lecture 6.
MICRO OPERATIONS Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Chapter 4 Register Transfer and Micro -operations
REGISTER TRANSFER AND MICROOPERATIONS
Computer System Architecture © Korea Univ. of Tech. & Edu. Dept. of Info. & Comm. Chap. 4 Register Transfer and Microoperations 4-1 Chap. 4 Register Transfer.
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
REGISTER TRANSFER LANGUAGE MICROOPERATIONS. TODAY OUTLINES Logic Microoperations Shift Microoperations.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Micro Operation. MICROOPERATIONS Computer system microoperations are of four types: - Register transfer microoperations - Arithmetic microoperations -
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part.
1 Chapter 7 Henry Hexmoor Registers and RTL. REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register Transfer Bus and Memory Transfers.
Lecture 5: Register Transfer & Micro-OpsOverview1.
CSC321 Homework Due Due Tuesday after spring break Turn in –Design information State diagram State table K-map simplifications and expressions for flip-flop.
Chapter 4 Register Transfer and Microoperations Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2010.
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
EKT 221 : Digital 2 Computer Design Basics Date : Lecture : 2 hrs.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
1 Register Transfer and Microoperations Acknowledgment: Most of the slides are adapted from Prof. Hyunsoo Yoon’s slides.
1 REGISTER TRANSFER & MICROOPERATIONS. 2 OUTLINES Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic.
REGISTER TRANSFER AND MICROOPERATIONS
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Combinational Circuits
CS 270: Mathematical Foundations of Computer Science
Chapter 4 Operations on Bits.
Overview Register Transfer Language Register Transfer
Engr. Micaela Renee Bernardo
REGISTER TRANSFER AND MICROOPERATIONS
Programming in Machine Language
Chapter 4 Register Transfer and Microoperations
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Chap 7. Register Transfers and Datapaths
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
Overview Introduction Logic Gates Flip Flops Registers Counters
Register Transfer and Microoperations
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Computer Organization and Design
Control Unit.
Basics Combinational Circuits Sequential Circuits
Computer Organization and Design
به نام یگانه مهندس هستی معماری کامپیوتر مهدی قدیری
REGISTER TRANSFER LANGUAGE
Computer Architecture and Design Lecture 6
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Computer Organization and Design
CS-401 Computer Architecture & Assembly Language Programming
Computer Architecture and Organization: L02: Logic design Review
By: A. H. Abdul Hafez CAO, by Dr. A.H. Abdul Hafez, CE Dept. HKU
13 Digital Logic Circuits.
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
COMS 361 Computer Organization
Logic Circuits I Lecture 3.
Combinational Circuits
CHAPTER-3 REGISTER TRANSFER LANGUAGE AND MICROOPERATIONS
Instruction execution and ALU
Computer Architecture
Presentation transcript:

Overview Register Transfer Language Register Transfer Register Transfer and Micro-operations 1 Lecture 9 Overview Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Micro-operations Logic Micro-operations Shift Micro-operations Arithmetic Logic Shift Unit CSE 211, Computer Organization and Architecture

Arithmetic Circuits Register Transfer and Micro-operations 2 Lecture 9 1 2 3 4x1 MUX X0 Y0 C0 C1 D0 FA X1 Y1 C2 D1 X2 Y2 C3 D2 X3 Y3 C4 D3 Cout A0 B0 A1 B1 A2 B2 A3 B3 S1 S0Cin Y O/P 0 0 0 B D = A + B 0 0 1 B D = A + B + 1 0 1 0 B’ D = A + B’ 0 1 1 B’ D = A + B’+ 1 1 0 0 0 D = A 1 0 1 0 D = A + 1 1 1 0 1 D = A – 1 1 1 1 1 D = A CSE 211, Computer Organization and Architecture

Logic Micro operations Register Transfer and Micro-operations 3 Lecture 9 Logic Micro operations - 16 different logic operations with 2 binary vars. - n binary vars → 2 2 n functions Truth tables for 16 functions of 2 variables and the corresponding 16 logic micro-operations Boolean Function Micro- Operations Name X 0 0 1 1 y 0 1 0 1 0 0 0 0 F0 = 0 F  0 Clear 0 0 0 1 F1 = xy F  A  B AND 0 0 1 0 F2 = xy' F  A  B’ 0 0 1 1 F3 = x F  A Transfer A 0 1 0 0 F4 = x'y F  A’ B 0 1 0 1 F5 = y F  B Transfer B 0 1 1 0 F6 = x  y F  A  B Exclusive-OR 0 1 1 1 F7 = x + y F  A  B OR 1 0 0 0 F8 = (x + y)' F  A  B)’ NOR 1 0 0 1 F9 = (x  y)' F  (A  B)’ Exclusive-NOR 1 0 1 0 F10 = y' F  B’ Complement B 1 0 1 1 F11 = x + y' F  A  B 1 1 0 0 F12 = x' F  A’ Complement A 1 1 0 1 F13 = x' + y F  A’ B 1 1 1 0 F14 = (xy)' F  (A  B)’ NAND 1 1 1 1 F15 = 1 F  all 1's Set to all 1's CSE 211, Computer Organization and Architecture

Hardware Implementation Register Transfer and Micro-operations 4 Lecture 9 Hardware Implementation 0 0 F = A  B AND 0 1 F = AB OR 1 0 F = A  B XOR 1 1 F = A’ Complement S1 S0 Output -operation Function table B A S F 1 i 2 3 4 X 1 MUX Select CSE 211, Computer Organization and Architecture

Applications of Logic Microoperations Register Transfer and Micro-operations 5 Lecture 9 Applications of Logic Microoperations Logic micro operations specify binary operations for Strings of bits stored in Registers. Logic micro operations can be used to manipulate individual bits or a portions of a word in a register Consider the data in a register A. In another register, B, is bit data that will be used to modify the contents of A Selective-set A  A + B Selective-complement A  A  B Selective-clear A  A • B’ Mask (Delete) A  A • B Clear (same bits) A  A  B Insert A  (A • B) + C CSE 211, Computer Organization and Architecture

Applications of Logic Microoperations Register Transfer and Micro-operations 6 Lecture 9 Applications of Logic Microoperations 1. In a selective set operation, the bit pattern in B is used to set certain bits in A 1 1 0 0 At 1 0 1 0 B 1 1 1 0 At+1 (A  A + B) If a bit in B is set to 1, that same position in A gets set to 1, otherwise that bit in A keeps its previous value 2. In a selective complement operation, the bit pattern in B is used to complement certain bits in A 1 1 0 0 At 1 0 1 0 B 0 1 1 0 At+1 (A  A  B) If a bit in B is set to 1, that same position in A gets complemented from its original value, otherwise it is unchanged CSE 211, Computer Organization and Architecture

Applications of Logic Microoperations Register Transfer and Micro-operations 7 Lecture 9 Applications of Logic Microoperations 3. In a selective clear operation, the bit pattern in B is used to clear certain bits in A 1 1 0 0 At 1 0 1 0 B 0 1 0 0 At+1 (A  A  B’) If a bit in B is set to 1, that same position in A gets set to 0, otherwise it is unchanged 4. In a mask operation, the bit pattern in B is used to clear certain bits in A 1 1 0 0 At 1 0 1 0 B 1 0 0 0 At+1 (A  A  B) If a bit in B is set to 0, that same position in A gets set to 0, otherwise it is unchanged CSE 211, Computer Organization and Architecture

Applications of Logic Microoperations Register Transfer and Micro-operations 8 Lecture 9 Applications of Logic Microoperations 5. In a clear operation, if the bits in the same position in A and B are the same, they are cleared in A, otherwise they are set in A 1 1 0 0 At 1 0 1 0 B 0 1 1 0 At+1 (A  A  B) CSE 211, Computer Organization and Architecture

Applications of Logic Microoperations Register Transfer and Micro-operations 9 Lecture 9 Applications of Logic Microoperations 6. An insert operation is used to introduce a specific bit pattern into A register, leaving the other bit positions unchanged This is done as A mask operation to clear the desired bit positions, followed by An OR operation to introduce the new bits into the desired positions Example Suppose you wanted to introduce 1010 into the low order four bits of A: 1101 1000 1011 0001 A (Original) 1101 1000 1011 1010 A (Desired) 1101 1000 1011 0001 A (Original) 1111 1111 1111 0000 Mask 1101 1000 1011 0000 A (Intermediate) 0000 0000 0000 1010 Added bits 1101 1000 1011 1010 A (Desired) CSE 211, Computer Organization and Architecture