Ca 02 RTL
Ca 02 RTL
فصل دو
زبان انتقال ثبات
Computer Architecture
Chapter Two
Register Transfer
Language (RTL)
Copyright Notice
Architecture
Computer
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
Registers
Decoders
Arithmetic elements
Control logics
Spring 2025 6
Computer Architecture
Architecture
Computer
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
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
Includes:
Opcode (Operation code)
Operand(s)
Spring 2025 12
Micro-Operations
Architecture
Computer
Spring 2025 13
Register Transfer Language
Architecture
Computer
Spring 2025 14
4-Bit Register
Architecture
Computer
Spring 2025 15
4-Bit Register with Parallel Load
Architecture
Computer
Spring 2025 16
Architecture
Spring 2025 17
Architecture
Spring 2025 18
Control Function
Architecture
Computer
is designated as:
K1: R2 ← R1
Spring 2025 19
Architecture
Register Transfer
Computer
Spring 2025 20
Remark!
Architecture
Computer
P: R2 ← R1, R1 ← R2
?
Spring 2025 21
Micro-operation Types
Architecture
Computer
Arithmetic µoperations
Logic µoperations
Shift µoperations
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
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
Spring 2025 36
Three-State Buffer
Architecture
Computer
Spring 2025 37
Three-State Buffers
Architecture
Computer
Spring 2025 38
Three-State Bus vs. Multiplexer Bus
Architecture
Computer
Spring 2025 39
Final Overview
Architecture
Computer
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
Spring 2025 41
Block Diagram of a Generic DataPath
Architecture
Computer
Spring 2025 42