Professional Documents
Culture Documents
Memory: Prof. Dhaval Shah
Memory: Prof. Dhaval Shah
Digital Circuits
Outline
Introduction to memory
Classification of memory
Various types of memory
Read only Memory
Random Access Memory
Programmable Logic Devices
Programmable Array Logic
Programmable Logic Array
Other form of Memory
Magnetic Core Memory
Charge Coupled Device
Digital Circuits
Introduction to memory
Memory is the basic requirement of every
automatic computational system.
Data Memory
Program Memory
Main Memory
Peripheral Memory
Digital Circuits
Classification of memory
Digital Circuits
Types of Memory
Digital Circuits
Types of Memories
Static
Information are stored in latches
remains valid as long as power is applied
short read/write cycle
Dynamic
Information are stored in the form of charges
on capacitors
the stored charge tends to discharge with time
need to be refreshed (read and write back)
reduced power consumption
6
Digital Circuits
Read-Only Memory
Store permanent binary information
2k x n ROM
Digital Circuits
An Example of ROM
32x8 ROM
5-to-32 decoder
8 OR gates
each has 32 inputs
32x8 internal programmable connections
Digital Circuits
10
Digital Circuits
11
Digital Circuits
00
00
00
00
00
12
Digital Circuits
00
00
00
00
00
13
Digital Circuits
ROM truth table (partial)
14
Digital Circuits
Combinational Circuit Implementation
15
Digital Circuits
Design procedure:
1. Determine the size of ROM
2. Obtain the programming truth table of the
ROM
3. The truth table = the fuse pattern
16
Digital Circuits
ROM implementation
Truth table
17
Digital Circuits
ROM TYPES
Read only Memory (ROM)
MROM
PROM
EPROM
EEPROM
18
Digital Circuits
MROM
19
Digital Circuits
PROM Array before programming
20
Digital Circuits
PROM Array after programming
21
Digital Circuits
Application of ROM
22
Digital Circuits
Random-Access Memory
A memory unit
stores binary information in groups of bits
(words)
8 bits (a byte), 2 bytes, 4 bytes
23
Digital Circuits
Block diagram of RAM
24
Digital Circuits
A 1024*16 Memory
25
Digital Circuits
Write and Read Operations
Write operation
• Apply the binary address to the address lines
• Apply the data bits to the data input lines
• Activate the write input
Read operation
• Apply the binary address to the address lines
• Activate the read input
26
Digital Circuits
27
Digital Circuits
Timing Waveforms
The operation of the memory unit is
controlled by an external device
The access time
Time required to select a word and read it
The cycle time
Time required to complete a write operation
Read and write operations must synchronized
with an external clock
28
Digital Circuits
29
Digital Circuits
30
Digital Circuits
31
Digital Circuits
Internal Construction
A RAM of m words and n bits per word
m*n binary storage cells
Decoding circuits to select individual words
k-to-2k decoder
32
Digital Circuits
33
Digital Circuits
Memory Structure and SRAM
Output enable
Chip select
Storage
Write enable cells
Data in / D Q / / Data out
g g g
Address / FF
h C Q
0
D Q /
g
FF
C Q
Address
1
decoder
.
. WE
. D Q / D in
g D out
FF Addr
C Q CS OE
2h –1
Digital Circuits
DRAM and SRAM
Pass
transistor
Capacitor
Compl.
Bit Bit
bit
line line
line
(a) DRAM cell (b) Typical SRAM cell
Digital Circuits
Programmable Logic
Device
Digital Circuits
Combinational PLD
37
Digital Circuits
38
Digital Circuits
Programmable Logic Array
PLA
an array of programmable AND gates
can generate any product terms of the inputs
an array of programmable OR gates
can generate the sums of the products
more flexible than ROM
use less circuits than ROM
only the needed product terms are generated
39
Digital Circuits
F1 = AB + AC + ABC
F2 = (AC + BC)
40
Digital Circuits
PLA (cont..)
41
Digital Circuits
PLA (cont..)
The size of a PLA
The number of inputs
The number of product terms (AND gates)
The number of outputs (OR gates)
When implementing with a PLA
reduce the number of distinct product terms
the number of terms in a product is not
important
42
Digital Circuits
PAL
43
Digital Circuits
Sequential Programmable Devices
Sequential programmable logic device
SPLD
PLD + flip-flops
44
Digital Circuits
We Hope that this
Memory
will remain forever to your
Memory
Thank You!
45
Digital Circuits