Register Transfer Languages (RTL)

Slides:



Advertisements
Similar presentations
CPEN Digital System Design
Advertisements

REGISTER TRANSFER LANGUAGE (RTL)
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Chapter 7 Henry Hexmoor Registers and RTL
Princess Sumaya University
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
ARITHMETIC LOGIC SHIFT UNIT
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
8085 processor. Bus system in microprocessor.
Chapter 7. Register Transfer and Computer Operations
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
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
Group 1 Michael Bouizza Rolando Abreu Carlos De Cossio Ricardo Urena Michael Hernandez Robert Romano Sun Li Yang.
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.
MICRO OPERATIONS Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram.
CSC321 Where We’ve Been Binary representations Boolean logic Logic gates – combinational circuits Flip-flops – sequential circuits Complex gates – modules.
Chapter 4 Register Transfer and Micro -operations
REGISTER TRANSFER AND MICROOPERATIONS
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Computer Design Basics
Computer Architecture Lecture 09 Fasih ur Rehman.
EKT221 ELECTRONICS DIGITAL II CHAPTER 4: Computer Design Basics
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
Chapter 4 Computer Design Basics. Chapter Overview Part 1 – Datapaths  Introduction  Datapath Example  Arithmetic Logic Unit (ALU)  Shifter  Datapath.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
CS 111 – Sept. 15 Chapter 2 – Manipulating data by performing instructions “What is going on in the CPU?” Commitment: –Please read through section 2.3.
ARITHMETIC MICRO OPERATIONS
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
CSE 241 Computer Organization Lecture # 8 Ch. 7 Control Unit Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
EKT 221 : Chapter 4 Computer Design Basics
1 Outline Bus Transfer Memory Transfer Microoperations.
1 Chapter 7 Henry Hexmoor Registers and RTL. REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register Transfer Bus and Memory Transfers.
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
Control Unit Operations Chapter10:. What is Control Unit (CU)?(1)  Part of a CPU or other device that directs its operation.  Tells the rest of the.
Chapter 10 Control Unit Operation “Controls the operation of the processor”
Hardwired Control Department of Computer Engineering, M.S.P.V.L Polytechnic College, Pavoorchatram. A Presentation On.
Processor Organization and Architecture Module III.
Designing a CPU –Reading a programs instruction from memory –Decoding the instruction –Executing the instruction –Transferring Data to/From memory / IO.
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.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Functions of Processor Operation Addressing modes Registers i/o module interface Memory module interface Interrupts.
REGISTER TRANSFER AND MICROOPERATIONS
Computer Organization and Architecture + Networks
Overview Register Transfer Language Register Transfer
REGISTER TRANSFER AND MICROOPERATIONS
Chap 7. Register Transfers and Datapaths
Micro-Operations A computer executes a program Fetch/execute cycle
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
A Discussion on Assemblers
CHAPTER-3 REGISTER TRANSFER LANGUAGE AND MICROOPERATIONS
Information Representation: Machine Instructions
Instruction execution and ALU
Presentation transcript:

Register Transfer Languages (RTL) A Presentation On Register Transfer Languages (RTL) Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram.

Basic Definitions Digital system is a collection of digital hardware modules Modules are registers, counters, arithmetic elements, etc connected via: - data paths routes on which information is moved - control paths routes on which control signals are moved Micro operations (micro-ops) are operations on data stored in registers Digital modules (often just called “registers”) are defined by their information contents and the set of micro-ops they perform Register transfer language is a concise and precise means of describing those operations

Data-paths and Control units Data-path module comprises processing logic and collection of registers that perform data processing Control unit module is made up of logic that determines the sequence of data processing operations carried out in the data-path

Register Transfer Operations Registers: denoted by upper case letters, and optionally followed by digits or letters Register transfer operations: the movement of data stored in registers and the processing performed on the data

What is Register Transfer Language? Register Transfer Language (RTL): used to describe CPU organization in high-level terms RTL expressions are made up of elements which describe the registers being manipulated, and the micro-ops being performed on them Here are the basic components of RTL expressions:

Instruction Representation Word size is 16 bits 12 bits to represent a memory address 3-bit opcode 1 bit to distinguish between direct and indirect memory addressing

Instruction Representation (cont.) When the I (indirect) bit is 0, the value in AD is the actual address of the operand (direct addressing) When I is 1, contains the address of an indirect word, which in turn will contain the actual operand address (indirect addressing)

Register Structure

Common Micro-Ops There are 4 types of Micro-Ops: Transfer: transfers data from one register to another R0 <- R1 Arithmetic: performs arithmetic on data in registers R0 <- R1 + R2 Logic/bit manipulation: performs bit (Boolean) operations on data R0 <- R1 & R2 ; or R0 <- R1 | R2 Shift: shift data in registers by one or more bit positions R0 <- R1 << 3; or R0 <- R2 >> 2

Micro-Ops Transfer Parallel Parallel transfer is typically used for transfers between registers Ex: Transfer all contents of A into B on one clock pulse A <- B Control function: we can do this by structuring the RTL expression to indicate the controlling condition Ex: P: A<- B

Micro-Ops Transfer Serial Serial transfer is used to specify that a collection of bits are to be moved, but that the transfer is to occur one bit at a time Ex: S: A <- B, B <-B

Micro-Ops Transfer Bus A bus consists of a set of parallel data lines To transfer data using a bus: connect the output of the source register to the bus; connect the input of the target register to the bus; when the clock pulse arrives, the transfer occurs

Micro-Ops Transfer Memory Memory transfers are similar to register transfers, but… Memory to register transfers are called read operations, while register to memory transfers are called write operations RTL expressions for a read operation, assuming the use of an address registers: AR <- address DR <- M[AR] RTL expressions for a write operation, assuming use of a data register: DR <- value M[AR] <- DR

Micro-Ops Arithmetic & Logic CPU typically provides addition, subtraction, increment, and decrement operations in its ALU (arithmetic-logic unit). Logic micro-ops are like arithmetic, but treat each bit of the register(s) separately

Applications of Logic Micro-ops How are logic operations useful? - can be used to change bit values - delete a group of bits - insert new bits into a register

Micro-Ops Shift Move the information in a register by one bit position Shifts come in three varieties: - Logical - Arithmetic - Circular

Using RTL to specify Digital System Specification of Digital Components D flip-flop Specification and Implementation of simple system: complete design of the system to implement the RTL code using, Direct connection Bus and Tri-state buffers Bus and Multiplexer

Table: Micro-operation Control Signal Definitions Data-path Design Example Design and Operation Micro-operation RTL Expression X2X1X0 Load A    B 010 Add A    B + A 000 Subtract A    B - A 101 Increment A    B + 1 110 Decrement A    B - 1 011 Table: Micro-operation Control Signal Definitions

More Complex Digital System & RTL There are two complex Digital System and RTL: Module 6 Counter Toll Booth Controller

The End