Unit 5 COA
Unit 5 COA
Memory
Dr. S. K. Verma
Introduction
programs and the data they operate on are held
in the memory of the computer.
memory would be fast, large, and inexpensive.
maximum size of the memory that can be used
in any computer is determined by the
addressing scheme.
memory is usually designed to store and
retrieve data in word-length quantities.
connection between the processor and its
memory consists of address, data, and control
lines
Contd.
CMOS Cell
Transistor pairs (T3, T5) and (T4, T6) form the inverters in the latch.
in state 1, the voltage at point X is maintained high by having transistors T3 and T6
on while T4 and T5 are off
If T1 and T2 are turned on, bit lines b and b’ will have high and low signals,
respectively.
Continuous power is needed for the cell to retain its state.
SRAMs are said to be volatile memories.
advantage of CMOS SRAMs is their very low power consumption and Static RAMs
can be accessed very quickly
Dynamic RAMs
recently used
(LRU) block,
and the
technique is
cache has space for only eight blocks
called the LRU of data
replacement
each block consists of only one 16-bit
algorithm. word of data and the memory is
word-addressable with 16-bit
addresses
Locating a Block in the
Cache
Contd.
Content Addressable Memory (CAM)
◦ CAM is a circuit that combines comparison and
storage in a single device
Reducing the Miss Penalty Using
Multilevel Caches
◦ second-level cache is normally on the same chip
and is accessed whenever a miss occurs in the
primary cache.
Measuring and Improving Cache
Performance
Contd.
Contd.