Beruflich Dokumente
Kultur Dokumente
Memory Types
Two basic types:
• ROM: Read-only memory
• RAM: Read-Write memory
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
Memory Chips
The number of address pins is related to the number of memory locations.
Common sizes today are 1K to 256M locations.
Therefore, between 10 and 28 address pins are present.
Each memory device has at least one chip select (CS) or chip enable (CE) or
select (S) pin that enables the memory device.
This enables read and/or write operations.
If more than one are present, then all must be 0 in order to perform a
read or write.
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
Memory Chips
Each memory device has at least one control pin.
For ROMs, an output enable (OE) or gate (G) is present.
The OE pin enables and disables a set of tristate buffers.
For RAMs, a read-write (R/W) or write enable (WE) and read enable (OE)
are present.
For dual control pin devices, it must be hold true that both are not 0
at the same time.
ROM:
Non-volatile memory: Maintains its state when powered down.
There are several forms:
• ROM: Factory programmed, cannot be changed. Older style.
• PROM: Programmable Read-Only Memory.
Field programmable but only once. Older style.
• EPROM: Erasable Programmable Read-Only Memory.
Reprogramming requires up to 20 minutes of high-intensity UV light
exposure.
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
Memory Chips
ROMs (cont):
• Flash EEPROM: Electrically Erasable Programmable ROM.
Also called EAROM (Electrically Alterable ROM) and NOVRAM
(NOn-Volatile RAM).
Writing is much slower than a normal RAM.
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
EPROMs
Intel 2716 EPROM (2K X 8):
A7 1 24 VCC
A6 VPP is used to program the device
2 23 A8
A5 3 22 A9 by applying 25V and pulsing PGM
A4 4 21 VPP while holding CS high.
A3 5 20 CS
A2 6 2716 19 A10 Data Outputs
A1 7 18 PD/PGM
A0 8 17 O7
O0 9 16 O6 Chip Select
O1 CS Output
10 15 O5 PWR Down
O2 11 14 O4 PD/PGM Prog Logic Buffers
GND 12 13 O3
Y
2K x 8 EPROM Y-Gating
Address Inputs Decoder
Pin(s) Function
A0-A10 Address
PD/PGM Power down/Program X 16,384
Decoder Cell Matrix
CS Chip Select
O0-O7 Outputs
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
EPROMs
2716 Timing diagram:
Address
tOH
CS tDF
High Z
Data Out Valid
tACC1
Read Mode (PD/PGM =VIL)
Sample of the data sheet for the 2716 A.C. Characteristics.
Limits
Symbol Parameter Unit Test Condition
Min Typ. Max
tACC1 Addr. to Output Delay 250 450 ns PD/PGM= CS =VIL
tOH Addr. to Output Hold 0 ns PD/PGM= CS =VIL
tDF Chip Deselect to Output Float 0 100 ns PD/PGM=VIL
... ... ... ... ... ... ...
This EPROM requires a wait state for use with the 8086 (460ns constraint).
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
SRAMs
TI TMS 4016 SRAM (2K X 8):
A7 1 24 VCC
A6 2 23 A8
A5 3 22 A9
A4 4 21 W Pin(s) Function
TMS4016
A3 5 20 G
A2 19 A0-A10 Address
6 A10
A1 7 18 S DQ0-DQ7 Data In/Data Out
A0 8 17 DQ8
DQ1 16 S (CS) Chip Select
9 DQ7
DQ2 10 15 DQ6 G (OE) Read Enable
DQ3 11 14 DQ5
GND 13 W (WE) Write Enable
12 DQ4
2K x 8 SRAM
Virtually identical to the EPROM with respect to the pinout.
However, access time is faster (250ns).
See the timing diagrams and data sheets in text.
SRAMs used for caches have access times as low as 10ns.
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
DRAMs
DRAM:
SRAMs are limited in size (up to about 128K X 8).
DRAMs are available in much larger sizes, e.g., 64M X 1.
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
DRAMs
TI TMS4464 DRAM (64K X 4):
TMS4464
DQ2 3 16 CAS A0-A7 Address
W 4 15 DQ3 DQ0-DQ4 Data In/Data Out
RAS 5 14 A0
A6 6 13 A1 RAS Row Address Strobe
A5 7 12 A2 CAS Column Address Strobe
A4 8 11 A3
VDD 9 10 A7 G Output Enable
W Write Enable
64K x 4 DRAM
The TMS4464 can store a total of 256K bits of data.
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
DRAMs
TI TMS4464 DRAM (64K X 4) Timing Diagram:
Something is inconsistent
RAS here (see MUX below).
CAS
1A 1B 2A 2B 3A 3B 4A 4B RAS 1A 1B 2A 2B 3A 3B 4A 4B
A0 A1 A2 A3 Inputs to DRAM A4 A5 A6 A7
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
DRAMs
Larger DRAMs are available which are organized as 1M X 1, 4M X 1, 16M X
1, 64M X 1 (with 256M X 1 available soon).
DRAMs are typically placed on SIMM (Single In-line Memory Modules)
boards.
30-pin SIMMs come in 1M X 8, 1M X 9 (parity), 4M X 8, 4M X 9.
72-pin SIMMs come in 1/2/3/8/16M X 32 or 1M X 36 (parity).
VSS Addr0-11 RAS W NC
VCC DQ0-31 CAS PD1-4
+ 5 10 15 20 25 30 35 40 45 50 55 60 65 70
+
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966
Systems Design & Programming Memory I CMPE 310
DRAMs
Pentiums have a 64-bit wide data bus.
The 30-pin and 72-pin SIMMs are not used on these systems.
Rather, 64-bit DIMMs (Dual In-line Memory Modules) are the standard.
These organize the memory 64-bits wide.
The board has DRAMs mounted on both sides and is 168 pins.
The EPROM provides information abou the size and speed of the
memory device for PNP applications.
YLAND BA
UMBC
AR L
M
TI
U M B C
F
IVERSITY O
MO
RE COUNT
1966