Digital Design Lecture 13

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Engineering II
Computer Organization and Architecture
Computer Organization and Architecture
Programmable Logic PAL, PLA.
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
1 Homework Reading –Tokheim, Chapter 12-1 through 12-4 Machine Projects –MP4 due at start of next class Labs –Continue with your assigned section.
Microprocessor System Design. Outline Address decoding Chip select Memory configurations.
Parity. 2 Datasheets TTL:  CMOS: 
Memory and Programmable Logic
MEMORY DEVICES Week 13.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
Computer Organization and Architecture
Chapter 5 Internal Memory
ECE 301 – Digital Electronics
Digital Computers and Information Chapter 1 Mano and Kime.
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
PC Maintenance: Preparing for A+ Certification
Memory and Programmable Logic
Introduction to Computing: Lecture 4
Physics 413 Chapter 1 Computer Architecture What is a Digital Computer ? A computer is essentially a fast electronic calculating machine. What is a program.
Random-Access Memory (RAM)
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
PHY 201 (Blum)1 MEMORY Digital Principles, Roger Tokheim Chapter 9.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Digital Electronics Chapter 7 Memory and Programmable Logic.
MODULE 5: Main Memory.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Internal Memory.
Digital Design: Principles and Practices
ENEE244-02xx Digital Logic Design Lecture 3. Announcements Homework 1 due next class (Thursday, September 11) First recitation quiz will be next Monday,
1 Memory Design EE 208 – Logic Design Chapter 7 Sohaib Majzoub.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Memory Cell Operation.
Memory 10/27/081ECE Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE Lecture.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2007.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Semiconductor Memory Types
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Error Detecting and Error Correcting Codes
Gunjeet Kaur Dronacharya Group of Institutions. Outline I Random-Access Memory Memory Decoding Error Detection and Correction Read-Only Memory Programmable.
Computer Architecture Chapter (5): Internal Memory
Chapter 7 Memory and Programmable Logic
Programmable Logic Devices
Gunjeet Kaur Dronacharya Group of Institutions. Outline Introduction Random-Access Memory Memory Decoding Error Detection and Correction Programmable.
Chapter 5 - Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization.
Memory and Programmable Logic
William Stallings Computer Organization and Architecture 7th Edition
Logic Devices. Decoder 2-to-4 Decoder 3-to-8 Decoder.
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
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Information Redundancy Fault Tolerant Computing
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Digital Design Lecture 13 ROMs and RAMs Mano, 7.1-7.5

Conventional and Array Logic (PLA) Symbols PLA symbol has provisions for denoting “Cross Connects” (whether or not an input is connected) The horizontal line is actually a bus

Memory Unit

A 1024 x 16 Memory

RAM Timing Diagram

A Memory Cell This is a “logical” structure The actual implementation is highly optimized

A 4 x 4 RAM One Dimensional Decoding Suitable for small memories only

Two Dimensional Decoding Significant reduction in decoding hardware

A 64Kword RAM Address selects (CAS and RAS) are “enables” that allow multiple “pages”

Error Detection and Correction “Parity” bits added to data words for redundancy Stated when Claude Shannon introduced Information Theory in 1940 (Two part BSTJ article) The bit is the smallest measure of information Channel Capacity Theorem: “If you send data slower than the Channel Capacity, You can receive it with no errors” He proved this theorem, and gave how to calculate the Channel Capacity. He didn’t say how to achieve zero errors.

Simple Parity Add one bit to each word Detects “single bit” errors Make the total number of ones even for “even parity” Make the total number of ones odd for “odd parity” Detects “single bit” errors Used in most PCs (not Macs) at the byte level

Hamming Distance A measure of how different are the allowed data codes from each other Just add up the bit differences between two allowed codes to determine the “Hamming Distance” (a simplification of the Euclidean distance) The minimum Hamming Distance across the set of allowed codes is a measure of the strength of the code Parity yields ad minimum Hamming Distance of two

The Hamming Codes A clever code that adds multiple parity bits to a word at specific bit positions that cover different bits. Yields a Hamming Distance of 3 so that a single error is still closer to the original data word than any other and you can then correct the error. Adding one more overall parity bit increases the Hamming distance to 4 so you can also detect a Double error. PCs with ECC RAM use 22 bit words (5 plus 1 parity for 16 Data bits) to achieve single error correction and double error detection.

Read-Only Memory (ROM) Same as RAM, but simpler Data is established when manufactured and cannot be altered

ROM Internal Logic

A “Programmable” ROM (PROM) Data “Burned” in later Cannot be altered a second time

A Example ROM

Other Semiconductor Memories EPROM: PROMS that are “erasable” (usually by exposure to UV light, note that x-ray can also change them as in airport security) Flash or EEROM: Electrically erasable. Can be fully erased and rewritten in place using higher voltages than used to read data.