BIC 10503: COMPUTER ARCHITECTURE

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.
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
Computer Organization and Architecture
Chapter 5 Internal Memory
IT Systems Memory EN230-1 Justin Champion C208 –
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.
Lecture # 13 Memory and Storage
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
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.
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 Cell Operation.
Computer system & Architecture
Computer Architecture Lecture 24 Fasih ur Rehman.
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.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Internal Memory.
William Stallings Computer Organization and Architecture 7th Edition
CS-301 Introduction to Computing Lecture 10
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
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4: MEMORY.
AKT211 – CAO 07 – Computer Memory
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Jazan University, Jazan KSA
Presentation transcript:

BIC 10503: COMPUTER ARCHITECTURE Chapter 3 Memory Organization (Part 2) INTERNAL MEMORY

Semiconductor Memory Basic elements is the memory cell. Common Properties of memory cell:- They exhibit 2 stable states, to 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

Semiconductor Memory RAM Misnamed as all semiconductor memory is random access Read/Write Volatile Temporary storage Static or dynamic

Random-Access Memory (RAM)

Dynamic RAM ( DRAM ) Characteristics of DRAM Bits stored as charge in capacitors Charges leak Need refreshing even when powered Simpler construction Smaller per bit Less expensive Slower Main memory Essentially analogue Level of charge determines value

DRAM Operation Address line active when bit read or written Write Read Transistor switch closed / open Write Voltage to bit line High for 1 low for 0 Then signal address line Transfers charge to capacitor Read Address line selected transistor turns on Charge from capacitor fed via bit line to sense amplifier Compares with reference value to determine 0 or 1 Capacitor charge must be restored

Static RAM ( SRAM ) Characteristics of SRAM Bits stored as on/off switches No charges to leak No refreshing needed when powered Does not need refresh circuits More complex construction Larger size per bit More expensive Faster Cache Digital Uses flip-flops

Static RAM (SRAM) Cell Transistor arrangement gives stable logic state C1 high, C2 low T1 T4 off, T2 T3 on State 0 C2 high, C1 low T2 T3 off, T1 T4 on Address line transistors T5 T6 is switch Write – apply value to B & compliment to B Read – value is on line B

SRAM vs DRAM Both volatile Dynamic cell Static 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 Application of ROM: Nonvolatile Application of ROM: Microprogramming Library subroutines Systems programs (BIOS) Function tables

Types of ROM Written during manufacture Programmable (once) Very expensive for small runs Programmable (once) PROM Needs special equipment to program Read “mostly” Erasable Programmable (EPROM) Erased by UV Electrically Erasable (EEPROM) Takes much longer to write than read Flash memory Modern type of EEPROM Erase whole memory electrically

Semiconductor Memory Types

Main Memory Organization Simple: CPU, Cache, Bus, Memory are same width (32 bits) CPU Cache BUS M 1-word-wide memory M CPU Cache BUS Wide Memory MUX M Bank bank bank bank 0 1 2 3 CPU Cache BUS Interleaved Memory Wide: CPU/Mux 1 word Mux/Cache, Bus, Memory N words (Alpha: 64 bits & 256 bits) Interleaved: CPU, Cache, Bus 1 word Memory N Modules (4 Modules) Each bank can independently serve memory read/write request

Error Correction A semiconductor memory is subject to errors: Hard Failure Permanent physical defect Memory cell or cells affected cannot reliably store data but become stuck at 0 or 1 or switch erratically between 0 and 1 Can be caused by: Harsh environmental abuse Manufacturing defects Wear Soft Error Random, non-destructive event that alters the contents of one or more memory cells No permanent damage to memory Power supply problems Alpha particles

Error Correcting Code Function

Error Correcting Code Function (cont) Three possible results of Compare: No errors are detected. The fetched data bits are sent out. An error is detected, and it is possible to correct the error. The data bits plus error correction bits are fed into a corrector, which produces a corrected set of M bits to be sent out. An error is detected, but it is not possible to correct it. This condition is reported.

Hamming Error Correcting Code The simplest error-correcting codes is the Hamming code use Venn diagrams to illustrate Example on 4-bit words (M = 4). Assign the 4 data bits to the inner compartments The remaining compartments are filled with what are called parity bits. Rule: Total number of 1s in a circle is even (Figure5.8b). If an error changes one of the data bits (Figure 5.8c), it is easily found. By checking the parity bits, discrepancies are found in circle A and circle C but not in circle B. Error is detected in intersection in A and C but not B. Correction to be made; change 0 to 1

Advanced DRAM Organization SDRAM One of the most critical system bottlenecks when using high-performance processors is the interface to main internal memory The traditional DRAM chip is constrained both by its internal architecture and by its interface to the processor’s memory bus A number of enhancements to the basic DRAM architecture have been explored: DDR-DRAM RDRAM

Synchronous DRAM (SDRAM) Characteristics of SDRAM :- Exchanges data with the processor synchronized to an external clock signal. Running at the full speed of the processor (no processor wait states) Burst mode allows SDRAM to set up stream of data and send it out in block May employ multiple-bank internal architecture (support on-chip parallelism)

Rambus DRAM (RDRAM) Characteristics of RDRAM :- Memory requested/transmitted over the high-speed bus Request contains the desired address, the type of operation, and the number of bytes in the operation High clock speeds Higher cost Operates at high temperature RDRAM memory with integrated heat spreader

Double Data Rate SDRAM (DDR SDRAM) Previous SDRAM can only send data once per bus clock cycle Characteristics of DDR SDRAM:- DDR SDRAM can send data twice per clock cycle Low latency Low cost (compared to RDRAM)

Thank You !