Week 7:: Semiconductor Memories, Random Access Memory, Read Only Memory
Week 7:: Semiconductor Memories, Random Access Memory, Read Only Memory
Objectives:
At the end of the lesson the learner will be able to:
Define semiconductor memories
Identify the types of RAM
Define ROM
SEMICONDUCTOR MEMORIES:
Magnetic storage:
Optical storage:
There is also volatile memory. This is memory that loses its data once power is cut off,
while non-volatile memory retains data even without power.
RAM ROM
Volatility Non Volatility
Parameter
Mask
SRAM DRAM FeRAM EPROM EEPROM FLASH
ROM
Voltage
Data
Voltage Bias
Storage Unnecessary
Bias +
Method
Refresh
No. of
Read ∞ ∞ 10 billion∞ ∞ ∞ ∞
Operations to
1 trillion 100,000 to10,000 to
No. of
∞ ∞ times 0 times 100 times 1 million100,000
Rewrites
times times
Memory
Cell
Stored inMaintains Polarization Ions Maintains Maintains Maintains
a flipcharge inof theimplanted charge incharge incharge in
flop the ferroelectric in athe the the
circuit capacitor material transistor floating floating floating
gate gate gate
Random-access memory (RAM /ræm/) is a form of computer memory that can be read
and changed in any order, typically used to store working data and machine
code. A random-access memory device allows data items to be read or written in
almost the same amount of time irrespective of the physical location of data inside the
memory. In contrast, with other direct-access data storage media such as hard
disks, CD-RWs, DVD-RWs and the older magnetic tapes and drum memory, the time
4|Page COMPUTER ORGANIZATION AND ARCHITECTURE
WEEK 7: Semiconductor Memories, Random Access Memory, Read Only Memory
required to read and write data items varies significantly depending on their physical
locations on the recording medium, due to mechanical limitations such as media
rotation speeds and arm movement.
RAM contains multiplexing and demultiplexing circuitry, to connect the data lines to
the addressed storage for reading or writing the entry. Usually more than one bit of
storage is accessed by the same address, and RAM devices often have multiple data
lines and are said to be "8-bit" or "16-bit", etc. devices.
In today's technology, random-access memory takes the form of integrated circuit (IC)
chips with MOS (metal-oxide-semiconductor) memory cells. RAM is normally
associated with volatile types of memory (such as DRAM modules), where stored
information is lost if power is removed, although non-volatile RAM has also been
developed.[3] Other types of non-volatile memories exist that allow random access for
read operations, but either do not allow write operations or have other kinds of
limitations on them. These include most types of ROM and a type of flash
memory called NOR-Flash.
The two main types of volatile random-access semiconductor memory are static
random-access memory (SRAM) and dynamic random-access memory (DRAM).
Commercial uses of semiconductor RAM date back to 1965, when IBM introduced the
SP95 SRAM chip for their System/360 Model 95 computer, and Toshiba used DRAM
memory cells for its Toscal BC-1411 electronic calculator, both based on bipolar
transistors. Commercial MOS memory, based on MOS transistors, was developed in
the late 1960s, and has since been the basis for all commercial semiconductor memory.
The first commercial DRAM IC chip, the Intel 1103, was introduced in October
1970. Synchronous dynamic random-access memory (SDRAM) later debuted with
the Samsung KM48SL2000 chip in 1992.
The two widely used forms of modern RAM are static RAM (SRAM) and dynamic
RAM (DRAM). In SRAM, a bit of data is stored using the state of a six-
transistor memory cell. This form of RAM is more expensive to produce, but is
generally faster and requires less dynamic power than DRAM. In modern computers,
SRAM is often used as cache memory for the CPU. DRAM stores a bit of data using a
transistor and capacitor pair, which together comprise a DRAM cell. The capacitor
holds a high or low charge (1 or 0, respectively), and the transistor acts as a switch that
lets the control circuitry on the chip read the capacitor's state of charge or change it. As
this form of memory is less expensive to produce than static RAM, it is the
predominant form of computer memory used in modern computers.
Both static and dynamic RAM are considered volatile, as their state is lost or reset when
power is removed from the system. By contrast, read-only memory (ROM) stores data
by permanently enabling or disabling selected transistors, such that the memory
cannot be altered. Writeable variants of ROM (such as EEPROM and flash memory)
share properties of both ROM and RAM, enabling data to persist without power and to
be updated without requiring special equipment. These persistent forms of
semiconductor ROM include USB flash drives, memory cards for cameras and portable
devices, and solid-state drives. ECC memory (which can be either SRAM or DRAM)
includes special circuitry to detect and/or correct random faults (memory errors) in the
stored data, using parity bits or error correction codes.
In general, the term RAM refers solely to solid-state memory devices (either DRAM or
SRAM), and more specifically the main memory in most computers. In optical storage,
the term DVD-RAM is somewhat of a misnomer since, unlike CD-RW or DVD-RW it
does not need to be erased before reuse. Nevertheless, a DVD-RAM behaves much like
a hard disc drive if somewhat slower.
The memory cell is the fundamental building block of computer memory. The memory
cell is an electronic circuit that stores one bit of binary information and it must be set to
store a logic 1 (high voltage level) and reset to store a logic 0 (low voltage level). Its
value is maintained/stored until it is changed by the set/reset process. The value in the
memory cell can be accessed by reading it.
In SRAM, the memory cell is a type of flip-flop circuit, usually implemented
using FETs. This means that SRAM requires very low power when not being accessed,
but it is expensive and has low storage density.
A second type, DRAM, is based around a capacitor. Charging and discharging this
capacitor can store a "1" or a "0" in the cell. However, the charge in this capacitor
slowly leaks away, and must be refreshed periodically. Because of this refresh process,
DRAM uses more power, but it can achieve greater storage densities and lower unit
costs compared to SRAM.
To be useful, memory cells must be readable and writeable. Within the RAM device,
multiplexing and demultiplexing circuitry is used to select memory cells. Typically, a
RAM device has a set of address lines A0... An, and for each combination of bits that
may be applied to these lines, a set of memory cells are activated. Due to this
addressing, RAM devices virtually always have a memory capacity that is a power of
two.
Usually several memory cells share the same address. For example, a 4 bit 'wide' RAM
chip has 4 memory cells for each address. Often the width of the memory and that of
the microprocessor are different, for a 32 bit microprocessor, eight 4 bit RAM chips
would be needed.
Often more addresses are needed than can be provided by a device. In that case,
external multiplexors to the device are used to activate the correct device that is being
accessed.
MEMORY HIERARCHY
One can read and over-write data in RAM. Many computer systems have a memory
hierarchy consisting of processor registers, on-die SRAM caches,
external caches, DRAM, paging systems and virtual memory or swap space on a hard
drive. This entire pool of memory may be referred to as "RAM" by many developers,
even though the various subsystems can have very different access times, violating the
original concept behind the random access term in RAM. Even within a hierarchy level
such as DRAM, the specific row, column, bank, rank, channel,
or interleave organization of the components make the access time variable, although
not to the extent that access time to rotating storage media or a tape is variable. The
overall goal of using a memory hierarchy is to obtain the highest possible average
access performance while minimizing the total cost of the entire memory system
(generally, the memory hierarchy follows the access time with the fast CPU registers at
the top and the slow hard drive at the bottom).
READ-ONLY MEMORY
Read-only memory (ROM) is a type of storage medium that permanently stores data
on personal computers (PCs) and other electronic devices. It contains the
programming needed to start a PC, which is essential for boot-up; it performs major
input/output tasks and holds programs or software instructions.
There are numerous ROM chips located on the motherboard and a few on expansion
boards. The chips are essential for the basic input/output system (BIOS), boot up,
reading and writing to peripheral devices, basic data management and the software for
basic processes for certain utilities.
Other types of non-volatile memory include:
Because ROM cannot be changed and is read-only, it is mainly used for firmware.
Firmware is software programs or sets of instructions that are embedded into a
hardware device. It supplies the needed instructions on how a device communicates
with various hardware components. Firmware is referred to as semi-permanent
because it does not change unless it is updated. Firmware includes BIOS, erasable
programmable ROM (EPROM) and the ROM configurations for software.
REFERENCES:
https://en.wikipedia.org/wiki/Semiconductor_memory
https://www.rohm.com/electronics-basics/memory/what-is-semiconductor-memory
https://en.wikipedia.org/wiki/Random-access_memory
https://www.techopedia.com/definition/2804/read-only-memory-rom