






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







CMPE 310 Memory Memory Types^ Two basic types:^ Q^ ROM:^ Read-only memory^ Q^ RAM:^ Read-Write memoryFour commonly used memories:^ P^ ROM^ P^ Flash, EEPROM^ P^ Static RAM (SRAM)^ P^ Dynamic RAM (DRAM), SDRAM, RAMBUS, DDR RAMGeneric pin configuration:^ A
N O^ O^0 Address connectionO^ N ... ... Output/Input-output connection
WriteWE ReadOESelectCS
CMPE 310 Memory 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.The data pins are typically^ bi-directional
in read-write memories. The number of data pins is related to the
size of the memory location
For example, an 8-bit wide (byte-wide) memory device has
^8 data pins. Catalog listing of^ 1K X 8^
indicate a byte addressable 8K bit memory with 10 addresspins. 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.
CMPE 310 Memory Memory ChipsROMs (cont):^ Q^ 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.Used to store setup information, e.g. video card, on computer systems.Can be used to replace EPROM for BIOS memory.
CMPE 310 Memory EPROMsIntel 2716 EPROM (2K X 8):^ A^7
Vis used to program the devicePP^ by applying 25V and pulsing PGMwhile holding CS high.Data Outputs^ CS Output PD/PGMBuffers^ YY-Gating^ Decoder^ X16,384^ DecoderCell Matrix^ Address Inputs
CMPE 310 Memory SRAMsTI TMS 4016 SRAM (2K X 8):^ 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.
Pin(s)^ FunctionA-A^ Address^010 DQ^ -DQ^ Data In/Data Out^07 S (CS)Chip SelectG (OE)Read Enable W (WE)^ Write Enable
CMPE 310 Memory DRAMsDRAM:^ SRAMs are limited in size (up to about 128K X 8).DRAMs are available in much larger sizes, e.g., 64M X 1.DRAMs MUST be refreshed (rewritten) every
2 to^4 ms Since they store their value on an integrated capacitor that loses charge over time.This refresh is performed by a special circuit in the DRAM which refreshes the entirememory.Refresh also occurs on a normal read or write.More on this later.The large storage capacity of DRAMs make it impractical to add the required numberof address pins.Instead, the address pins are
multiplexed.
CMPE 310 Memory DRAMs^ TI TMS4464 DRAM (64K X 4) Timing Diagram:RAS CAS^ Row CAS also performs the function of the chip select input.
Column^ Dont care AAAAAAA^0 8 1 9 2 10
74157 (2-to-1MUX) AA^ A^ A^01 2
Address BUS S S^ 74157 (2-to-1MUX) 0: latch A to Y1: latch B to Y1Y^ 2Y^ 3Y^ 4Y Inputs to DRAM
CMPE 310 Memory DRAMs^ Larger DRAMs are available which are organized as
256M X 1. DRAMs are typically placed on SIMM (Single In-line Memory Modules) boards.^ 30-pin^ SIMMs come in
1M X 8 ,^ 1M X 9^ (parity),
72-pin^ SIMMs come in^^1
/^2 /^3 /^8 / 16M X 32^ or^ 1M X 36
(parity). 5 10 15 20 25
Addr^ RASW0-11^ DQ^ PD CAS0- 1-