Chapter 5 Internal Memory

Slides:



Advertisements
Similar presentations
Computer Organization and Architecture
Advertisements

Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Computer Organization and Architecture
Chapter 5 Internal Memory
IT Systems Memory EN230-1 Justin Champion C208 –
8-5 DRAM ICs High storage capacity Low cost Dominate high-capacity memory application Need “refresh” (main difference between DRAM and SRAM) -- dynamic.
Overview Booth’s Algorithm revisited Computer Internal Memory Cache memory.
CSCI 4717/5717 Computer Architecture
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
CH05 Internal Memory Computer Memory System Overview Semiconductor Main Memory Cache Memory Pentium II and PowerPC Cache Organizations Advanced DRAM Organization.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Lecture # 13 Memory and Storage
CSC 101 Introduction to Computing Lecture 10 Dr. Iftikhar Azim Niaz 1.
5.1 Semiconductor main memory  Organization The basic element of a semiconductor memory is the memory cell. Semiconductor memory cells properties: 1.
Chapter 4 ระบบหน่วยความจำ The Memory System
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
ECE 456 Computer Architecture
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory /27/081ECE Lecture 13 Memory 2.
Chapter 8 Memory Interface
MODULE 5: Main Memory.
Computer Architecture CST 250 MEMORY ARCHITECTURE Prepared by:Omar Hirzallah.
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
Internal Memory.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Chapter 4: MEMORY Internal Memory.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Memory Cell Operation.
Computer system & Architecture
Computer Architecture Lecture 24 Fasih ur Rehman.
Semiconductor Memory Types
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
Computer Architecture Chapter (5): Internal Memory
Chapter 5 - Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
שמות מאפיינים ומטרות של זיכרונות ROM - ו RAM
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4: MEMORY.
AKT211 – CAO 07 – Computer Memory
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Chapter 5 Internal Memory

Semiconductor Memory Types Today’s technology: 1 Gigabit / sq in In R&D: 100 Gigabits / sq in

Semiconductor Memory (SRAM)

Semiconductor Memory (DRAM) 16Mbit DRAM

Semiconductor memory (EPROM)

Static RAM (SRAM) Desired for main memory Used in cache Basically an array of flip-flops Simple to interface and control Fast Relatively low density - complex Relatively expensive

Static RAM model

1K X 4 SRAM (Part Number 2114N)

1K X 4 SRAM (Part Number 2114N)

1K X 4 SRAM (Part Number 2114N)

A 16Mbit chip can be organised as 1M of 16 bit words Memory Organization A 16Mbit chip can be organised as 1M of 16 bit words A bit per chip system has 16 lots of 1Mbit chip with bit 1 of each word in chip 1 and so on A 16Mbit chip can be organised as a 2048 x 2048 x 4bit array Reduces number of address pins Multiplex row address and column address 11 pins to address (211=2048) Adding one more pin doubles range of values so x4 capacity

Memory Design – 1K x 4 A[00:09]    D[03:00] Addr Block Select 

Memory Design – 1K x 8 D[07:04] D[03:00] A[00:09]  A[00:09]  Addr Block Select => Addr Block Select =>

Memory Design - 2k x 8 D[07:04] D[03:00] Block 00 Block 01

Memory Design - 4k x 8 D[07:04] D[03:00] Block 00 Block 01 Block 10

22 x 3 Memory word select word WE input bits address write enable Decoder asserts one of the word select lines, based on address. Word select activates one of the output AND gates, which drives the selected data to the output OR gate. (For a read, this is basically a MUX -- decoder ANDed with signals, results ORed together.) When writing, the only WE bits for the proper word are asserted (based on decoder again). address decoder output bits

2 BIT Decoder (2 to 4)

2 to 4 Bit Decoder

3 to 8 Bit Decoder

2 to 1 MUX

4 to 1 MUX

8 to 1 MUX

16 to 1 MUX ?

Register

22 x 3 Memory word select word WE input bits address write enable Decoder asserts one of the word select lines, based on address. Word select activates one of the output AND gates, which drives the selected data to the output OR gate. (For a read, this is basically a MUX -- decoder ANDed with signals, results ORed together.) When writing, the only WE bits for the proper word are asserted (based on decoder again). address decoder output bits

24 x 8 Memory ?

Dynamic RAM (DRAM) Used in main memory Bits stored as charge in capacitors Essentially analog device Charges leak Need refreshing even when powered Need refresh circuits Higher density (more bits per chip) Slower than Static RAM Less expensive

Dynamic RAM model

Microprogramming (will address later) Library subroutines Read Only Memory (ROM) Permanent storage Nonvolatile Microprogramming (will address later) Library subroutines Systems programs (BIOS) Function tables Controllers

ROM: Written during manufacture Types of ROM ROM: Written during manufacture Very expensive for small runs PROM: Programmable (once) Needs special equipment to program Read “mostly” EPROM: Erasable Programmable Erased by UV (All of chip!) Flash memory Whole blocks of memory stored/changed electrically EEPROM: Electrically Erasable Takes much longer to write than read (lower density)

EPROM

Semiconductor Memory 16Mbit DRAM

256kByte Module Organisation (256K x 1)

Typical 16 Mb DRAM (4M x 4)

1MByte Module Organization (1Meg x 8 bits)

Refreshing Refresh circuit is included on the chip Count through rows Read & Write back Chip must be disabled during refresh Takes time Occurs asynchronously Slows down apparent performance

Improvements in memory RAM – continually gets denser. DRAM – Several improvements: SDRAM – synchronous DRAM DDR-SDRAM - doubles transfer speed RDRAM – asynchronous one transfer per clock cycle

Comparison of improved DRAM Conventional DRAM – 40 to 100 MB/S transfer rate?

Synchronous DRAM (SDRAM) Access is synchronized with an external clock Address is presented to RAM RAM finds data (CPU waits in conventional DRAM) Since SDRAM moves data in time with system clock, CPU knows when data will be ready CPU does not have to wait, it can do something else Burst mode allows SDRAM to set up stream of data and fire it out in block DDR-SDRAM sends data twice per clock cycle (leading & trailing edge)

SDRAM Read Timing

SDRAM

SDRAM can only send data once per clock DDR SDRAM SDRAM can only send data once per clock Double-data-rate SDRAM can send data twice per clock cycle Rising edge and falling edge

Adopted by Intel for Pentium & Itanium Main competitor to SDRAM RAMBUS Adopted by Intel for Pentium & Itanium Main competitor to SDRAM Separate bus (hence the name RAMBUS) maximum 12 centimeter length bus ! Bus addresses up to 320 RDRAM chips at 1.6Gbps Asynchronous block protocol Precise control signal timing 480ns access time

RAMBUS Diagram