Top Level View of Computer Function and Interconnection
Top Level View of Computer Function and Interconnection
FACULTY OF SCIENCES
DEPARTMENT OF COMPUTER SCIENCES
ICT4D L3
Author:
CHE SWANSEN S.
2 Computer Components 2
2.1 Processor (CPU) . . . . . . . . . . . . . . . . . . . . . . . 2
2.2 Main Memory . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3 Input/Output Modules . . . . . . . . . . . . . . . . . . . . 3
2.4 System Bus . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.5 Secondary Storage . . . . . . . . . . . . . . . . . . . . . . 3
3 Computer Function 3
3.1 Example: Executing a Simple Addition . . . . . . . . . . . 4
5 Interrupts 6
5.1 Types of Interrupts . . . . . . . . . . . . . . . . . . . . . . 6
5.2 Example: Keyboard Interrupt . . . . . . . . . . . . . . . . 6
6 I/O Function 7
6.1 Example: Data Transfer Using DMA . . . . . . . . . . . . 7
7 Interconnection Structures 7
7.1 Types of Interconnections . . . . . . . . . . . . . . . . . . 7
8 Bus Interconnection 8
8.1 Example: Bus Data Transfer . . . . . . . . . . . . . . . . . 8
8.2 Point-to-Point Interconnect . . . . . . . . . . . . . . . . . 8
8.2.1 Characteristics of Point-to-Point Interconnect . . . 8
8.2.2 Examples of Point-to-Point Interconnect . . . . . . 9
8.2.3 Advantages of Point-to-Point Interconnect . . . . . 9
8.3 QuickPath Interconnect (QPI) . . . . . . . . . . . . . . . . 9
8.3.1 QPI Architecture . . . . . . . . . . . . . . . . . . . 9
8.3.2 Detailed Layers of QPI . . . . . . . . . . . . . . . . 10
8.3.3 Benefits of QPI . . . . . . . . . . . . . . . . . . . . 11
8.3.4 Example Use Case of QPI . . . . . . . . . . . . . . 11
8.4 Comparison: Point-to-Point vs. Bus Interconnects . . . . . 11
8.4.1 Future Trends in Point-to-Point Interconnects . . . 12
1
1 Introduction
Modern computer systems depend on efficient organization and commu-
nication between components to ensure performance, scalability, and re-
liability. This chapter provides a comprehensive overview of computer
components, their roles, and the mechanisms that enable seamless inter-
connection. Additionally, we explore interconnection structures, protocols,
and architectures that form the backbone of contemporary computer sys-
tems.
—
2 Computer Components
A computer system is composed of five fundamental components, each
serving a specific function. Together, they allow the computer to execute
instructions and perform useful tasks.
2
• Arithmetic Logic Unit (ALU): Performs mathematical calcula-
tions and logical operations.
3 Computer Function
A computer performs four primary functions:
3
3. Data Processing: Executes arithmetic and logical operations on
data.
4
Figure 2: Fetch Decode Execute Cycle
5
4.1 Example: Fetching an Addition Instruction
Suppose the CPU encounters the instruction ‘ADD R1, R2, R3‘, which
adds the contents of registers R2 and R3 and stores the result in R1. The
cycle works as follows:
• Fetch: Retrieve the instruction ‘ADD R1, R2, R3‘ from memory.
5 Interrupts
Interrupts are mechanisms that allow the CPU to pause its current task,
handle an event, and then resume. This ensures efficient handling of asyn-
chronous tasks.
6
6 I/O Function
Input/output operations allow the computer to interact with external de-
vices. There are three main techniques:
7 Interconnection Structures
The interconnection structure connects the CPU, memory, and I/O mod-
ules. It determines the efficiency of communication within the system.
7
8 Bus Interconnection
The bus is a shared medium for data transfer. It consists of:
8
8.2.2 Examples of Point-to-Point Interconnect
• Intel QuickPath Interconnect (QPI): Used in Intel processors
for high-speed communication between CPUs and between CPUs
and memory.
• Routing Layer: Determines the path that data packets take be-
tween the source and destination.
9
8.3.2 Detailed Layers of QPI
1. QPI Physical Layer
10
8.3.3 Benefits of QPI
• High Performance: QPI provides high bandwidth, enabling pro-
cessors to exchange data at speeds of up to several gigabytes per
second.
• Point-to-Point Interconnects:
11
8.4.1 Future Trends in Point-to-Point Interconnects
With increasing demands for high-speed data transfer and parallel process-
ing, point-to-point interconnects are evolving. Emerging technologies such
as Compute Express Link (CXL) are designed to provide even faster and
more efficient communication between CPUs, memory, and accelerators
like GPUs.
12