Random Access Memory Project
Random Access Memory Project
Technology, Islamabad
1
RANDOM ACCESS
MEMORY
INTRODUCTION:
Random-access memory is a form of computer data storage. Today, it
takes the form of integrated circuits that allow stored data to be accessed
in any order. RAM stands for Random Access Memory. It is also called
main memory or Direct Access Memory.
Random access means that each individual
byte in the entire memory is directly
accessible. A program must be loaded into
RAM before execution.
RAM is temporary memory. When the power
is turned off, the information in this memory is
lost. Thus it is called volatile memory. CPU can
read data from RAM and write data to RAM.
That is why RAM is also known as read/write
memory. It is used to store data and
instruction while it is being executed.
HISTORY:
An early type of widespread writable random-access memory was
the magnetic core memory, developed from 1949 to 1952, and
subsequently used in most computers up until the development of
the static and dynamic integrated RAM circuits in the late 1960s and
early 1970s. Before this, computers used relays, delay line memory,
or various kinds of vacuum tube arrangements to implement
"main" memory functions. some of which were random access,
some not. Latches built out of vacuum tube triodes, and later, out of
discrete transistors, were used for smaller and faster memories
such as random-access register banks and registers. Prior to the
development of integrated ROM circuits, permanent (or read-only)
random-access memory was often constructed using semiconductor
diode matrices driven by address decoders.
2
WHY RANDOM ACCESS?
RAM is called "random access" because any storage location can be
accessed directly. Originally, the term distinguished regular core
memory from offline memory, usually on magnetic tape in which an
item of data could only be accessed by starting from the beginning
of the tape and finding an address sequentially. Perhaps it should
have been called "nonsequential memory" because RAM access is
hardly random. RAM is organized and controlled in a way that
enables data to be stored and retrieved directly to specific
locations. Note that other forms of storage such as the hard disk
and CD-ROM are also accessed directly (or "randomly") but the term
random access is not applied to these forms of storage.
In addition to disk, floppy disk, and CD-ROM storage, another
important form of storage is read-only memory (ROM), a more
expensive kind of memory that retains data even when the
computer is turned off. Every computer comes with a small amount
of ROM that holds just enough programming so that the operating
system can be loaded into RAM each time the computer is turned
on.
3
paths to the processor. The hard drive, on the other hand, stores
data on a magnetized surface that looks like a phonograph record.
Most personal computers are designed to allow you to add
additional RAM modules up to a certain limit. Having more RAM in
your computer reduces the number of times that the computer
processor has to read data in from your hard disk, an operation that
takes much longer than reading data from RAM. (RAM access time is
in nanoseconds; hard disk access time is in milliseconds.)
TYPES OF RAM:
The following are some common types of RAM:
5
bit. It is about five percent faster than FPM. Maximum transfer
rate to L2 cache is approximately 264 MBps.
6
• VRAM: VideoRAM, also known as multiport dynamic random
access memory (MPDRAM), is a type of RAM used specifically
for video adapters or 3-D accelerators. The "multiport" part
comes from the fact that VRAM normally has two independent
access ports instead of one, allowing the CPU and graphics
processor to access the RAM simultaneously. VRAM is located
on the graphics card and comes in a variety of formats, many
of which are proprietary. The amount of VRAM is a
determining factor in the resolution and color depth of the
display. VRAM is also used to hold graphics-specific
information such as 3-D geometry data and texture maps.
True multiport VRAM tends to be expensive, so today, many
graphics cards use SGRAM (synchronous graphics RAM)
instead. Performance is nearly the same, but SGRAM is
cheaper.
7
forgets what it is holding. The downside of all of this refreshing is
that it takes time and slows down the memory.
Static RAM uses a completely different technology. In static RAM, a
form of flip-flop holds each bit of memory (see How Boolean Gates
Work for detail on flip-flops). A flip-flop for a memory cell takes 4 or
6 transistors along with some wiring, but never has to be refreshed.
This makes static RAM significantly faster than dynamic RAM.
However, because it has more parts, a static memory cell takes a
lot more space on a chip than a dynamic memory cell. Therefore
you get less memory per chip, and that makes static RAM a lot more
expensive.
So static RAM is fast and expensive, and dynamic RAM is less
expensive and slower. Therefore static RAM is used to create the
CPU's speed-sensitive cache, while dynamic RAM forms the larger
system RAM space.
SPEED OF RAM:
Speed of ram is also important. Speed is measured in Mega Hertz
(MHz). Sometime its in Giga Hertz (GHz).
Speed of RAM ranges from 400MHz to 1000MHz. It is also necesory
for processor processing speed.
Another measurement of speed is CAS Speed which is measured in
nanosecond or ns. It comes in 3 to 5ns.
8
RAM BANDWIDTH AND SPEED
ANYLYSIS:
DDR3-RAM
DDR-RAM DDR2-RAM SPEED
Speed SPEED PC3-6400
PC1600 PC2-3200 800MHz
200MHz 400MHz PC3-8500
PC2100 PC2-4200 533 1062 MHz
MHz PC3-10600
266MHz
PC2-5300 667 1325 MHz
PC2400
PC3-12800
300MHz MHz
1600 MHz
PC2700 333 PC2-6400 800
MHz MHz .
PC3000 375 PC2-8000 1000
MHz MHz
PC3200 400
MHz
PC3500 433 MEMORY MODULES:
MHz
PC3700 466 The type of board and connector used for RAM
MHz in desktop
PC4000 500 computers has
MHz evolved over the
PC4300 533 past few years.
MHz The first types
PC4500 566 were proprietary,
MHz meaning that
PC4800 600 different
MHz computer
manufacturers
developed memory boards that would
only work with their specific systems.
Then came SIMM, which stands for single in-line memory module.
This memory board used a 30-pin connector and was about 3.5 x .
75 inches in size (about 9 x 2 cm). In most computers, you had to
install SIMMs in pairs of equal capacity and speed. This is because
the width of the bus is more than a single SIMM. For example, you
would install two 8-megabyte (MB) SIMMs to get 16 megabytes total
RAM. Each SIMM could send 8 bits of data at one time, while the
system bus could handle 16 bits at a time. Later SIMM boards,
slightly larger at 4.25 x 1 inch (about 11 x 2.5 cm), used a 72-pin
9
connector for increased bandwidth and allowed for up to 256 MB of
RAM.
10
smaller DIMMs, known as MicroDIMMs, which have either 144 pins
or 172 pins.
Most memory available today is highly reliable. Most systems simply
have the memory controller check for errors at start-up and rely on
that. Memory chips with built-in error-checking typically use a
method known as parity to check for errors. Parity chips have an
extra bit for every 8 bits of data. The way parity works is simple.
Let's look at even parity first.
When the 8 bits in a byte receive data, the chip adds up the total
number of 1s. If the total number of 1s is odd, the parity bit is set to
1. If the total is even, the parity bit is set to 0. When the data is read
back out of the bits, the total is added up again and compared to
the parity bit. If the total is odd and the parity bit is 1, then the data
is assumed to be valid and is sent to the CPU. But if the total is odd
and the parity bit is 0, the chip knows that there is an error
somewhere in the 8 bits and dumps the data. Odd parity works the
same way, but the parity bit is set to 1 when the total number of 1s
in the byte are even
OPPOSITE OF RAM:
The opposite of RAM is serial access memory (SAM). SAM stores
data as a series of memory cells that can only be accessed
sequentially (like a cassette tape). If the data is not in the current
location, each memory cell is checked until the needed data is
found. SAM works very well for memory buffers, where the data is
normally stored in the order in which it will be used (a good
example is the texture buffer memory on a video card). RAM data,
on the other hand, can be accessed in any order.
STRUCTURE OF RAM:
The invention is an integrated circuit data
storage array with storage cells disposed in
an array of rows and columns with each cell
having a number of sub cells. The physical
location of the sub cells substantially
reduces the space taken by horizontal data
line used for accessing columns. This is
accomplished by locating sub cells of the
same row number, the same bit number,
and different column number adjacent to
each other in the horizontal direction. So, a
horizontal data line only extends between
11
adjacent sub cells and significantly reduces the wasted layout of
multibit horizontal data lines.
It's been said that you can never have enough money, and the
same holds true for RAM, especially if you do a lot of graphics-
intensive work or gaming. Next to the CPU itself, RAM is the most
important factor in computer performance. If you don't have
enough, adding RAM can make more of a difference than getting a
new CPU!
If your system responds slowly or accesses the hard drive
constantly, then you need to add more RAM. If you are running
Windows XP, Microsoft recommends 128MB as the minimum RAM
requirement. At 64MB, you may experience frequent application
problems. For optimal performance with standard desktop
applications, 256MB is recommended. If you are running Windows
95/98, you need a bare minimum of 32 MB, and your computer will
work much better with 64 MB. Windows NT/2000 needs at least 64
MB, and it will take everything you can throw at it, so you'll probably
want 128 MB or more.
Linux works happily on a system with only 4 MB of RAM. If you plan
to add X-Windows or do much serious work, however, you'll
probably want 64 MB. Mac OS X systems should have a minimum of
128 MB, or for optimal performance, 512 MB.
The amount of RAM listed for each system above is estimated for
normal usage -- accessing the Internet, word processing, standard
home/office applications and light entertainment. If you do
computer-aided design (CAD), 3-D modeling/animation or heavy
data processing, or if you are a serious gamer, then you will most
likely need more RAM. You may also need more RAM if your
computer acts as a server of some sort (Web pages, database,
application, FTP or network).
Another question is how much VRAM you want on your video card.
Almost all cards that you can buy today have at least 16 MB of RAM.
This is normally enough to operate in a typical office environment.
You should probably invest in a 32-MB or better graphics card if you
want to do any of the following:
• Play realistic games
• Capture and edit video
• Create 3-D graphics
• Work in a high-resolution, full-color environment
• Design full-color illustrations
When shopping for video cards, remember that your monitor and
computer must be capable of supporting the card you choose.
12
13