0% found this document useful (0 votes)
28 views42 pages

Ca 02 RTL

Chapter Two of the Computer Architecture document focuses on Register Transfer Language (RTL), which describes the micro-operation sequences among registers in digital systems. It covers components of computer architecture, including datapath, control unit, and various types of micro-operations such as arithmetic, logic, and memory transfers. The chapter emphasizes the symbolic representation of operations and their execution within a single clock cycle.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views42 pages

Ca 02 RTL

Chapter Two of the Computer Architecture document focuses on Register Transfer Language (RTL), which describes the micro-operation sequences among registers in digital systems. It covers components of computer architecture, including datapath, control unit, and various types of micro-operations such as arithmetic, logic, and memory transfers. The chapter emphasizes the symbolic representation of operations and their execution within a single clock cycle.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

‫معماری کامپیوتر‬

‫فصل دو‬
‫زبان انتقال ثبات‬
Computer Architecture
Chapter Two
Register Transfer
Language (RTL)
Copyright Notice
Architecture
Computer

Parts (text & figures of this lecture are adopted from:

M. M. Mano, C. R. Kime & T. Martin, “Logic & Computer


Design Fundamentals”, 5th Ed., Pearson, 2015

M. Morris Mano, “Computer System Architecture”, Pearson,


1999

Spring 2025 3
M. Morris Mano
Architecture
Computer

Spring 2025 4
Contents
Architecture
Computer

 Introduction
 RTL notifications
 Micro-operations:
 Bus & memory transfers
 Arithmetic, Logic, Shift

 Bus Design

Spring 2025 5
Digital System
Architecture
Computer

 An interconnection of digital hardware


modules, that are constructed from
digital components, such as:

 Registers

 Decoders

 Arithmetic elements

 Control logics

Spring 2025 6
Computer Architecture
Architecture
Computer

 A high-level description of the hardware


from the ISA perspective
 Typically divided into
 a datapath
 a control unit

Spring 2025 7
Datapath Basic Components
Architecture
Computer

 A set of registers,
 The micro-operations performed on data
stored in the registers
 The control interface.

Spring 2025 8
Control Unit
Architecture
Computer

 Provides signals that control the micro-


operations performed in the datapath
and in other components of the system,
such as memories

Spring 2025 9
Interaction of Data Path & Control Unit
Architecture
Computer

Spring 2025 10
Instructions vs. Micro-operations
Architecture
Computer

?
Spring 2025 11
Instructions
Architecture
Computer

 A group of bits that instructs a digital system


(computer) to perform a specific action

 Includes:
 Opcode (Operation code)

 Operand(s)

 For every operation code the control unit


issues a sequence of control signals to initiate
µoperations in internal computer registers

Spring 2025 12
Micro-Operations
Architecture
Computer

 Elementary operations executed on data


stored in registers
 Shift, count, clear, load, …

 The result of the operation may


 Replace the previous data of the register

 Be transferred to another register

Spring 2025 13
Register Transfer Language
Architecture
Computer

A system for expressing in symbolic form,


the µoperation sequences among the
registers of a digital module

Every RTL statement implies a hardware construction for


implementing the transfer in exactly one clock cycle

Spring 2025 14
4-Bit Register
Architecture
Computer

Spring 2025 15
4-Bit Register with Parallel Load
Architecture
Computer

Spring 2025 16
Architecture

Block Diagrams of Registers


Computer

Spring 2025 17
Architecture

Basic Symbols for Register Transfers


Computer

Spring 2025 18
Control Function
Architecture
Computer

if (K1=1) then (R2 ← R1)

is designated as:

K1: R2 ← R1

A Boolean variable that states the condition


on which the transfer should be performed

Spring 2025 19
Architecture

Register Transfer
Computer

Spring 2025 20
Remark!
Architecture
Computer

What are the contents of R1 and R2 after this


µoperation:

P: R2 ← R1, R1 ← R2

?
Spring 2025 21
Micro-operation Types
Architecture
Computer

 Arithmetic µoperations

 Logic µoperations

 Shift µoperations

 Bus & memory transfers

Spring 2025 22
Arithmetic Micro-Operations
Architecture
Computer

Spring 2025 23
Implementation of Add & Subtract µOps
Architecture
Computer

Spring 2025 24
Logic Micro-Operations
Architecture
Computer

Spring 2025 25
Example: Register Cell Design
Architecture
Computer

Spring 2025 26
Examples of Shifts
Architecture
Computer

Spring 2025 27
4-bit Shift Register
Architecture
Computer

Spring 2025 28
Serial Transfer
Architecture
Computer

Spring 2025 29
Example of Serial Transfer
Architecture
Computer

Spring 2025 30
Serial Addition
Architecture
Computer

Spring 2025 31
Memory Transfer
Architecture
Computer

Read: DR ← M[AR]
Write: M[AR] ← DR

Spring 2025 32
Use of Multiplexers
Architecture
Computer

to select between two registers

Spring 2025 33
Generalization of Multiplexer Selection
Architecture
Computer

Spring 2025 34
Single Bus vs. Dedicated Multiplexers
Architecture
Computer

Spring 2025 35
Examples of Register Transfers
Architecture
Computer

using the single bus

Spring 2025 36
Three-State Buffer
Architecture
Computer

Spring 2025 37
Three-State Buffers
Architecture
Computer

forming a multiplexed line OL

Spring 2025 38
Three-State Bus vs. Multiplexer Bus
Architecture
Computer

Spring 2025 39
Final Overview
Architecture
Computer

 Register Transfer Language (RTL):


 The symbolic notation used to describe the µoperation
transfers among registers

 Micro-operations:
 Elementary operations executed on data stored in registers
 Performed in exactly one clock cycle
 Bus & memory transfers
 Arithmetic
 Logic
 Shift

Spring 2025 40
Internal HW Organization (in short)
Architecture
Computer

 Set of registers & their functions

 Sequence of µoperations performed on


them

 The control that initiates the sequence


of µoperations

Spring 2025 41
Block Diagram of a Generic DataPath
Architecture
Computer

Spring 2025 42

You might also like