Computer Engineering II

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
Computer Organization and Architecture
CSCI 4717/5717 Computer Architecture
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Memory Devices and Interfacing – (Chapter 9)
Chapter 5 Internal Memory
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
Memory RAM Mano and Kime Sections 6-2, 6-3, 6-4. RAM - Random-Access Memory Byte - 8 bits Word - Usually in multiples of 8 K Address lines can reference.
5.1 Semiconductor main memory  Organization The basic element of a semiconductor memory is the memory cell. Semiconductor memory cells properties: 1.
EKT 221 Digital Electronics II
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
CHAPTER 5 INTERNAL MEMORY
Memory and Programmable Logic
ECE 456 Computer Architecture
Chapter 5 Internal Memory. Semiconductor Memory Types.
Digital Electronics Chapter 7 Memory and Programmable Logic.
Chapter 8 Memory Interface
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.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Memory Intro Computer Organization 1 Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens Built using D flip-flops: 4-Bit Register Clock input.
CPEN Digital System Design
+ 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.
L/O/G/O Computer Memory Chapter 3 (a) CS.216 Computer Architecture and Organization.
Memory Cell Operation.
Computer system & Architecture
Computer Architecture Lecture 24 Fasih ur Rehman.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /3/2013 Lecture 9: Memory Unit Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE CENTRAL.
COMPUTER ORGANIZATIONS CSNB123 Ver.1Systems and Networking1.
Semiconductor Memory Types
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
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
MICROPROCESSOR BASED SYSTEM DESIGN BY PROF. DR. B. S. CHOWDHRY Lecture #
Chapter 5 - Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization.
Memory and Programmable Logic
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
Computer Architecture & Operations I
William Stallings Computer Organization and Architecture 8th Edition
Lecture 14 - Dynamic Memory
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Error Detection / Correction
LAB 7.
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
4-Bit Register Built using D flip-flops:
Presentation transcript:

Computer Engineering II 4th year, Communications Engineering Winter 2014 Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering

Course Web Page http://www.tsgaafar.faculty.zu.edu.eg

Announcements Eng. Mohamed Atef will take the last 50 minutes of today’s class to cover the material required for Lab1. Lab/Assignment Groups are posted or not?. Lab1 is now posted. Before your lab day, get prepared by reading the posted material very well so that you don’t waste much of your lab time trying to figure out what is going on. Today’s lecture and lab presentation are posted.

Chapter 5. Internal Memory Technology (Cont.) Lecture 2 Chapter 5. Internal Memory Technology (Cont.)

4 x 4 DRAM

Typical 16 Mb DRAM (4M x 4) Logically, 4 square arrays of 2048 x 2048 elements. Each horizontal line connects to the Select terminal of each cell in its row. Each vertical line connects to the Data in/Sense terminal of each cell in its column. 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

Refreshing Refresh circuit included on chip. Disable chip. Count through rows. Data is read out and written back into the same location  each cell is refreshed. Takes time. Slows down apparent performance.

Chip Packaging 16-Mbit DRAM, 4M x 4. 8-Mbit EPROM chip, 1M x 8. One-word-per-chip package. Address: A0-A19, Data: D0-D7 Vcc; power, Vss: ground, CE: chip enable, Vpp: programming voltage. 16-Mbit DRAM, 4M x 4. Updatable  data pins in/out. WE: Write Enable OE: Output Enable NC: No Connect  even # of pins

Module Organization 256 k byte memory Available: 256 k x 1-bit chips

Module Organization (2) 1 M byte memory Available: 256 k x 1-bit chips

Semiconductor memory is subject to errors. Hard Failure Error Correction Semiconductor memory is subject to errors. Hard Failure Permanent physical defect. Memory cells cannot store data: stuck at 0 or 1, or switching. Caused by harsh environments, manufacturing defects, or wear. Soft Error Random, non-destructive event that alters contents of one or more memory cells. No permanent damage to memory. Caused by power supply problems or alpha particles. Detected/corrected using Hamming error correcting code.

Error-Correcting Code Function Syndrome word

Hamming Error-Correcting Code Data bits: 1110 A B 1 1 1 1 Discrepancies C Parity bits Chosen so that total number of 1s in each circle is even. By checking the parity bits, discrepancies are found  error can be easily found and corrected.

How many check bits to use? The comparison logic receives as input two K-bit values. A bit-by-bit comparison is done by taking the XOR of the two inputs  syndrome word. Each bit of the syndrome word is 0 if there was a match in that position, otherwise, it is 1. Syndrome word is K bits wide  range 0 : 2K -1. The value 0 indicates no error  2K -1 are left to indicate which bit was in error. 2K -1 ≥ M + K

Hamming Code 2K - 1 ≥ M + K  2K ≥ 9+K  K = 4 1 1 1 1 Data bits 12 11 10 9 8 7 6 5 4 3 2 1 1 1 ? 1 1 ? 1 1 ? 1 ? ? 1 1 1 1 = Bit position 4 Bit position 8 Bit position 1 Bit position 2 Bit position 8: 0 Bit position 2: 1 Bit position 1: 1 Bit position 4: 1

1 1 ? 1 1 1 ? 1 ? 1 ? Hamming Code (2) Assume error in bit 9. 12 11 10 9 8 7 6 5 4 3 2 1 1 1 ? 1 1 1 ? 1 ? 1 ? Assume error in bit 9. Recompute the check bits. Bit 1 = 0 (error). Bit 2 = 1. Bit 4 = 1. Bit 8 = 1 (error). Error is in bit position = 1 + 8 = 9  flip it (correction).

Reading Material Stallings, chapter 5, pages 164-173.