0% found this document useful (0 votes)
104 views

Memory Hamacher

This document discusses different types of memory modules used in computer systems. It describes the basic connection between the CPU and memory. It explains the organization of bit cells in memory chips and provides examples of ROM, SRAM and DRAM chips. It compares characteristics of different semiconductor memories like ROM, PROM, EPROM, EEPROM, Flash memory, SRAM and DRAM. It also discusses memory modules, synchronous DRAM and the role of memory controllers.

Uploaded by

ni
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views

Memory Hamacher

This document discusses different types of memory modules used in computer systems. It describes the basic connection between the CPU and memory. It explains the organization of bit cells in memory chips and provides examples of ROM, SRAM and DRAM chips. It compares characteristics of different semiconductor memories like ROM, PROM, EPROM, EEPROM, Flash memory, SRAM and DRAM. It also discusses memory modules, synchronous DRAM and the role of memory controllers.

Uploaded by

ni
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Generic-memory module

From book V. Carl Hamacher


Fundamental of Computer Architecture

2019-20 EVEN SEMESTER Dr. Bhargav Goradiya


BVM Engineering College
Chapter 5
The Memory System

Memory modules generic BHARGAV GORAIDYA 2


Connection of the memory to the CPU

Processor k-bit address bus Memory


MAR

k
n-bit data bus Up to 2 addressable
MDR locations

Control lines word length= n bits


CU

Memory modules generic BHARGAV GORAIDYA 3


Organization of bit cells in a memory chip

From Figure 5.2 Page 296 of “Computer Organization”, Carl Hamacher, 5th edition, McGraw Hill pub.
Memory modules generic BHARGAV GORAIDYA 4
Organization of a 1Kx1 memory chip

From Figure 5.3 Page 297 of “Computer Organization”, Carl Hamacher, 5th edition, McGraw Hill pub.

Memory modules generic BHARGAV GORAIDYA 5


Semiconductor Memories
 Nonvolatile memory  Volatile memory
ROM SRAM

PROM DRAM

EPROM Asynchronous
 DRAM
EEPROM
 FPM DRAM
Flash memory
Synchronous
 SDRAM

 DDR SDRAM

 RDRAM

Memory modules generic BHARGAV GORAIDYA 6


ROM
ROM : Read Only Memory
Programmed when manufacturing is in process.

PROM : Programmable Read Only Memory


 Programmable by user only once
 Flexible and convenient compared to ROM

 Programmed by burning the fuse using high current pulse

Memory modules generic BHARGAV GORAIDYA 7


A simple 4-word ROM

From Figure 11-12 Page 298 of “Microprocessors: principles and applications”, Charles M.Gilmore, McGraw Hill pub.
Memory modules generic BHARGAV GORAIDYA 8
A simple 4-word ROM using MOS

From Figure 11-13 Page 299 of “Microprocessors: principles and applications”, Charles M.Gilmore, McGraw Hill pub.
Memory modules generic BHARGAV GORAIDYA 9
EEPROM
Electrically Erasable PROM

No requirement of physically removed from the


circuit for reprogramming
 Use special voltage level to erase data
 Any cell contents can be delete selectively

Memory modules generic BHARGAV GORAIDYA 10


EPROM
Reprogrammable

Erased by UV light
 Example EPROM chips
 27C64 : 8KB
 27C128 : 16KB

 27C256 : 32KB

 27C512 : 64KB

Memory modules generic BHARGAV GORAIDYA 11


EPROM 2764, 27128, 27256

From Figure 11-15, Page 301 of “Microprocessor : Principle and Application”, Charles M. Gilmore, McGraw Hill pub.

Memory modules generic BHARGAV GORAIDYA 12


Flash Memory
Electrically erasable

Single cell can be read but can be written only an


entire block of cells.
 Prior to writing, the previous of the block are erased.
 Suitable for used as solid state disk such as CompactFlash,
MemoryStick, SD, MD etc.

Memory modules generic BHARGAV GORAIDYA 13


SRAM cell
b b'
Vsupply

word line

bit line bit line


Memory modules generic BHARGAV GORAIDYA 14
DRAM cell

word line

bit line

Memory modules generic BHARGAV GORAIDYA 15


SRAM VS DRAM
SRAM DRAM
 Very fast  Slower than SRAM

 Very Expensive  Cheaper than SRAM

 Used in Cache memory  Used in most computer


and CPU register as main memory
 Need to be refreshed periodically

Memory modules generic BHARGAV GORAIDYA 16


DRAM: Multiplexed Row-Column addressing

From Figure 11-7, Page 291 of “Microprocessor : Principle and Application”, Charles M. Gilmore, McGraw Hill pub.

Memory modules generic BHARGAV GORAIDYA 17


DRAM: Multiplexed Row-Column addressing
Reducing Address pins of IC chip

RAS = Row Address Strobe

CAS = Column Address Strobe

Memory modules generic BHARGAV GORAIDYA 18


Static RAM

 2Kx8  8Kx8

From Figure 11-5, Page 289 of “Microprocessor : Principle and Application”, Charles M. Gilmore, McGraw Hill pub.

Memory modules generic BHARGAV GORAIDYA 19


Dynamic RAM chip: Example

From Figure 11-6, Page 290 of “Microprocessor : Principle and Application”, Charles M. Gilmore, McGraw Hill pub.

Memory modules generic BHARGAV GORAIDYA 20


Memory Module

From www.oamao.com/Matos/ ordi/guide.htm

Memory modules generic BHARGAV GORAIDYA 21


3 Types of RAM modules

FROM http://www.buycomputermemory.com/computer-memory-types-and-memory-technology.html
Memory modules generic BHARGAV GORAIDYA 22
Internal organization of a 2Mx8 DRAM

From Figure 5.7 Page 300 of “Computer Organization”, Carl Hamacher, 5th edition, McGraw Hill pub.
Memory modules generic BHARGAV GORAIDYA 23
SDRAM
Synchronous DRAM

Need clock signal for synchronize operation

Can be used with clock speed 100 and 133 MHz

Built in refresh circuitry

Memory modules generic BHARGAV GORAIDYA 24


Structure of Synchronous DRAM

From Figure 5.8 Page 302 of “Computer Organization”, Carl Hamacher, 5th edition, McGraw Hill pub.
Memory modules generic BHARGAV GORAIDYA 25
Burst read of length 4 in an SDRAM

Row Col

D0
From Figure 5.9 Page 303 of “Computer Organization”, Carl Hamacher, 5th edition, McGraw Hill pub.
Memory modules generic BHARGAV GORAIDYA 26
The use of Memory controller

Row/Column
Address address

RAS
R/W
CAS
Memory
Request Controller R/W

Processor Clock
CS Memory
Clock

data

Memory modules generic BHARGAV GORAIDYA 27


The role of Memory controller
Is the North-bridge chip in typical PC

Activate/Deactivate signal RAS and CAS timing


for DRAM
Interposed between Processor and Memory

Refresh DRAM if required

Memory modules generic BHARGAV GORAIDYA 28


Memory organization in typical PC

From http://www.via.com.tw/en/p4-series/pt800.jsp

Memory modules generic BHARGAV GORAIDYA 29


Memory organization in typical PC

From http://www.via.com.tw/en/p4-series/pt880.jsp

Memory modules generic BHARGAV GORAIDYA 30


Memory hierarchy
Processor
increasing increasing increasing
size Registers speed cost per bit

Cache L1

Cache L2

Main
memory

secondary
storage
memory

Memory modules generic BHARGAV GORAIDYA 31


Thanks

Memory modules generic BHARGAV GORAIDYA 32

You might also like