0% found this document useful (0 votes)
23 views20 pages

Chapter 4

This document discusses memory organization and types of memory chips. It begins by classifying memories as main memory (RAM and ROM) and storage memory. RAM is made up of flip-flops and allows temporary storage and read/write access, while ROM uses diodes to permanently hold information and only allows read access. It then describes different types of RAM (SRAM and DRAM) and ROM (MROM, PROM, EPROM, EEPROM, Flash). The document concludes by discussing memory chip capacity and organization including word size, address lines, and examples of commonly used memory chips.

Uploaded by

salitemhiret
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views20 pages

Chapter 4

This document discusses memory organization and types of memory chips. It begins by classifying memories as main memory (RAM and ROM) and storage memory. RAM is made up of flip-flops and allows temporary storage and read/write access, while ROM uses diodes to permanently hold information and only allows read access. It then describes different types of RAM (SRAM and DRAM) and ROM (MROM, PROM, EPROM, EEPROM, Flash). The document concludes by discussing memory chip capacity and organization including word size, address lines, and examples of commonly used memory chips.

Uploaded by

salitemhiret
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

CHAPTER FOUR

Memory Organization
Outline
 Classification of Memories
 Memory types: RAM, ROM
 Memory Chip Capacity & Organization
 Electrical Signals
 Organization of a Typical memory chips
 RAM
 Reprogrammable ROMs
EPROM
EEPROM
Classification of Memories

 Memory in a microprocessor system is where information (data


and instructions) is kept. It can be classified into two main types:
 Main memory (RAM and ROM)
 It is a memory unit that communicate directly with the CPU. Main
memories are fabricated from semiconductors. only programs and data
currently needed by the processor reside in main memory.
 Storage memory (Disks , CD ROMs, etc.)
 Devices that provide backup storage are called secondary (auxiliary )
memory. These are constructed from magnetized materials
 The simple view of RAM is that it is made up of registers that are
made up of flip-flops (or memory elements).
 The number of flip-flops in a “memory register” determines the

size of the memory word.


 ROM on the other hand uses diodes instead of the flip-flops
to permanently hold the information.
Classification of Memories…

Memory

Primary Memory Secondary Memory

RWM
(RAM)
ROM Disks Tape
MROM

SRAM DRAM
Floppy
PROM
Flash
memory
EPROM
Bubble H/D

EEPROM
(EAROM) Optical
Memory hierarchy
 The hierarchy is Registers
Cache
based on the speed, Speed
Main memory
size and distance
from the processor Electronic Disk

Magnetic Disk

Optical Disk
Cost cheap,
Magnetic Tape size
Semiconductor Technologies for
memories
 Bipolar Technology:- high speed
 MOS Technology :- less space (high density), less
power consumption.
 PMOS technology -earlier
 NMOS technology -speed, density
 CMOS technology -less power consumption
Types of semiconductor memory
 Semiconductor memories can be classified as:

 Volatilememories –in which information stored is lost


when power supply is off. E.g. RAMs
 Nonvolatile memories– in which information is not
lost even when power is off. E.g. ROMs

 In both RAM and ROM, accessing is random


and the memory access time is independent of
the memory location.
Types of semiconductor memory…
 RAM -- allows temporary storage, allows read/write
operation, available in bipolar and MOS technologies:
 Bipolar RAMs– are very fast.
- Access time for TTL RAMs is 20 to 50ns.
- Access time for ECL RAMs is much less---10ns.
 MOS RAMs –access time is 25 to 500ns.

- SRAMs store information in flip-flops.


- DRAMs store information in capacitive stray.
 ROM – allows permanent storage, allows read only
operation, available in bipolar and MOS technologies.
Types of ROMs
 MROM:- Mask-Programmed ROM (MPROM) or simply ROM.
 Programmed by manufacturer according to the customer’s
specifications. The P can only read from such memory. It cannot be
reprogrammed by a user.
 A photographic negative (mask) is used to control the electrical
interconnections on the chip.
 PROM: Programmable ROM. It is one time user programmable
ROM.
 ones it is user programmed it serves as a ROM. i.e. it cannot
reprogrammed again.
 both ROM and PROM consists fusible-link in each cell. Blowing off
or retaining the fuse decides whether the cell contains a 1 or a 0.
 it is programmed by PROM programmer (apparatus). The Process of
storing information in ROM is called programming or burning the
ROM
Types of ROMs…
 EPROM: Erasable Programmable ROMs
 can be erased and reprogrammed by user several times.
 it is programmed by EPROM programmer by applying special
voltage levels ( 10 to 25v).
 It is erased by exposing it to UV light applied through a window
