CAO Assignment
CAO Assignment
CAO Assignment
Assignment
Advantages:
● Simplicity – a refresh circuit is not needed
● Performance
● Reliability
● Low idle power consumption
Disadvantages:
● Price
● Density
● High operational power consumption
USE OF SRAM
Embedded use
DRAM
DRAM stands for Dynamic Random Access Memory.
Dynamic random-access memory (DRAM) is a type
of random access semiconductor memory that stores
each bit of data in a memory cell consisting of a tiny
capacitor and a transistor, both typically based on
metal-oxide-semiconductor (MOS) technology. The
capacitor can either be charged or discharged; these
two states are taken to represent the two values of a
bit, conventionally called 0 and 1. The electric charge
on the capacitors slowly leaks off, so without
intervention the data on the chip would soon be lost. To
prevent this, DRAM requires an external memory
refresh circuit which periodically rewrites the data in the
capacitors, restoring them to their original charge. This
refresh process is the defining characteristic of
dynamic random-access memory, in contrast to static
random-access memory (SRAM) which does not
require data to be refreshed. Unlike flash memory,
DRAM is volatile memory (vs. non-volatile memory),
since it loses its data quickly when power is removed.
However, DRAM does exhibit limited data remanence.
DRAM typically takes the form of an integrated circuit
chip, which can consist of dozens to billions of DRAM
memory cells. DRAM chips are widely used in digital
electronics where low-cost and high-capacity computer
memory is required. One of the largest applications for
DRAM is the main memory (colloquially called the
"RAM") in modern computers and graphics cards
(where the "main memory" is called the graphics
memory). It is also used in many portable devices and
video game consoles. In contrast, SRAM, which is
faster and more expensive than DRAM, is typically
used where speed is of greater concern than cost and
size, such as the cache memories in processors.
History
The cryptanalytic machine code-named "Aquarius"
used at Bletchley Park during World War II
incorporated a hard-wired dynamic memory. Paper
tape was read and the characters on it "were
remembered in a dynamic store. ... The store used a
large bank of capacitors, which were either charged or
not, a charged capacitor representing cross (1) and an
uncharged capacitor dot (0). Since the charge
gradually leaked away, a periodic pulse was applied to
top up those still charged (hence the term 'dynamic')"
Characteristics
Advantages and Disadvantages of DRAM
Advantages
➨DRAM memory can be deleted and refreshed
while running the program.
➨Cheaper compare to SRAM.
➨It is smaller in size.
➨It has higher storage capacity. Hence it is
used to create larger RAM space system.
➨It is simple in structure than SRAM.
Disadvantages
➨It is comparatively slower than SRAM. Hence
it takes more time for accessing data or
information.
➨It loses data when power is OFF.
➨It has higher power consumption compare to
SRAM.
USE OF DRAM
Dynamic Random Access Memory (DRAM) is a type
of memory used for the temporary storage of
information in computer systems. DRAM has dozens
of applications, many which have evolved over the
past ten years. As technology advances and next-
generation devices are in development, the
applications for various forms of DRAM are
becoming broader.
Personal Computers and Mobile Devices
Early DRAM was most used in personal computers
and related components. With the great demand for
mobile technology, DRAM is now needed for many
handheld and mobile devices as well. For example,
special DRAM is designed for certain devices that
require low power consumption and long battery life.
Below is a list of PC and mobile related equipment in
which DRAM is critical:
● Cell Phones
● Desktop Computers
● Digital Signal Controller (DSC)
● Global Positioning System (GPS)
● Personal Data Assistant (PDA)
● Smartphones
● Tablets and Pads
Consumer Electronics
● Digital Cameras
● Portable Media Players
● Set-top Boxes
● Smart TVs
● Video Cards
DESIGN of DRAM
A Dram cell consists of a capacitor connected by a
pass transistor to the bit line (or digit line or column
line). The digit line (or column line) is connected to a
multitude of cells arranged in a column. The word line
(or row line) is also connected to a multitude of cells,
but arranged in a row. (See Figure 2.) If the word line is
ascertained, then the pass transistor T1 in Figure 1 is
opened and the capacitor C1 is connected to the bit
line.
The DRAM memory cell stores binary information in
the form of a stored charge on the capacitor. The
capacitor's common node is biased approximately at
VCC/2. The cell therefore contains a charge of Q =
±VCC/2 • Ccell, if the capacitance of the capacitor is Ccell.
The charge is Q = +VCC/2 • Ccell if the cell stores a 1,
otherwise the charge is Q = -VCC/2 • Ccell. Various leak
currents will slowly remove the charge, making a
refresh operation necessary.
If we open the pass transistor by asserting the word
line, then the charge will dissipate over the digit line,
leading to a voltage change. The voltage change is
given by (Vsignal observed voltage change in the digit
line, Ccell the capacitance of the DRAM cell capacitor,
and Cline the capacitance of the digit line
Vsignal = Vcell• Ccell• (Ccell + Cline)-1
For example, if VCC is 3.3V, then Vcell is 1.65V. Typical
values for the capacitances are Cline = 300fF and Ccell =
50fF. This leads to a signal strength of 235 mV. When
a DRAM cell is accessed, it shares its charge with the
digit line.
DRAM OPERATIONS
Associative Mapping –
In this type of mapping, the associative memory is
used to store content and addresses of the memory
word. Any block can go into any line of the cache.
This means that the word id bits are used to identify
which word in the block is needed, but the tag
becomes all of the remaining bits. This enables the
placement of any word at any place in the cache
memory. It is considered to be the fastest and the
most flexible mapping form.
Locality of reference –
Since size of cache memory is less as compared to
main memory. So to check which part of main
memory should be given priority and loaded in cache
is decided based on locality of reference.
Types of Locality of reference
1. Spatial Locality of reference
This says that there is a chance that element will
be present in the close proximity to the reference
point and next time if again searched then more
close proximity to the point of reference.
2. Temporal Locality of reference
In this Least recently used algorithm will be used.
Whenever there is page fault occurs within a word
will not only load word in main memory but
complete page fault will be loaded because spatial
locality of reference rule says that if you are
referring any word next word will be referred in its
register that’s why we load complete page table so
the complete block will be loaded.
CACHE UPDATION SCHEMES