Chapter 1
Chapter 1
Introduction
2024
Overview
• Introduction to Computer Organization
• Course overview
• Housekeeping details
• Computer abstraction
• Anatomy of a computer
• Conclusion
Introduction
• Rapidly changing field:
– vacuum tube -> transistor -> IC -> VLSI
– doubling every 1.5 years (Moore’s law):
• Memory capacity
• Processor speed (Due to advances in technology and organization)
• Things you’ll be learning:
– how computers work, a basic foundation
– how to analyze their performance (or how not to!)
– issues affecting modern processors (caches, pipelines)
• Why learn this stuff?
– you want to call yourself a “computer scientist”
– you want to build software people use (need performance)
– you need to make a purchasing decision or offer advice
Computing System
Application (Browser)
Operating
Compiler System
Assembler (Win, Linux)
Software
Instruction Set
Hardware Processor Memory I/O system Architecture
Control Signal
Specification
°
°
A Six-Level Computer
A Six-Level Computer
• Digital Logic Level
The interesting objects at this level are gates;
Each gate has one or more digital inputs (signals representing
a 0 or 1) and computes as output some simple function of
these inputs, such as AND or OR;
A small number of gates can be combined to form a 1-bit
memory, whcih can store a 0 or 1; • The 1-bit memories
can be combined in groups of, for example, 16, 32 or 64 to
form registers
A Six-Level Computer
• Microarchitecture Level
• At this level we see a collection of (typically) 8-32
registers that form a local memory and a circuit called an
ALU (Arithmetic Logic Unit) that is capable of performing
simple arithmetic operations;
• The registers are connected to the ALU to form a data path
over which the data flow;
• The basic operation of the data path consists of selecting
one or two registers having the ALU operate on them;
• On some machines the operation of the data path is
controlled by a program called a microprogram, on other
machine it is controlled by hardware.
A Six-Level Computer
• Instruction Set Architecture Level
• Those level 3 instructions identical to level 2’s are carried out directly
by the microprogram (or hardwired control), not by the OS;
Von Neumann
Machine
Processor
Datapath
Memory I/O
Bus-Based Computer
Anatomy of a Modern PC
Multiprocessors
Local
Memory
Conclusion
– Principle of abstraction, used to build systems as layers
– Pliable Data: a program determines what it is
– Stored program concept: instructions are just data
– Principle of Locality, exploited via memory hierarchy
– Greater performance by exploiting parallelism (pipeline)
– Compilation v. interpretation to move downward through
layers of system
– Principles/Pitfalls of Performance Measurement