Lecture 1
Lecture 1
Architecture
Lecture 1
CSCE 312 1
What is Computer Architecture?
Computer Architecture =
Machine Organization
What is Computer Architecture?
Specification detailing how a set of software
and hardware technology standards interact
to form a computer system or platform.How a
computer system is designed and what
technologies it is compatible with.
Hardware Organization
CPU
Register file
PC ALU
System bus Memory bus
I/O Main
Bus interface
bridge memory
I/O bus
Expansion slots for
USB Graphics Disk other devices such
controller adapter controller as network adapters
Mouse Keyboard Display
hello executable
Disk stored on disk
Hardware Organization
• CPU: Central Processing Unit
• ALU: Arithmetic/Logic Unit
• PC: Program Counter
• USB: Universal Serial Bus
Main Memory
• A temporary storage device that holds both a
program and the data it manipulates.
• Consists of a collection of dynamic random
access memory (DRAM) chips.
• Logically a linear array of bytes.
Processor
• The engine that interprets instructions stored in main
memory.
• At any point in time, the PC points at some machine
language instruction in main memory.
• A processor repeatedly executes the instruction
pointed at by the PC.
• A processor operates according to a very simple
instruction execution model, defined by its
instruction set architecture (ISA).
Abstraction
• Both hardware and software consists of
hierarchical layers (abstraction).
– To cope with the complexity of computer systems.
• The interface between the hardware and low-
level software: Instruction Set Architecture
(ISA)
Register File, ALU
• The register file is a small storage device that
consists of a collection of word-sized registers,
each with its own unique name.
• The ALU computes new data and address
values (add, subtract, multiply, divide, or, and,
xor, etc.)
Memory Hierarchy
Smaller, L0:
faster, Registers CPU registers hold words
and retrieved from cache memory.
costlier On-chip L1
L1:
(per byte) cache (SRAM) L1 cache holds cache lines
storage retrieved from the L2 cache.
devices L2: Off-chip L2
cache (SRAM) L2 cache holds cache lines
retrieved from memory.
CSCE 312 10
Memory Hierarchy
REGISTERS
Faster Smaller
CACHE
MEMORY