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.

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Computer Organization and Architecture
Chapter 5 Internal Memory
IT Systems Memory EN230-1 Justin Champion C208 –
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
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.
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Lecture # 13 Memory and Storage
CSC 101 Introduction to Computing Lecture 10 Dr. Iftikhar Azim Niaz 1.
Intro to Cache Memory By david hsu. Examples of memory Paper and writing, books Neon signs Cassettes and other magnetic tape memory Abacus Art material.
5.1 Semiconductor main memory  Organization The basic element of a semiconductor memory is the memory cell. Semiconductor memory cells properties: 1.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
CHAPTER 5 INTERNAL MEMORY
ECE 456 Computer Architecture
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Chapter 8 Memory Interface
MODULE 5: Main Memory.
Computer Engineering II 4 th year, Communications Engineering Winter 2014 Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
Computer Architecture CST 250 MEMORY ARCHITECTURE Prepared by:Omar Hirzallah.
Internal Memory.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Chapter 4: MEMORY Internal Memory.
Memory Cell Operation.
Computer system & Architecture
COMPUTER ORGANIZATIONS CSNB123 Ver.1Systems and Networking1.
Semiconductor Memory Types
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
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
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
Internal Memory.
William Stallings Computer Organization and Architecture 7th Edition
COMPUTER ORGANISATION AND ARCHITECTURE
William Stallings Computer Organization and Architecture 8th Edition
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
AKT211 – CAO 07 – Computer Memory
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Jazan University, Jazan KSA
Presentation transcript:

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 memory systems  To discuss more on advanced memory organizations

Key points  The two basic forms of semiconductor random access memory are dynamic RAM(DRAM) and static RAM(SRAM). SRAM is faster, expensive, less dense than DRAM and is used for Cache and DRAM is used for main memory.  Error correction techniques are commonly used in memory systems. These involve adding redundant bits that are a function of the data bits to form an error-correcting code. If a bit error occurs, the code will detect and correct the error.  To compensate for the relatively slow speed of DRAM, a number of advanced DRAM organizations have been introduced. The two most common are synchronous DRAM and RamBus DRAM.

Semiconductor Memory Types

Organization The basic element of a semiconductor memory is the memory cell. All semiconductor memory cells share certain properties:-  They exhibit two stable states, which can be used to represent binary 1 and 0 represent binary 1 and 0  They are capable of being written into, to set the state  They are capable of being read to sense the state.

Memory Cell Operation

Semiconductor Memory  RAM-random access memory  Misnamed as all semiconductor memory is random access  Read/Write  Volatile-RAM must be provided with constant power supply.  RAM can be used only as Temporary storage  Two traditional forms of RAM used in computers are Static or dynamic(DRAM, SRAM)

Dynamic RAM  Bits stored as charge in capacitors and the presence or absence of charge in a capacitor is interpreted as a binary 1 or 0  Because of tendency to discharge, dynamic RAMs require periodic charge refreshing to maintain data storage.  Used as main memory  Simpler construction  Smaller per bit  Less expensive  Need refresh circuits  Slower - need refreshing process  Essentially analogue  Level of charge determines value

Dynamic RAM Structure The address line is activated when the bit value from this cell is to be read or written. The transistor acts as a switch that is closed if a voltage is applied to the address line and opened if no voltage present on the address line.

DRAM Operation  Write Voltage signals is applied to the bit line; a high voltage represents 1 and low voltage represents 0. A signal is then applied to the address line, allowing a charge to be transferred to the capacitor.  Read when the address line is selected, the transistor turns on and the charge stored on the capacitor is fed out onto a bit line and to a sense amplifier. The sense amplifier compares the capacitor voltage to a reference value and determines if the cell contains a logic 1 or 0. The readout from the cell discharges the capacitor, which must be restored to complete the operation. when the address line is selected, the transistor turns on and the charge stored on the capacitor is fed out onto a bit line and to a sense amplifier. The sense amplifier compares the capacitor voltage to a reference value and determines if the cell contains a logic 1 or 0. The readout from the cell discharges the capacitor, which must be restored to complete the operation.

Static RAM  Bits stored as on/off switches  No charges to leak because binary values are stored using traditional flip-flop  No refreshing needed when powered  More complex construction  Larger per bit  More expensive – complex logic gate  Does not need refresh circuits  Faster  Used as Cache memory

Stating RAM Structure

Static RAM Operation  Transistor arrangement gives stable logic state  State 1  C 1 high, C 2 low  T 1 T 4 off, T 2 T 3 on  State 0  C 2 high, C 1 low  T 2 T 3 off, T 1 T 4 on  Address line transistors T 5 T 6 is switch  Write – apply value to B & compliment to B  Read – value is on line B

SRAM v DRAM  Both volatile  Power needed to preserve data  Dynamic cell  Simpler to build, smaller  More dense  Less expensive  Needs refresh  Larger memory units  Static  Faster  Cache

Read Only Memory (ROM)  Permanent storage  Nonvolatile  Microprogramming (Stallings Book ch.17)  Library subroutines for frequently wanted functions  Systems programs (BIOS)  Function tables

Types of ROM  Written during manufacture  Very expensive for small runs  Programmable (once)  Nonvolatile and may be written into only once  Needs special equipment to program (tools)  Read-mostly memory -> useful for applications in which read operations are far more frequent than write operation  Erasable Programmable (EPROM)  Erased by UV  Electrically Erasable (EEPROM)  Takes much longer to write than read  Flash memory  Erase whole memory electrically

Error Correction  Hard Failure  Permanent defect  Soft Error  Random, non-destructive  No permanent damage to memory  Detected using Hamming error correcting code

Error Correcting Code Function

Advanced DRAM Organization  Basic DRAM same since first RAM chips  Enhanced DRAM  Contains small SRAM as well  SRAM holds last line read  Cache DRAM  Larger SRAM component  Use as cache or serial buffer

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

SDRAM Read Timing

RAMBUS  Adopted by Intel for Pentium & Itanium  Main competitor to SDRAM  Vertical package – all pins on one side  Data exchange over 28 wires < cm long  Bus addresses up to 320 RDRAM chips at 1.6Gbps  Asynchronous block protocol  480ns access time  Then 1.6 Gbps

RAMBUS Diagram

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

Cache DRAM  Mitsubishi  Integrates small SRAM cache (16 kb) onto generic DRAM chip  Used as true cache  64-bit lines  Effective for ordinary random access  To support serial access of block of data  E.g. refresh bit-mapped screen  CDRAM can prefetch data from DRAM into SRAM buffer  Subsequent accesses solely to SRAM