Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.

Slides:



Advertisements
Similar presentations
Computer Architecture CS 215
Advertisements

CPEN Digital System Design
KU College of Engineering Elec 204: Digital Systems Design
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
REGISTER TRANSFER LANGUAGE (RTL)
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Chapter 7 Henry Hexmoor Registers and RTL
Princess Sumaya University
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
8085 processor. Bus system in microprocessor.
Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 7 – Registers.
Digital Logic Design ESGD2201
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:
CPEN Digital System Design Chapter 9 – Computer Design
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
Chapter 7 – Registers and Register Transfers Part 1 – Registers, Microoperations and Implementations Logic and Computer Design Fundamentals.
Computer Organization and Architecture
Chapter 4 Register Transfer and Microoperations
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
Computer System Configuration and Function Computer Architecture and Design Lecture 6.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Digital 2 : EKT 221. Today’s Outline RTL Arithmetic Operations Conditional Register Transfer RTL Logical Operations RTL Shift Operations.
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part2.
Unit I Digital computer: functional units and their interconnections Mr. Mukul Varshney.
Computer System Architecture ESGD2204
Lecture 16 Today’s topics: –MARIE Instruction Decoding and Control –Hardwired control –Micro-programmed control 1.
CSC321 Where We’ve Been Binary representations Boolean logic Logic gates – combinational circuits Flip-flops – sequential circuits Complex gates – modules.
Lecture #30 Page 1 ECE 4110– Sequential Logic Design Lecture #30 Agenda 1.von Neumann Stored Program Computer Architecture Announcements 1.N/A.
DIGITAL 2 : EKT 221. Today’s Outline Register Transfer Clock Gating Load Control Feedback Register Transfer Language Type of Registers Basic Symbols Mathematical.
REGISTER TRANSFER AND MICROOPERATIONS
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 & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Chapter 8: The Very Simple Computer
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
September 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 2: Implementation of a Simplified Computer Jeremy R. Johnson Wednesday,
EKT 221 : Chapter 4 Computer Design Basics
1 Chapter 7 Henry Hexmoor Registers and RTL. REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register Transfer Bus and Memory Transfers.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Register Transfer Languages (RTL)
Lecture 5: Register Transfer & Micro-OpsOverview1.
Chapter 10 Control Unit Operation “Controls the operation of the processor”
1 COMP541 Datapaths I Montek Singh Mar 8, Topics  Over next 2/3 classes: datapaths  Basic register operations Book sections 7-2 to 7-6 and 7-8.
Processor Organization and Architecture Module III.
Chapter 1_0 Registers & Register Transfer. Chapter 1- Registers & Register Transfer  Chapter 7 in textbook.
EKT 221 : Digital 2 Computer Design Basics Date : Lecture : 2 hrs.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
ECEG-3202: Computer Architecture and Organization, Dept of ECE, AAU 1 Register Transfer & Microoperations.
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.
Functions of Processor Operation Addressing modes Registers i/o module interface Memory module interface Interrupts.
REGISTER TRANSFER AND MICROOPERATIONS
Overview Register Transfer Language Register Transfer
REGISTER TRANSFER AND MICROOPERATIONS
Chap 7. Register Transfers and Datapaths
KU College of Engineering Elec 204: Digital Systems Design
Register Transfer and Microoperations
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Computer Organization and Design
Control Unit.
Computer Architecture and Design Lecture 6
CSC 220: Computer Organization
Overview Part 1 - Registers, Microoperations and Implementations
Overview Part 1 - Registers, Microoperations and Implementations
CHAPTER-3 REGISTER TRANSFER LANGUAGE AND MICROOPERATIONS
Instruction execution and ALU
Presentation transcript:

Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department Computer System Architecture ESGD2204 Wednesday, 18th march 2009 Lecture 6

Chapter 4 REGISTER TRANSFER & µ-OPERATIONS

REGISTER TRANSFER & µ-OPERATIONS 4.1 Register Transfer Language 4.2 Register Transfer 4.3 Bus and Memory Transfers 4.4 Arithmetic Microoperations 4.5 Logic Microoperations 4.6 Shift Microoperations 4.7 Arithmetic Logic Shift Unit Agenda

SIMPLE DIGITAL SYSTEMS Combinational and sequential circuits (learned in Chapters 1 and 2) can be used to create simple digital systems. These are the low-level building blocks of a digital computer. Simple digital systems are frequently characterized in terms of –the registers they contain, and –the operations that they perform. Typically, –What operations are performed on the data in the registers –What information is passed between registers REGISTER TRANSFER & µ-OPERATIONS

MICROOPERATIONS (1) Register Transfer Language The operations on the data in registers are called microoperations. The functions built into registers are examples of microoperations –Shift –Load –Clear –Increment –… REGISTER TRANSFER & µ-OPERATIONS