on the chip.
Disadvantage: - erased/programmed out of chip.
- all cells erased,
- take more time to erase/program(15 to 20min).
Advantage: High density, low cost per bit, high speed, reliable,
widely available
UV light
Types of ROMs…
 EEPROM: Electrically Erasable PROMs (E2PROM or
EAROM)
 programmed/erased by applying 21v.
 erased/programmed while under normal operation (in circuit).
Thus ideal for applications where some parametric data needs
change over a period of time. Typical erasure times vary
between 1 to 10 sec.
 A cell, unlike EPROM, can be selectively
erased/programmed.
Disadvantage: lower density, much costlier than EPROM.
 Flash memory: it has the best features of both EPROM
and EEPROM. It can be erased either in its entirety or at
sector (block ) level.
Types of RAMs
 SRAM: Static RAM
- made up of flip-flops.
- has high speed but low density.
- more expensive, consumes more power than DRAM.
Note: the stored data will remain permanently stored as long as power is
applied
 DRAM: Dynamic RAM

- it stores the bit as a charge.


- made up of transistor gates.
- it has high density, but low speed.
- low power consumption.
- cheaper than SRAM.
- needs refreshing – requires external circuitry for refreshing, adding cost.
- i.e. the stored data will not remain permanently stored, even with power
applied, unless the data are periodically rewritten (refreshed ) in to memory.
Note: Both SRAM and DRAM are volatile.
Memory Chip Capacity & Organization
 A memory is a circuit that can store bits—high or low,
generally voltage levels or capacitive charges representing 1
or 0
 The basic memory element is similar to a D latch
 To avoid unintentional change in the input, and control the
availability of the output, we can use two tri-state buffers on
the latch.
 A latch, which can store one binary bit, is called a memory
cell
Memory cell

D IN D Q D OUT
WR
EN (a) A memory cell latch with
EN
RD two tri-state Buffers
Memory Chip Capacity & Organization…

I7 I0
WR Input Buffer
64kb memory.
Each register contains 8 D A0 MR1 0000H
216 =65536 MR2
Decoder
A1 0001H
Latch flip-flops.
The I/P and O/P buffers are FFFEH
A14 MR 65535
each of 8 Tri-state A15 MR 65536 FFFFH
buffers.
RD Output Buffer

O7 O0
Memory Chip Capacity & Organization…
 Memory is usually measured by two numbers: its length and its
width (Length X Width)
 Capacity of a chip = length x width
 length is total number of words(the total number of locations),
 width is number of bits per word(location).
 Word size is the number of bits a µP can access in parallel at a time.
 The length (total number of words) is a function of the number of
address lines
 # of memory locations = 2^( # of address lines)
 So, a memory chip with 10 address lines would have
2^10 = 1024 words or locations (1K)
 Looking at it from the other side, a memory chip with 4K
locations would need
Log2 4096=12 address lines
Memory Chip Capacity & Organization…

 The memory that is addressed by the µP (RAM or ROM)


consist of one or more LSI chips arranged to provide the
designed memory capacity.
 Memory capacity for a µP is a memory address range that it
can address with its all address lines.
 The 8085 has 16 address lines. That means it can address
 216 = 65536 bytes = 64kb
 Then it will need 1 memory chip with 64 k locations, or 2 chips
with 32 K in each, or 4 with 16 K each or 16 of the 4 K chips, etc.
Organization of some commonly used memory chips
IC No. Make capacity Type Access Time in ns
6116 Hitachi 2kx8-bit SRAM
17
6118 “ 4kx4-bit SRAM
6264 “ 8kx8-bit RAM (SRAM)
6287 “ 64kx1-bit RAM(SRAM)
2147H Intel 4kx1-bit SRAM 35
21256 “ 256kx1-bit DRAM 60
5164 s/c “ 8kx8-bit CMOS SRAM 35
2716 “ 2kx8-bit EPROM
2764 “ 8kx8-bit EPROM 180

Three cases:
a) Smaller word size chips can be connected to make up an 8-bit word memory.

b) More than one memory chips can be arranged to make up the memory capacity for a µP. Need of
additional chip select (CS) signal- which allows us to expand memory size by using multiple
chips.

c) There are more address lines but less memory chip are sufficient. Two solution:
. Absolute decoding
. Partial decoding– leaving some address lines as don’t care.
Chip Select
 Usually, each memory chip has a CS (Chip Select)
input. The chip will only work if an active signal is
applied on that input
 To allow the use of multiple chips in the make up
of memory, we need to use a number of the address
lines for the purpose of “chip selection”
 These address lines are decoded to generate the
necessary CS inputs for the memory chips to be used.
Chip Select Example
 Assume that we need to build a memory system
made up of 4 of the 4 X 4 memory chips we
designed earlier
 We will need to use 2 inputs and a decoder to
identify which chip will be used at what time
 The resulting design would now look like the one
on the following slide
Chip Select Example…

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy