Lecture 1 Introduction To Computer Architecture and Organization
Lecture 1 Introduction To Computer Architecture and Organization
Computer Organization
and Architecture
8th Edition
Chapter 1
Basic Concepts and Computer Evolution
components: Registers
Provide storage internal to the CPU
CPU Interconnection
Some mechanism that provides for communication
among the control unit, ALU, and registers
Multicore Computer Structure
Central processing unit (CPU)
Portion of the computer that fetches and executes instructions
Consists of an ALU, a control unit, and registers
Referred to as a processor in a system with a single processing unit
Core
An individual processing unit on a processor chip
May be equivalent in functionality to a CPU on a single-CPU system
Specialized processing units are also referred to as cores
Processor
A physical piece of silicon containing one or more cores
Is the computer component that interprets and executes instructions
Referred to as a multicore processor if it contains multiple cores
Cache Memory
Multiple layers of memory between the processor and main memory
Memory address register • Specifies the address in memory of the word to be written from or read into the
(MAR) MBR
Instruction register (IR) • Contains the 8-bit opcode instruction being executed
Instruction buffer register • Employed to temporarily hold the right-hand instruction from a word in memory
(IBR)
Program counter (PC) • Contains the address of the next instruction pair to be fetched from memory
Accumulator (AC) and • Employed to temporarily hold operands and results of ALU operations
multiplier quotient (MQ)
Structure of IAS
The IAS Instruction Set
Table 1.1
The IAS
Instruction Set
IAS Machine. Design directed
by John von Neumann.
First booted in Princeton NJ
in 1952
Introduced:
More complex arithmetic and logic units and control units
The use of high-level programming languages
Provision of system software which provided the ability to:
Load programs
Move data to peripherals
Libraries perform common computations
Third Generation: Integrated Circuits
Discrete component
Single, self-contained transistor
Manufactured separately, packaged in their own containers, and soldered or wired
together onto masonite-like circuit boards
Manufacturing process was expensive and cumbersome
The two most important members of the third generation were the IBM
System/360 and the DEC PDP-8
Integrated Circuits
A computer consists of gates, memory cells, and
Data storage – provided by interconnections among these elements
memory cells
The gates and memory cells are constructed of
Data processing – provided by simple digital electronic components
gates
Exploits the fact that such components as
Data movement – the paths among transistors, resistors, and conductors can be
components are used to move data fabricated from a semiconductor such as silicon
from memory to memory and from
memory through gates to memory Many transistors can be produced at the same time
on a single wafer of silicon
Control – the paths among Transistors can be connected with a processor
components can carry control metallization to form circuits
signals
Moore’s Law
• Increased density of components on chip
• Gordon Moore – co-founder of Intel
• Number of transistors on a chip will double every year
• Since 1970’s development has slowed a little
– Number of transistors doubles every 18 months
• Cost of a chip has remained almost unchanged
• Higher packing density means shorter electrical paths, giving higher
performance
• Smaller size gives increased flexibility
• Reduced power and cooling requirements
• Fewer interconnections increases reliability
Growth in CPU Transistor Count
IBM 360 series
Announced in 1964
Was the success of the decade and cemented IBM as the overwhelmingly
dominant computer vendor
Similar or identi-
Similar or identi-
cal operating sys- Increasing speed
cal instruction set
tem
Semiconductor Memory
In 1974 the price per bit of semiconductor memory dropped below the price per bit of core memory
There has been a continuing and rapid decline in memory
Developments in memory and processor technologies
cost accompanied by a corresponding increase in physical
changed the nature of computers in less than a decade
memory density
Each generation has provided four times the storage density of the previous generation, accompanied by declining cost
per bit and declining access time
Microprocessors
The density of elements on processor chips continued to rise
More and more elements were placed on each chip so that fewer and fewer chips were
needed to construct a single computer processor
• Conclusions
– f small, parallel processors has little effect
– N ->∞, speedup bound by 1/(1 – f)
• Diminishing returns for using more processors
Addressing Modes: How to Get Operands from Memory
Data Types and Sizes
Types
–Binary Integer
–Binary Coded Decimal (BCD)
–Floating Point
•IEEE 754
•Cray Floating Point
•Intel Extended Precision (80-bit)
–Packed Vector Data
–Addresses
•Width
–Binary Integer (8-bit, 16-bit, 32-bit, 64-bit)
–Floating Point (32-bit, 40-bit, 64-bit, 80-bit)
–Addresses (16-bit, 24-bit, 32-bit, 48-bit, 64-bit)
ISA Encoding
Fixed Width: Every Instruction has same width
•Easy to decode
(RISC Architectures: MIPS, PowerPC, SPARC, ARM…)
Ex: MIPS, every instruction 4-bytes
Variable Length: Instructions can vary in width
•Takes less space in memory and caches
(CISC Architectures: IBM 360, x86, Motorola 68k, VAX…)
Ex: x86, instructions 1-byte up to 17-bytes
Mostly Fixed or Compressed:
•Ex: MIPS16, THUMB (only two formats 2 and 4 bytes)
•PowerPC and some VLIWs (Store instructions compressed, decompress into Instruc-
tion Cache
(Very) Long Instruction Word:
•Multiple instructions in a fixed width bundle
•Ex: Multiflow, HP/ST Lx, TI C6000
x86 (IA-32) Instruction Encoding
ARM is a family of RISC- based microprocessors and microcontrollers designed by ARM Holdings,
Cambridge, England. The company doesn’t make processors but instead designs microprocessor
and multicore architectures and licenses them to manufacturers. ARM chips are high- speed proces-
sors that are known for their small die size and low power requirements.
• cortex-a The Cortex-A series of processors are application processors, intended for
mobile devices such as smartphones and eBook readers
• cortex-r The Cortex-R is designed to support real- time applications, in which the timing of
events needs to be controlled with rapid response to events.
• cortex-m series processors have been developed primarily for the microcontroller domain
where the need for fast, highly deterministic interrupt management is coupled with the desire for
extremely low gate count and lowest possible power consumption.
Recap
Review Questions
What, in general terms, is the distinction between computer organization
and computer architecture?
What, in general terms, is the distinction between computer structure and
computer function?
List and briefly define the main structural components of a computer.
List and briefly define the main structural components of a processor.
What is a stored program computer?
What are the three principal constituents of a computer system?
Explain Moore’s law.
List and explain the key characteristics of a computer family.
Classes of Instructions
• Data Transfer
–LD, ST, MFC1, MTC1, MFC0, MTC0
•ALU
–ADD, SUB, AND, OR, XOR, MUL, DIV, SLT, LUI
•Control Flow
–BEQZ, JR, JAL, TRAP, ERET
•Floating Point
–ADD.D, SUB.S, MUL.D, C.LT.D, CVT.S.W,
•Multimedia (SIMD)
–ADD.PS, SUB.PS, MUL.PS, C.LT.PS
•String
–REP MOVSB (x86)
Thank you