MICROOPERATION (2) An elementary operation performed (during one clock pulse), on the information stored in one or more registers R  f(R, R) f: shift, load, clear, increment, add, subtract, complement, and, or, xor, … ALU (f) Registers (R) 1 clock cycle Register Transfer Language REGISTER TRANSFER & µ-OPERATIONS

ORGANIZATION OF A DIGITAL SYSTEM - Set of registers and their functions - Microoperations set Set of allowable microoperations provided by the organization of the computer - Control signals that initiate the sequence of microoperations (to perform the functions) Definition of the (internal) organization of a computer Register Transfer Language REGISTER TRANSFER & µ-OPERATIONS

REGISTER TRANSFER LEVEL Register Transfer Language Viewing a computer, or any digital system, in this way is called the register transfer level This is because we’re focusing on –The system’s registers –The data transformations in them, and –The data transfers between them. REGISTER TRANSFER & µ-OPERATIONS

REGISTER TRANSFER LANGUAGE Register Transfer Language Rather than specifying a digital system in words, a specific notation is used, register transfer language For any function of the computer, the register transfer language can be used to describe the (sequence of) microoperations Register transfer language –A symbolic language –A convenient tool for describing the internal organization of digital computers –Can also be used to facilitate the design process of digital systems. REGISTER TRANSFER & µ-OPERATIONS

DESIGNATION OF REGISTERS Register Transfer Language Registers are designated by capital letters, sometimes followed by numbers (e.g., A, R13, IR) Often the names indicate function: –MAR- memory address register –PC- program counter –IR- instruction register Registers and their contents can be viewed and represented in various ways –A register can be viewed as a single entity: –Registers may also be represented showing the bits of data they contain MAR REGISTER TRANSFER & µ-OPERATIONS

DESIGNATION OF REGISTERS Register Transfer Language R1 Register Numbering of bits Showing individual bits Subfields PC(H)PC(L) a register - portion of a register - a bit of a register Common ways of drawing the block diagram of a register R Designation of a register REGISTER TRANSFER & µ-OPERATIONS

REGISTER TRANSFER Register Transfer Copying the contents of one register to another is a register transfer A register transfer is indicated as R2  R1 –In this case the contents of register R1 are copied (loaded) into register R2 –A simultaneous transfer of all bits from the source R1 to the destination register R2, during one clock pulse –Note that this is a non-destructive; i.e. the contents of R1 are not altered by copying (loading) them to R2 REGISTER TRANSFER & µ-OPERATIONS

REGISTER TRANSFER Register Transfer A register transfer such as R3  R5 Implies that the digital system has –the data lines from the source register (R5) to the destination register (R3) –Parallel load in the destination register (R3) –Control lines to perform the action REGISTER TRANSFER & µ-OPERATIONS

CONTROL FUNCTIONS Register Transfer Often actions need to only occur if a certain condition is true This is similar to an “if” statement in a programming language In digital systems, this is often done via a control signal, called a control function –If the signal is 1, the action takes place This is represented as: P: R2  R1 Which means “if P = 1, then load the contents of register R1 into register R2”, i.e., if (P = 1) then (R2  R1) REGISTER TRANSFER & µ-OPERATIONS

HARDWARE IMPLEMENTATION OF CONTROLLED TRANSFERS Implementation of controlled transfer P: R2  R1 Block diagram Timing diagram Clock Register Transfer Transfer occurs here R2 R1 Control Circuit Load P n Clock Load t t+1 The same clock controls the circuits that generate the control function and the destination register Registers are assumed to use positive-edge-triggered flip-flops REGISTER TRANSFER & µ-OPERATIONS

SIMULTANEOUS OPERATIONS Register Transfer If two or more operations are to occur simultaneously, they are separated with commas P: R3  R5, MAR  IR Here, if the control function P = 1, load the contents of R5 into R3, and at the same time (clock), load the contents of register IR into register MAR REGISTER TRANSFER & µ-OPERATIONS

BASIC SYMBOLS FOR REGISTER TRANSFERS Capital letters Denotes a register MAR, R2 & numerals Parentheses () Denotes a part of a register R2(0-7), R2(L) Arrow   Denotes transfer of information R2  R1 Colon : Denotes termination of control function P: Comma, Separates two micro-operations A  B, B  A SymbolsDescription Examples Register Transfer REGISTER TRANSFER & µ-OPERATIONS

CONNECTING REGISTRS Register Transfer In a digital system with many registers, it is impractical to have data and control lines to directly allow each register to be loaded with the contents of every possible other registers To completely connect n registers  n(n-1) lines O(n 2 ) cost –This is not a realistic approach to use in a large digital system Instead, take a different approach Have one centralized set of circuits for data transfer – the bus Have control circuits to select which register is the source, and which is the destination REGISTER TRANSFER & µ-OPERATIONS