Professional Documents
Culture Documents
Computer memory is quite like Human memory. Demonstration for how the
brain is like a computer.
Information Processing
Parallel Processing
Computer memory can be any device, such as a silicon chip or a hard disk, used
to store information. In computers of the past, vacuum tubes, cores and drums
have been used. Today, computer chips are used.
Memory
The term "memory" applies to any electronic component capable of
temporarily storing data. There are two main categories of memories.
Internal Memory:
Internal memory that temporarily memorises data while programs are
running. Internal memory uses microconductors, i.e. fast specialised electronic
circuits. Internal memory corresponds to what we call random access memory
(RAM).
Auxiliary Memory:
Auxiliary memoryalso called physical memory or external memorythat
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.
Technical Characteristics:
The main characteristics are.
Capacity, representing the global volume of information (in bits) that the
memory can store.
Access time, corresponding to the time interval between the read/write
request and the availability of the data.
Cycle time, representing the minimum time interval between two
successive accesses.
Ideal Memory:
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 organised 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.
Memory Devices
Computers and many electronic gadgets usually rely on stored information
which is mainly data which can be used to direct circuit actions. The digital
information is stored in memory devices. Memories can be divided into 2
categories based on what memory cells can be accessed at a given instant. SAM
(Sequentially Access Memory) is accessed by stepping through each memory
location until the desired location is reached. Magnetic tape is an example of
SAM.
The second category of memory devices is called RAM (Random Access
Memory) where the memory can be randomly accessed at any instant, without
having to step through each memory location. It is generally faster to access a
RAM compared to SAM. Most of the electronics gadgets memory is of RAM type.
Types of RAM:
The RAM family includes two important memory devices: static RAM
(SRAM) and dynamic RAM (DRAM). The primary difference between them is the
lifetime of the data they store. SRAM retains its contents as long as electrical
power is applied to the chip. If the power is turned off or lost temporarily, its
contents will be lost forever. DRAM, on the other hand, has an extremely short
data lifetime-typically about four milliseconds. This is true even when power is
applied constantly.
In short, SRAM has all the properties of the memory you think of when you
hear the word RAM. Compared to that, DRAM seems kind of useless. By itself, it
is. However, a simple piece of hardware called a DRAM controller can be used to
make DRAM behave more like SRAM. The job of the DRAM controller is to
periodically refresh the data stored in the DRAM. By refreshing the data before it
expires, the contents of memory can be kept alive for as long as they are
needed. So DRAM is as useful as SRAM after all.
NVRAM chip consists of both RAM and ROM. During power on reset, the
contents of the ROM are copied to RAM. Before the power turns off, the system
will copy the entire contents of the RAM into ROM for non volatile storage. The
RAM in an NVRAM is called shadow RAM. NVRAM fills the gap between easily
written memory and non volatile memory.
Read-Only Memory:
Read-only memory, called ROM, is a type of memory that allows you to
keep the information contained on it even when the memory is no longer
receiving electricity. Basically, this type of memory only has read-only access.
However, it is possible to save information in some types of ROM memory.
ROM is non volatile in that its contents are not lost when power to it is
removed. All ROMs can be programmed at least once. Mask ROMs are
programmed by having "1"s and "0"s etched into their semiconductors at the time
of manufacturing. Programmable ROM (PROM) can be written after
manufacturing by electrically burning specific transistors or diodes in the memory
array. EPROM can be erased and reprogrammed by using ultraviolet light.
Hybrids:
As memory technology has matured in recent years, the line between
RAM and ROM has blurred. Now, several types of memory combine features of
both. These devices do not belong to either group and can be collectively
referred to as hybrid memory devices. Hybrid memories can be read and written
as desired, like RAM, but maintain their contents without electrical power, just
like ROM. Two of the hybrid devices, EEPROM and flash, are descendants of
ROM devices. These are typically used to store code. The third hybrid, NVRAM,
is a modified version of SRAM. NVRAM usually holds persistent data.
EEPROMs are electrically-erasable-and-programmable. Internally, they
are similar to EPROMs, but the erase operation is accomplished electrically,
rather than by exposure to ultraviolet light. Any byte within an EEPROM may be
erased and rewritten. Once written, the new data will remain in the device
forever--or at least until it is electrically erased. The primary tradeoff for this
improved functionality is higher cost, though write cycles are also significantly
longer than writes to a RAM. So you wouldn't want to use an EEPROM for your
main system memory.
Flash memory combines the best features of the memory devices
described thus far. Flash memory devices are high density, low cost, nonvolatile,
fast (to read, but not to write), and electrically reprogrammable. These
advantages are overwhelming and, as a direct result, the use of flash memory
has increased dramatically in embedded systems. From a software viewpoint,
flash and EEPROM technologies are very similar. The major difference is that
flash devices can only be erased one sector at a time, not byte-by-byte. Typical
sector sizes are in the range 256 bytes to 16KB. Despite this disadvantage, flash
is much more popular than EEPROM and is rapidly displacing many of the ROM
devices as well.
The third member of the hybrid memory class is NVRAM (non-volatile
RAM). Nonvolatility is also a characteristic of the ROM and hybrid memories
discussed previously. However, an NVRAM is physically very different from those
devices. An NVRAM is usually just an SRAM with a battery backup. When the
power is turned on, the NVRAM operates just like any other SRAM. When the
power is turned off, the NVRAM draws just enough power from the battery to
retain its data. NVRAM is fairly common in embedded systems. However, it is
expensive--even more expensive than SRAM, because of the battery--so its
applications are typically limited to the storage of a few hundred bytes of system-
critical information that can't be stored in any better way.
Flash Memory:
Flash memory is a compromise between RAM-type memories and ROM
memories. Flash memory possesses the non-volatility of ROM memories while
providing both read and write access However, the access times of flash
memories are longer than the access times of RAM.
Flash memory
A USB flash drive. The chip on the left is the flash memory. The
microcontroller is on the right.
Flash memory is a non-volatile computer memory that can be electrically
erased and reprogrammed. It is a technology that is primarily used in memory
cards and USB flash drives for general storage and transfer of data between
computers and other digital products. It is a specific type of EEPROM
(Electrically Erasable Programmable Read-Only Memory) that is erased and
programmed in large blocks; in early flash the entire chip had to be erased at
once. Flash memory costs far less than byte-programmable EEPROM and
therefore has become the dominant technology wherever a significant amount of
non-volatile, solid state storage is needed. Example applications include PDAs
(personal digital assistants), laptop computers, digital audio players, digital
cameras and mobile phones. It has also gained popularity in the game console
market, where it is often used instead of EEPROMs or battery-powered SRAM
for game save data.
Flash memory is non-volatile, which means that no power is needed to
maintain the information stored in the chip. In addition, flash memory offers fast
read access times (although not as fast as volatile DRAM memory used for main
memory in PCs) and better kinetic shock resistance than hard disks. These
characteristics explain the popularity of flash memory in portable devices.
Another feature of flash memory is that when packaged in a "memory card," it is
enormously durable, being able to withstand intense pressure, extremes of
temperature, and even immersion in water.
Although technically a type of EEPROM, the term "EEPROM" is generally
used to refer specifically to non-flash EEPROM which is erasable in small blocks,
typically bytes. Because erase cycles are slow, the large block sizes used in
flash memory erasing give it a significant speed advantage over old-style
EEPROM when writing large amounts of data.
Memory card:
A memory card or flash memory card is a solid-state electronic flash
memory data storage device capable of storing digital contents. These are mainly
used with digital cameras, handheld and Mobile computers, mobile phones,
music players, video game consoles, and other electronics. They offer high re-
record-ability, power-free storage, small form factor, and rugged environmental
specifications. There are also non-solid-state memory cards that do not use flash
memory, and there are different types of flash memory
There are many different types of memory cards and jobs they are used for.
Some common places include in digital cameras, game consoles, cell phones,
and industrial applications. PC card (PCMCIA) were among first commercial
memory card formats (type I cards) to come out in the 1990s, but are now only
mainly used in industrial applications and for I/O jobs (using types I/II/III), as a
connection standard for devices (such as a modem). Also in 1990s, a number of
memory card formats smaller than PC Card came out, including CompactFlash,
SmartMedia, and Miniature Card. In other areas, tiny embedded memory cards
(SID) were used in cell phones, game consoles started using proprietary memory
card formats, and devices like PDAs and digital music players started using
removable memory cards.
Nowadays, most new PCs have built-in slots for a variety of memory
cards; Memory Stick, CompactFlash, SD, etc. Some digital gadgets support more
than one memory card to ensure compatibility.
Other Memory Devices:
There are several other kinds of memory devices available for use with
both general-purpose and embedded computer systems. They include floppy
disks, hard drives, CD-ROM disks and many others. When using these types of
devices however, an additional embedded controller generally handles the
communication between the main processor and the hardware device. Of course,
this is a kind of embedded programming, but is an area that we will only briefly
discuss, since many embedded controllers already have this kind of support built-
in, or included on the main board of the system.
Memory Interfaces
Interface:
A boundary across which two independent systems meet and act on or
communicate with each other. In computer technology, there are several types of
interfaces.
Memory Interfaces:
Lattice provides a wide range of high-performance interface solutions for
the latest memory technologies. These solutions combine innovative silicon with
Intellectual Property (IP) cores to provide robust solutions for networking
applications.
Features:
LatticeSC FPGA devices provide full-featured embedded high-speed
memory controllers supporting DDRI/II SDRAM, QDR I/II SRAM, and
RLDRAM I/II memory devices.
LatticeECP3/ECP2/M/ECP/XP2/XP FPGA devices provide dedicated
resources to align DQ and DQS signals, multiplex/de-multiplex to and from
double data rate, and transfer data from the DQS clock domain to the system
clock domain.
LatticeECP3 devices provide support for DDR3 Read and Write
leveling to adjust for PCB route delay on read and write data transfers.
Lattice ORSPI4 FPSC contains an embedded QDR II memory
interface providing 20+ Gbps bandwidth w/simple FIFO interface to FPGA.
Through the ispLeverCORE program, Lattice offers a variety of IP
cores and Reference Designs for popular memory interfaces.
• DDR
• DDR2
• GDDR
Common Flash memory Interface:
The Common Flash memory Interface (CFI) is an open standard jointly
developed by AMD, Intel, Sharp and Fujitsu. An overview about the specification
is available at AMD. It is an open standard, which means it is freely
implementable by all flash memory vendors, and has been approved by the non-
volatile memory subcommittee of JEDEC[1]. The idea behind was the
interchangeability of current and future flash memory devices offered by different
vendors. The developer is able to use one driver for different flash products by
reading identifying information out of the flash chip itself as can be read here
Intel.
Memory size
Byte and word configuration
Block configuration
Voltages and timings
At the system level, PCIe interfaces offer configurable options in the form
of data rates and lane widths (one, two, four, and, in some cases, eight lanes). In
contrast, DDR2 interfaces frequently have widths of 4 to 256 bits and offer a
multitude of capacity, data-rate, and core-timing-performance permutations. Add
the variety of available memory technologies, and system designers end up with
the daunting task of finding an optimal configuration for their systems.
http://library.thinkquest.org/C0110291/basic/computer/index.p
hp
http://en.kioskea.net/contents/pc/memoire.php3
http://en.wikipedia.org/wiki/Memory_card
http://www.netrino.com/Embedded-Systems/How-To/Memory-
Types-RAM-ROM-Flash
http://en.wikipedia.org/wiki/Flash_memory
http://www.electronics-project-
design.com/MemoryDevices.html
http://www.latticesemi.com/solutions/technologysolutions/mem
ory.cfm
http://www.thefreedictionary.com/memory+device
http://www.allbusiness.com/electronics/computer-equipment-
computer/6241606-1.html
http://www.freepatentsonline.com/6182192.html
http://en.wikipedia.org/wiki/Common_Flash_Memory_Interface
http://en.wikipedia.org/wiki/Common_Flash_Memory_Interface
http://en.wikipedia.org/wiki/Common_Flash_Memory_Interface