Professional Documents
Culture Documents
The CPU & Memory - Design and Enhancement
The CPU & Memory - Design and Enhancement
Design and
Enhancement
EDITED ON MAR2020
Lesson Outcomes
Fetch-execute Instruction Cycle
CPU Architectures
CPU Enhancements (Separate fetch/execute
unit, pipelining, multiple parallel execution
units, superscalar processing,multiprocessing)
Memory Enhancements (wide path memory
access, memory interleaving, cache memory)
PC MAR
Result instruction transferred from specified
memory location to MDR
MDR IR
Result IR will hold the instruction through the
rest of the instruction cycle (that will control the
particular steps that make up remainder of cycle)
Program Counter: 12
Value in Memory Location 12: 530 (LOAD 30)
Value in Memory Location 13: 376 (ADD 76)
Value in Memory Location 30: 777
Value in Memory Location 76: 210
At the end of fetching step in the first instruction cycle, give the contents
of the following:
First instruction:(fetching)
PC MAR MAR =
MDR IR IR =
Program Counter: 45
Value in Memory Location 44: 398 (ADD 98)
Value in Memory Location 45: 599 (LOAD 99)
Value in Memory Location 46: 123
Value in Memory Location 98: 777
Value in Memory Location 99: 210
At the end of each step in the instruction cycle, give the contents of the following:
PC MAR MAR =
MDR IR IR =
IR [address] MAR MAR =
MDR A A =
PC + 1 PC PC =
Asymmetric Multiprocessing
(Master Slave) Tightly- Loosely-
Coupled Coupled
System System
Symmetric Multiprocessing
(Peers)
1) Tightly-coupled systems
Connected CPUs share some or all of the
system's memory & to some I/O devices
Can divide program execution
Two types:
1. Master-slave multiprocessing
2. Symmetrical multiprocessing (SMP)
Master CPU
Manages
the system
Controls all
resources
and
scheduling
Assigns
tasks to
slave CPUs
Tightly-Coupled System
ASSYMETRIC/MASTER SLAVE
ADVANTAGES DISADVANTAGES