1.1 Organization and Architecture
COS2621 - Computer Organisation · 1. Basic Concepts and Computer Evolution
1. Basic Concepts and Computer Evolution
1.1 Organization and Architecture
Computer organization and architecture are fundamental concepts in understanding how computers operate. Computer organization refers to the physical components and their interconnections that implement the architecture. This includes the central processing unit (CPU), memory, and input/output (I/O) devices. In contrast, computer architecture is the abstract design that defines the attributes of a system as perceived by the programmer, such as the instruction set architecture (ISA), data formats, and addressing modes.
Remember: The architecture provides a high-level view, while organization focuses on the implementation of that view.
Key Components of Computer Organization
The main components of computer organization include:
- CPU: The brain of the computer where most calculations take place.
- Memory: Used to store data and instructions, including cache, RAM, and storage devices.
- I/O Devices: Allow communication between the computer and the external environment.
- Buses: Communication pathways that connect different components of the computer.
Understanding the CPU
The CPU consists of several parts:
- Arithmetic Logic Unit (ALU): Performs arithmetic and logical operations.
- Control Unit (CU): Directs the operation of the processor and its interaction with other components.
- Registers: Small storage locations within the CPU used to hold temporary data and instructions.
Example: CPU Operation
Consider the instruction ADD A, B. The CPU fetches this instruction from memory, decodes it to understand it needs to add the values of registers A and B, and executes the addition in the ALU. The result is then stored back in register A.
Architecture vs. Organization
Architecture defines what a computer can do, while organization defines how it does it. For example, an architecture might specify a 32-bit instruction set, while the organization could implement it with a specific type of ALU and memory hierarchy. Architectural attributes include control signals, I/O mechanisms, and interfaces, which are essential for the logical execution of a program.
Watch out: Confusing architecture with organization can lead to misunderstandings about how a computer works.
Real-World Implications
Understanding the difference between organization and architecture is crucial for computer engineers. It helps in designing systems that are efficient and meet user requirements. For instance, modern processors may use pipelining to improve instruction throughput, which is an organizational technique. It is an architectural design issue whether a multiply instruction will be implemented by a special multiply unit or by a mechanism that makes repeated use of the add unit of the system.
In summary, computer organization involves the physical components of a computer, while computer architecture is about the logical structure and capabilities of the system. The CPU is central to computer organization, comprising the ALU, CU, and registers.
Check your understanding
- What is the difference between computer organization and architecture?
- List the main components of a CPU.
- Explain the role of the ALU in the CPU.
- Why is it important to understand both organization and architecture in computer design?
Test yourself
4 quick questions on this lesson. Pick an answer to see if you're right.
1. Which of the following best describes the difference between architecture and organization?
2. What does computer organization primarily refer to?
3. What is the primary role of the Control Unit (CU) in the CPU?
4. Which component of the CPU is responsible for performing arithmetic and logical operations?