Computer Storage Memory Device
Computer Storage Memory Device
Computer Storage Memory Device
INTRODUCTION
Since the dawn of time, man has tried to record important events and techniques for everyday
life. At first, it was sufficient to paint on the family cave wall how one hunted. Then came
the people who invented spoken languages and the need arose torecord what one was saying
without hearing it firsthand. Therefore, years later, earlier scholars invented writing to
convey what was being said. Pictures gave way to letters which represented spoken sounds.
Eventually clay tablets gave way to parchment, which gave way to paper. Paper was, and still
is, the main way people convey information. However, in the mid twentieth century
computers began to come into general use.
Computers have gone through their own evolution in storage media. In the forties,fifties, and
sixties, everyone who took a computer course used punched cards to give the computer
information and store data. In 1956, researchers at IBM developed the first disk storage
system. This was called RAMAC (Random Access Method of Accounting and Control)
Since the days of punch cards, computer manufacturers have strived to squeeze more data
into smaller spaces. That mission has produced both competing and complementary data
storage technology including electronic circuits, magnetic media like hard disks and tape,
and optical media such as compact disks. Today, companies constantly push the limits of
these technologies to improve their speed, reliability, and throughput -- all while reducing
cost. The fastest and most expensive storage technology today is based on electronic storage
in a circuit such as a solid state "disk drive" or flash RAM. This technology is getting faster
and is able to store more information thanks to improved circuit manufacturing techniques
that shrink the sizes of the chip features. Plans are underway for putting up to a gigabyte of
data onto a single chip.
Magnetic storage technologies used for most computer hard disks are the most common and
provide the best value for fast access to a large storage space. At the low end, disk drives cost
as little as 25 cents per megabyte and provide access time to data in ten milliseconds. Drives
can be ganged to improve reliability or throughput in a Redundant Array of Inexpensive
Disks (RAID). Magnetic tape is somewhat slower than disk, but it is significantly cheaper
per megabyte. At the high end, manufacturers are starting to ship tapes that hold 40 gigabytes
of data. These can be arrayed together into a Redundant Array of Inexpensive Tapes (RAIT),
if the throughput needs to be increased beyond the capability of one drive.
For randomly accessible removable storage, manufacturers are beginning to ship low-cost
cartridges that combine the speed and random access of a hard drive with the low cost of
tape. These drives can store from 100 megabytes to more than one gigabyte Standard
compact disks are also gaining a reputation as an incredibly cheap wayof delivering data to
desktops. They are the cheapest distribution medium around when purchased in large
quantities ($1 per 650 megabyte disk). This explains why so much software is sold on CD-
ROM today. With desktop CD-ROM recorders, individuals are able to publish their own CD-
ROMs.
With existing methods fast approaching their limits, it is no wonder that a number of new
storage technologies are developing. Currently, researches are looking at protienbased
memory to compete with the speed of electronic memory, the reliability of magnetic hard-
disks, and the capacities of optical/magnetic storage. We contend that three-dimensional
optical memory devices made from bacteriorhodopsin utilizing the two photon read and
write-method is such a technology with which the future of memory lies. In a prototype
memory system, bacteriorhodopsin stores data in a 3-D matrix. The matrix can be build by
placing the protein into a cuvette (a transparent vessel) filled with a polyacrylamide gel. The
protein, which is in the bR state, gets fixed in by the polymerization of the gel. A battery of
Krypton lasers and a charge-injection device (CID) array surround the cuvette and are used
to write and read data.
In computing, memory refers to the computer hardware devices used to store information for
immediate use in a computer; it is synonymous with the term "primary storage". Computer
memory operates at a high speed, for example random-access memory (RAM), as a
distinction from storage that provides slow-to-access program and data storage but offers
higher capacities. If needed, contents of the computer memory can be transferred to
secondary storage, through a memory management technique called "virtual memory". An
archaic synonym for memory is store. The term "memory", meaning "primary storage" or
"main memory", is often associated with addressable semiconductor memory, i.e. integrated
circuits consisting of silicon-based transistors, used for example as primary storage but also
other purposes in computers and other digital electronic devices. While, storage devices are
the devices that are used for data storage in the computers. The computer has many types of
data storage devices and they can be broadly divided as - Removable Data Storage Devices
and the others as the Non-removable Data Storage Devices. There are two main types of
semiconductor memory, volatile and non-volatile. Examples of non-volatile memory are
flash memory (used as secondary memory) and ROM, PROM, EPROM and EEPROM
memory (used for storing firmware such as BIOS). Examples of volatile memory are primary
storage, which is typically dynamic random-access memory (DRAM), and fast CPU cache
memory, which is typically static random-access memory (SRAM) that is fast but energy-
consuming, offering lower memory areal density than DRAM. Most semiconductor memory
is organized into memory cells or bistable flip-flops, each storing one bit (0 or 1). Flash
memory organization includes both one bit per memory cell and multiple bits per cell (called
MLC, Multiple Level Cell). The memory cells are grouped into words of fixed word length,
for example 1, 2, 4, 8, 16, 32, 64 or 128 bit. Each word can be accessed by a binary address
of N bit, making it possible to store 2 raised by N words in the memory. This implies that
processor registers normally are not considered as memory, since they only store one word
and do not include an addressing mechanism. Typical secondary storage devices are hard
disk drives and solid-state drives. It is amazing how many different types of electronic
memory you encounter in daily life. Many of them have become an integral part of our
vocabulary: RAM, ROM, Cache, Dynamic RAM, Static RAM, Flash memory, Memory
Sticks, Virtual memory, Video memory, BIOS.
1.2 STATEMENT OF THE PROBLEM
1. Infastructure: Data needs a place to rest, the same way objects need a shelf or
container; data must occupy space.
2. Cost: Running your own data center is an expensive operation.
3. Security is a major issue to overcome. Hyppothetically, if your data is stored
somewhere, it is possible for a third party to obtain it.
4. Corruption: Practically every form of data storage has the potential to be corrupted.
5. Scale
6. Compactibility
1.3 SCOPE OF THE STUDY
SECTION 2
LITERATURE REVIEW
The term "memory" applies to any electronic component capable of temporarily storing data.
There are two main categories of memories:
1. Internal memory that temporarily memorises data while programs are running.
Internal memory uses microconductors, i.e. fast specialized electronic circuits.
Internal memory corresponds to what we call random access memory (RAM).
2. Auxiliary memory (also called physical memory or external memory) that stores
information over the long term, including after the computer is turned off. Auxiliary
memory corresponds to magnetic storage devices such as the hard drive, optical
storage devices such as CD-ROMs and DVD-ROMs, as well as read-only memories.
2.2 CLASSIFICATION OF MEMEORY
It is also called as the Main Memory or Internal Memory. Primary Memory is accessible
directly by the processing unit. RAM is an example of primary memory. As soon as the
computer is turned off, the contents of the primary memory would be lost. You can store and
retrieve data much faster with primary memory compared to secondary memory. And
Primary memory is also more expensive than secondary memory as the size of primary
memory is lesser than that of secondary memory. Computer memory stores two things:
When the computer is performing any job, the data that have to be processed are stored in the
primary memory. This data may come from an input device like keyboard or from a
secondary storage device like a floppy disk. It stores the data for processing and the Program
instructions. It is also the Immediate Access Memory. It is temporary memory and of limited
capacity. The standard base capacity for Primary memory starts from 640 KB, 1MB, 2MB,
8MB, 128MB, 256MB, 1GB, 2GB, 4GB etc (in multiples of 2). Depending on the needs of
the user. Primary Memory can be further classified as RAM and ROM and more.
It is the unit in a computer system. The primary storage is called as Random Access Memory
(RAM) because it is possible to randomly select and use any location of the memory, directly
store and retrieve data. It takes same time to reach any address of the memory as it takes for
the first address. It is also called read / write memory. The storage of data and instructions
inside the primary storage are temporary. They disappear from RAM as soon as the power to
the computer is turned off. The memories, which lose their content on failure of power
supply, are known as volatile memories. So, we can say that RAM is a volatile memory. It is
the place in a computer where the operating system, application programs and the data in
current use are kept temporarily so that they can be accessed by the computer’s processor. It
is said to be ‘volatile’ since its contents are accessible only as long as the computer is on. The
contents of RAM are no more available once the computer is turned off. There are two types
of RAM which are
1. Static RAM: It retains the stored information until the computer is working.
2. Dynamic RAM: It retains stored information only until the progam is working and loses
the information once the program execution is completed.
Figure 1: RAM
It is a special type of memory which can only be read and contents of which are not lost even
when the computer is switched off. The storage of program and data in the ROM is
permanent. The ROM stores some standard processing programmes supplied by the
manufacturers to operate the personal computer. The ROM can only be read by the CPU but
it cannot be changed. The basic input/ output programme is stored in the ROM that examines
and initialises various equipment attached to the PC when the switch is made ON. The
memories, which do not lose their content on failure of power supply, are known as
nonvolatile memories. ROM is non-volatile memory. It typically contains manufacturer’s
instructions. Among other things, ROM also stores an initial program called the ‘bootstrap
loader’ whose function is to start the operation of computer system once the power is turned
on. ROM is shown in the diagram below; There are three types of ROM which are
1. PROM
There is another type of primary memory in computer, which is called Programmable Read
Only Memory (PROM). You know that it is not possible to modify or erase programs stored
in ROM, but it is possible for you to store your program in PROM chip. Once the
programmes are written it cannot be changed and remain intact even if power is switched off.
Therefore programmes or instructions written in PROM or ROM cannot be erased or
changed.
2. EPROM
This stands for Erasable Programmable Read Only Memory, which overcome the problems
faced by PROM and RO M. EPROM chip can be programmed time and again by erasing
previously stored information in it. Information stored in EPROM can be erased by exposing
the chip to ultraviolet light for some time and the chip can reprogrammed by using a special
programming facility. When the EPROM is in use, information stored in it can only be read.
3. EEPROM
Electronic Erasable Programmable Read Only Memory It is advancement over EPROM, and
the chip need not be taken out from the machine. Instead the programming is done using
software. These chips are used in Point-of-sale (POS) terminals to record price related
information and can be updated as and when needed. However they are expensive compared
to the normal ROM chips.
Figure 2: ROM
The speed of CPU is extremely high compared to the access time of main memory. Therefore
the performance of CPU decreases due to the slow speed of main memory. To decrease the
mismatch in operating speed, a small memory chip is attached between CPU and Main
Memory whose access time is very close to the processing speed of CPU. It is called CACHE
memory. CACHE memories are accessed much faster than conventional RAM. To store
programs or data currently being executed or temporary data frequently used by the CPU. So
each memory makes main memory to be faster and larger than it really is. It is also very
expensive to have bigger size of cache memory and its size is normally kept small.
2.2.1.6 Registers
The CPU processes data and instructions with high speed; there is also movement of data
between various units of computer. It is necessary to transfer the processed data with high
speed. So the computer uses a number of special memory units called registers. They are not
part of the main memory but they store data or information temporarily and pass it on as
directed by the control unit.
Secondary Memory is used for permanent storage of data in the computer. This is also
known as auxiliary memory. It differs from primary storage in that it is not directly
accessible by the CPU. The secondary memory provides backup storage for instructions
(computer programs) and data. The instructions and data stored on secondary storage devices
are permanent in nature. They can only be removed if the user wants it so or the device is
destroyed. Secondary storage are categorized as follows; Some of the secondary storage
devices are - Hard Disk Drives – which are the most common type of storage devices that are
used in almost all the computer systems. The other ones include the Floppy Disk Drives, the
CD ROM and the DVD ROM, the Flash Memory, the USB data card etc.
Floppy Disks, which are soft magnetic disks, (often also called Floppies or Diskettes) are
portable. They can be removed from a disk drive. Disk drives for floppy disks are called
Floppy Drives. Floppy Disks are slower to access than hard disks and would have less
storage capacity, however, they are much cheaper when it comes to cost. Floppies come in
three basic sizes: Floppy Disks, initially as 8-inch (200 mm) media and later in 5.25-inch
(133 mm) and 3.5-inch (90 mm) sizes. They were everywhere in the form of data storage and
exchange from the mid-1970s well into the first decade of the 21st century. They are read
and written by a floppy disk drive (FDD). Figure of floppies of 8-inch (200 mm), 5.25- inch
(133 mm) and 3.5-inch (90 mm) sizes shown here. Floppies use where small files such as
word processing, small spreadsheets and databases need to be moved from one computer to
another. Useful to backup small data files.
A Hard Disk Discs (HDD) is a data storage device used for storage and retrieving such stored
digital information using rapidly rotating disks (Platters) coated with magnetic material. An
HDD retains its data even when powered off. Data is read in a random-access manner,
meaning individual blocks of data can be stored or retrieved in any order rather than
sequentially. Hard Disk Drives can be used for storing operating systems software and
working data. These are suitable for any application which requires very fast access to data
for both reading and writing too. However, Hard disk drives may not be suitable for
applications which need portability. Almost all computers used a fixed hard disc. Used for
on-line and real time processes requiring direct access. Used in file servers for computer
networks to store large amount of data. Figure of 2.5" SATA Hard Drive shown here. This
HDD is used to store operating system softwares which can be installed in computer to run it,
and the data. Their capacity has been enlarged by the year.
Portable Hard Discs are good fun because you can carry data all over the place and transfer
information, programmes, pictures between computers. Portable Discs are used to store very
large files which need transporting from one computer to another and price is not an issue.
Hard drives have to be handled quite carefully and when being transported should be
wrapped in something soft and put in a padded bag. These are more expensive than other
forms of removable media.
Magnetic Tape has been used for data storage for over 50 years. When storing large amounts
of data, tape can be substantially less expensive than disk or other data storage options. Tape
storage has always been used with large computer systems. Modern usage is primarily as a
high capacity medium for backups and archives. Magnetic tapes are used for applications
which require extremely large storage capacity where speed of access is not an issue. It is
commonly used for backups of file servers for computer networks, in a variety of batch
processing applications such as reading of bank cheques, payroll processing and general
stock control. Writing and retrieving data is slow. It uses serial access for reading and
writing.
CDs are used for large files (but smaller than 1GB) which are too big for a floppy disc to
hold such as music and general animation. DVDs are used to hold very large files (several
GB) such as movies. Both CDs and DVDs are portable i.e. they can be transported from one
computer to another. Both can be used to store computer data. CD ROM/DVD ROM
Applications which require the prevention of deletion of data, accidental or otherwise. CDs
used by software companies for distributing software programs and data; by Music
companies for distributing music albums and by book publishers for distributing
encyclopedias, reference books etc. DVDs used by film distributors. CD R/DVD R
Applications which require a single ‘burning’ of data, e.g. CDs - recording of music
downloads from the Internet, recording of music from MP3 format, recording of data for
archiving or backup purposes. DVDs – recording of film movies and television programs.
CD RW/DVD RW Applications which require the updating of information and ability to
record over old data. Not suitable for music recording but is very useful for keeping
generations of files. DVDs have between five and ten times the capacity of CDs. These are
the smallest form of memory available in the market today. • Widely used as removable
storage. They are more robust than other forms of storage. Though expensive than other
forms they can be easily written to and updated.
USB flash drives are typically removable and rewritable, much smaller than a floppy disk.
Storage capacities typically range from 64 MB to 64 GB. USB flash drives offer potential
advantages over other portable storage devices, particularly the floppy disk. They have a
more compact shape, operate faster, hold much more data, have a more durable design and
operate more reliably due to their lack of moving parts. Flash drives are widely used to
transport files and backup data from computer to computer.
A Memory Card or Flash Memory Card is a solid-state electronic flash memory data storage
device used with digital cameras, handheld and Mobile computers, telephones, music
players, video game consoles and other electronics. These days, most of the new PCs have
built-in slots for a variety of memory cards; Memory Stick, Compact Flash, SD etc. Some
digital gadgets support more than one memory card to ensure compatibility.
1. Capacity, representing the global volume of information (in bits) that the memory can
store
2. Access time, corresponding to the time interval between the read/write request and
the availability of the data
3. Cycle time, representing the minimum time interval between two successive accesses
4. Throughput, which defines the volume of information exchanged per unit of time,
expressed in bits per second
5. Non-volatility, which characterises the ability of a memory to store data when it is not
being supplied with electricity
The ideal memory has a large capacity with restricted access time and cycle time, a high
throughput and is non-volatile. However, fast memories are also the most expensive. This is
why memories that use different technologies are used in a computer, interfaced with each
other and organized hierarchically. The fastest memories are located in small numbers close
to the processor. Auxiliary memories, which are not as fast, are used to store information
permanently.
SECTION 3
ARCHITECHURAL DESIGN
Main memory can be considered to be organised as a matrix of bits. Each row represents a
memory location, typically this is equal to the word size of the architecture, although it can
be a word multiple (e.g. 2xWordsize) or a partial word (e.g. half the wordsize). For
simplicity we will assume that data within main memory can only be read or written a
single row (memory location) at a time. For a 96-bit memory we could organise the
memory as 12x8 bits, or 8x12 bits or, 6x16 bits, or even as 96x1 bits or 1x96 bits. Each row
also has a natural number called its address13 which is used for selecting the row:
0
2
4
6
8
10
12
14
16
18
20
Byte Ordering
The ordering of bytes within a multi-byte data item defines the endian- ness of the
architecture.
In BIG-ENDIAN systems the most significant byte of a multi-byte data item always has the
lowest address, while the least significant byte has the highest address.
In LITTLE-ENDIAN systems, the least significant byte of a multi-byte data item always has
the lowest address, while the most significant byte has the highest address.
In the following example, table cells represent bytes, and the cell numbers indicate the address
of that byte in main memory. Note: by convention we draw the bytes within a memory word
left-to-right for big-endian systems, and right-to-left for little-endian systems.
Word Big-Endian Word Little-Endian
Address Address
0 0 1 2 3 0 3 2 1 0
4 4 5 6 7 4 7 6 5 4
8 8 9 10 11 8 11 10 9 8
12 12 13 14 15 12 15 14 13 12
MSB –––––––––-> LSB MSB –––––––––
––> LSB
The bytes labelled with ? are unknown. They could hold important data,
or they could be don’t care bytes – the interpretation is left up to the
programmer.
Unfortunately computer systems15, in use today are split between those
that are big-endian, and those that are little-endian16. This leads to
problems when a big-endian computer wants to transfer data to a little-
endian computer. Some architectures, for example the PowerPC and ARM,
allow the endian-ness of the architecture to be changed programmatically.
Word Alignment
1
1 1 1
1
1 1 1
11
0 1 1
0 0 0
1 1 0
1 0
1
1
1
Eight
256 x 1bit RAMs
www.studymafia.org
In the first case, main memory is built with a single memory chip. In the
second, we use two memory chips, one gives us the most significant 4 bits,
the other, the least significant 4 bits. In the third we use 8 memory chips,
each chip gives us 1 bit - to read an 8 bit memory word, we would have to
access all 8 memory chips simultaneously and concatenate the bits.
C C C C C C C C C C C C C C C C
H H H H H H H H H H H H H H H H
I I I I I I I I I I I I I I I I
P P P P P P P P P P P P P P P P
1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2
8
4x4 bits 4x4 bits 4x4 bits 4x4 bits
18
18 bits are required to address a RAM chip (since 256K = 2 = Length of
RAM Chip )
www.studymafia.org
Interleaved Memory
Computers employ many different types of memory (semi-conductor, magnetic disks and tapes,
DVDs etc.) to hold data and programs. Each type has its own characteristics and uses. We will
look at the way that Main Memory (RAM) is organized and very briefly at the characteristics of
Register Memory and Disk Memory. Let’s locate these 3 types of memory in an abstract
computer: CPU Main Memory
Registers
Control Unit RAM RAM
I/O
Controller(s)