William Stallings �Computer Organization �and Architecture�10th Edition
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Chapter 3
A Top-Level View of Computer
Function and Interconnection
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Computer Components
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Hardware �and Software Approaches
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
I/O �Components
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Software
Major components:
Software
+
MEMORY
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Memory address register (MAR)
Memory buffer register (MBR)
I/O address register (I/OAR)
I/O buffer register (I/OBR)
MAR
MBR
+
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Fetch Cycle
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Action Categories
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Processor-memory
Processor-I/O
Data processing
Control
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 3.1
Classes of Interrupts
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
I/O Function
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
The interconnection structure must support the following types of transfers:
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Memory to processor
Processor reads an instruction or a unit of data from memory
Processor to memory
Processor writes a unit of data to memory
I/O to processor
Processor reads data from an I/O device via an I/O module
Processor to I/O
Processor sends data to the I/O device
I/O to or from memory
An I/O module is allowed to exchange data directly with memory without going through the processor using direct memory access
Bus Interconnection
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
A communication pathway connecting two or more devices
Signals transmitted by any one device are available for reception by all other devices attached to the bus
Typically consists of multiple communication lines
Computer systems contain a number of different buses that provide pathways between components at various levels of the computer system hierarchy
System bus
The most common computer interconnection structures are based on the use of one or more system buses
Data Bus
is a key factor in
determining overall
system performance
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Address Bus Control Bus
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Point-to-Point Interconnect
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Principal reason for change was the electrical constraints encountered with increasing the frequency of wide synchronous buses
At higher and higher data rates it becomes increasingly difficult to perform the synchronization and arbitration functions in a timely fashion
A conventional shared bus on the same chip magnified the difficulties of increasing bus data rate and reducing bus latency to keep up with the processors
Has lower latency, higher data rate, and better scalability
+
Quick Path Interconnect
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
QPI
+
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
QPI Link Layer
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
QPI Routing and Protocol Layers
Routing Layer
Protocol Layer
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Peripheral Component Interconnect (PCI)
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
PCIe ��Transaction Layer (TL)
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
The TL supports four address spaces:
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Table 3.2 �PCIe TLP Transaction Types
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Summary
Chapter 3
A Top-Level View of Computer Function and Interconnection
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+