Unit 2 - Advanced Computer Architecture - WWW - Rgpvnotes.in
Unit 2 - Advanced Computer Architecture - WWW - Rgpvnotes.in
Superscalar Processors I
Page no:us10
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 11 / 58
Superscalar
Downloaded from and Vector Processors
be.rgpvnotes.in The VLIW Architecture
Page no:us11
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 12 / 58
Superscalar
Downloaded from and Vector Processors
be.rgpvnotes.in The VLIW Architecture
Page no:us12
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 13 / 58
Superscalar
Downloaded from and Vector Processors
be.rgpvnotes.in The VLIW Architecture
Superscalar VLIW
Instruction per 6N 1 large instruction
Cycle does the same work
How do we find Look at ≫ N in- Just do next large
independent structions instructions
instructions
Hardware Cost Expensive Less Expensive
Help from com- Compiler can help Completely de-
piler pends on compiler
Page no:us14
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 15 / 58
Superscalar
Downloaded from and Vector Processors
be.rgpvnotes.in Scalar RISC and Superscalar RISC
Page no:us17
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 18 / 58
Downloaded from Memory Hierarchy
be.rgpvnotes.in
Hierarchical Memory Technology I
Storage devices such as registers, caches, main memory, disk devices and
tape units are often organised as a hierarchy. The memory technology and
storage organisation at each level are characterized by five parameters:
access time, memory size, cost per byte, transfer bandwidth and unit of
transfer.
Access time refers to the roundtrip time from the CPU to the ith-level
memory.
The memory size is the number of bytes or words in level i.
The cost of ith-level memory is estimated by the product of cost per
byte and memory size.
The bandwidth refers to the rate at which information is transferred
between adjacent levels.
The unit of transfer refers to the grain size for data transfer between
level i and i + 1.
Page no:us18
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 19 / 58
Downloaded from Memory Hierarchy
be.rgpvnotes.in
Hierarchical Memory Technology II
Page no:us19
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 20 / 58
Downloaded from Memory Hierarchy
be.rgpvnotes.in
Hierarchical Memory Technology III
Page no:us20
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 21 / 58
Downloaded from Memory Hierarchy
be.rgpvnotes.in Inclusion, Coherence and Locality
references to these pages vary from time to time, however they follow
certain access patterns. These memory reference access patterns are
caused by the following locality properties:
1 Temporal Locality: Recently referenced items are likely to be
referenced again in the near future. This is often caused by the special
program constructs such as iterative loops, process stacks, temporary
variables, or subroutines.
2 Spatial Locality: This referes to the tendency for a process to access
items whose addresses are near one another. For example, operations
on tables or array involve accesses of a certain clustered area in the
address space. Program segments such as routines and macros tend to
be stored in the same neighbourhood of the memory space.
3 Sequential Locality: In typical programs, the execution of instructions
follows a sequential order unless branch instructions create out-of-order
execution. Besides, the access of a large data array also follows a
sequential order.
Page no:us23
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 24 / 58
Downloaded from Memory Hierarchy
be.rgpvnotes.in Memory Capacity Planning
Page no:us24
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 25 / 58
Downloaded from Memory Hierarchy
be.rgpvnotes.in Memory Capacity Planning
Page no:us27
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 28 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Interleaved Memory Organisation
1 In order to close up the speed gap between the CPU/cache and main
memory built with RAM modules, an interleaving technique is used.
2 The memory design goal is to broaden the effective memory
bandwidth so that more memory words can be accessed per unit type.
3 The ultimate purpose is to match the memory bandwidth with the
bus bandwidth and with the processor bandwidth.
Memory Interleaving
1 The main memory is built with memory modules connected to a
system bus.
2 Once presented with a memory address, each memory module returns
with one word per cycle.
3 It is possible to present different addresses to different memory
modules so that parallel access of multiple words can be done
sumulatenously or in a pipelined fashion.
Page no:us28
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 29 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Interleaved Memory Organisation
Page no:us29
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 30 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Interleaved Memory Organisation
Page no:us30
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 31 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Interleaved Memory Organisation
Page no:us31
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 32 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Interleaved Memory Organisation
Page no:us32
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 33 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Interleaved Memory Organisation
Page no:us33
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 34 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Bandwidth and Fault Tolerance
Memory Bandwidth I
Page no:us34
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 35 / 58
Downloaded from Shared-Memory Organisation
be.rgpvnotes.in Bandwidth and Fault Tolerance
Fault Tolerance I
Page no:us35
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 36 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in
Backplane Bus Systems I
Page no:us36
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 37 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in
Backplane Bus Specifications I
Page no:us37
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 38 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in
Backplane Bus Specifications II
Page no:us38
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 39 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in
Backplane Bus Specifications III
Page no:us39
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 40 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in
Addressing and Timing Protocols I
Page no:us40
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 41 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in
Page no:us41
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 42 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Addressing and Timing Protocols
There are two types of printed circuit boards: active and passive.
Active boards can act as bus masters or slaves at different times.
Passive boards like memory boards can act only as slaves.
The master can initiate a bus cycle, and the slaves respond to
requests by a master.
Only one master can control the bus at a time. Howerver, one or
more slaves can respond to the master’s request at the same time.
Page no:us42
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 43 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Addressing and Timing Protocols
Bus Addressing
Page no:us43
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 44 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Addressing and Timing Protocols
Page no:us44
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 45 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Addressing and Timing Protocols
Synchronous Timing I
Page no:us45
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 46 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Addressing and Timing Protocols
Asynchronous Timing I
Asynchronous Timing II
It allows fast and slow devices to be cponnected on the same bus, and
it is less prone to noise.
Offers better application flexibility at the expense of increased
complexity and costs.
Page no:us47
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 48 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Addressing and Timing Protocols
Page no:us48
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 49 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
The process of selecting the next bus master is called bus arbitration.
The duration of a master’s control of the bus is called bus tenure.
The arbitration process is designed to restrict tenure of the bus to one
master at a time.
Competing requests must be arbitrated on a fairness or priority basis.
Page no:us49
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 50 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
Central Arbitration I
Central Arbitration II
Page no:us51
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 52 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
Page no:us52
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 53 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
Multiple bus-request and bus-grant signal lines are provided for each
potential master.
No daisy chanining is used.
The arbitration among potential masters is still carried out by a
central arbiter.
The advantage of using independent requests and grants in bus
arbitration is their flexibility and faster arbitration time compared with
the daisy chained policy.
Drawback is the large number of arbitration lines used.
Page no:us53
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 54 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
Distributed Arbitration I
Each potential master is equipped with its own arbiter and a unique
arbitration number.
The arbitration number is used to resolve the arbitration competition.
When two or more devices compete for the bus, the winner is the one
whose arbitration number is the largest.
Parallel contention arbitration arbitration is used to determine which
device has the highest arbitration number.
The winner seizes control of the bus.
Page no:us54
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 55 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
Page no:us55
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 56 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
Transaction Modes I
Page no:us56
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 57 / 58
Downloaded from Backplane Bus Systems
be.rgpvnotes.in Arbitration, Transaction, and Interrupt
Interrupt Mechanisms I
Page no:us57
Follow on facebook to get real-time updates from RGPV
Veena Khandelwal (Dept of CSE IIST Indore) Advance Computer Architecture March 27, 2018 58 / 58
We hope you find these notes useful.
You can get previous year question papers at
https://qp.rgpvnotes.in .