Professional Documents
Culture Documents
Lec 3 - Computer Function and Interconnection
Lec 3 - Computer Function and Interconnection
Interconnection
BACS 1113 Computer Organization and
Architecture
Overview
● Computer Components
○ Computer Components
○ CPU Components
● Computer Function
○ Instruction Fetch & Execute
● Bus Interconnection
○ Bus Structure
○ Multiple-Bus Hierarchies
● CISC and RISC 2
Computer Components
3
Computer Components - Top Level
4
Computer Components
● Control Unit (CU): Controls the operation of the CPU and hence the
computer.
● Arithmetic and Logic Unit (ALU) : Performs the computer’s data
processing functions.
● Registers:Provides storage internal to the CPU.
● CPU interconnection: mechanism that provides for communication
among the control unit, ALU, and registers.
○ E.g. CPU Internal bus
6
Computer
components:
Top-level View
7
CPU Components: Function of Registers
8
Computer Components: Top-Level View
● Memory module
○ Consists of a set of locations, defined by sequentially numbered
addresses.
○ Stores a binary number (instruction or data).
● I/O module
○ Transfers data from external devices to CPU & memory, and vice
versa.
○ Contains internal buffers for temporarily holding
data until they can be sent on. 9
Computer Functions
10
Instruction Fetch and Execute
11
Instruction Fetch and Execute
12
Instruction Cycle (Fetch Phase)
13
Instruction Cycle (Execute Phase)
940 0003
5. MDR → A ; A = 0003
941 0002
15
Address of the data
to be loaded
940 0003
5. A + MDR → A ; A = 0005
941 0002
16
Address of the data
to be loaded
940 0003
5. A → MDR ; Address 941 store 0005
941 0002 0005
17
Bus Interconnection
18
Bus
19
Bus
21
Data bus
23
Control bus
● Interrupt request :
○ indicates that an interrupt is pending.
● Reset :
○ initializes all modules.
● Clock:
○ is used to synchronize operations.
26
Bandwidth/Data Transfer Rate
27
Question
28
Bus: Direction of Transmission
A B
● Simplex
○ unidirectional
● Half duplex OR
A B
○ bidirectional, one direction at a time
● Full duplex
○ bidirectional simultaneously
A AND B
29
Interconnection Method: Point to Point
30
Multipoint Bus
31
Bus Legacy
● Different types of buses:
a. External CPU bus = expansion bus
b. ISA bus (Industry Standard Architecture) – Sound Card
c. AGP bus (Advanced Graphic Port) – 2-4 times faster than PCI and used for
Video Card.
d. IDE bus (Intelligent Drive Electronics)– Disk Drives
e. PCI bus (Peripheral Component Interconnect) – 32-64b bit and slow
replacing ISA bus.
f. PCI Express
g. USB bus (Universal Serial Bus) – hot swap, plug and unplug and is slowly
wiping out PS/2 port.
32
The chipset
34
Problems found for a single bus
● The more devices attached to the bus, the greater the bus length.
○ Propagation delays : determines the time it takes for devices to
coordinate the use of bus.
○ Affect performance.
● Aggregate data transfer demand approaches the bus capacity.
○ Wider buses can no longer overcome this problem.
○ Multiple buses are used.
35
Traditional bus
architecture
36
Modern bus
architecture
37
CISC and RISC architecture
38
RISC & CISC
39
RISC & CISC
40
CISC
● Characterized by :
○ Few general-purpose registers.
○ Many addressing techniques.
○ Large number of specialized, complex instructions.
○ Instruction are of varying sizes.
● Exp : zSeries, Intel x86 family
41
RISC
● Characterized by :
○ 32 general-purpose registers.
○ Limited addressing modes
○ Limited and simple instruction set.
○ Fixed 4-byte instruction word size.
● Exp : Power PC
42
RISC
43
Instruction Format - CISC & RISC
CISC RISC
44
CISC vs RISC Processing
CISC
RISC
45
FIVE (5) main features of RISC over CISC
46
FIVE (5) main features of RISC over CISC
47
FIVE (5) main features of RISC over CISC
48