Chapter 1 Notes
1.1 Computer Architecture vs. Organization
These two fields define different aspects of computer design:
Computer Architecture
- Refers to system attributes visible to a programmer that directly impact the logical execution of a program.
- Examples:
- Instruction set
- Number of bits for data representatio
- I/O mechanisms
- Addressing techniques
- Focus: "What to do?"
- Example: Is a multiply instruction available?
Computer Organization
- Refers to the operational units and their interconnections that implement architectural specifications.
- Examples:
- Control signals
- Interfaces between the computer and peripherals
- Memory technology
- Focus: "How to do?"
- Example: How is that multiply implemented in hardware?
1.2 Structure and Function
A computer's design is viewed through its internal components and their operations:
Basic Functions
All computers perform four main functions:
- Data processing
- Data storage
- Data movement
- Control
Top-Level Structure
-
Central Processing Unit (CPU)
Controls operation and performs data processing -
Main Memory
Stores data and instructions -
Input/Output (I/O)
Moves data between the computer and its external environment -
System Interconnection
A mechanism (typically a system bus) that provides communication among the CPU, memory, and I/O
1.3 The Evolution of Computers
The history of computing is marked by changes in the underlying technology:
First Generation (Vacuum Tubes)
- Characterized by the IAS computer
- Introduced the stored-program concept
- Both data and instructions are stored in the same memory
Second Generation (Transistors)
- Transistors replaced vacuum tubes
- Advantages:
- Smaller
- Cheaper
- More reliable
- Led to:
- High-level programming languages
- Early Operating Systems
Third Generation (Integrated Circuits)
- Introduction of microelectronics
- Multiple components (gates, memory cells) placed on a single semiconductor (e.g., silicon)
Moore's Law
- Proposed by Gordon Moore
- States that the number of transistors on a chip doubles approximately every 18–24 months
- Result:
- Rapid performance increase
- Relatively stable costs
1.4 The Instruction Cycle
The processing required for a single instruction involves two primary steps:
1. Fetch Cycle
- The processor fetches an instruction from memory using the Program Counter (PC)
- The instruction’s opcode is loaded into the Instruction Register (IR)
2. Execute Cycle
- The processor interprets the opcode
- Performs the required action:
- Data movement
- Data processing
- Control flow changes
1.5 Interconnection Structures and Buses
To communicate, computer modules use an interconnection structure, most commonly a System Bus.
Types of Buses
-
Data Bus
- Transfers data between components
- Width (e.g., 32-bit, 64-bit) affects performance
-
Address Bus
- Identifies the source or destination of data
- Width determines maximum memory capacity
-
Control Bus
- Carries command and timing signals
- Examples:
- Memory Read/Write
- Interrupt requests