Digital Design, Kyung Hee Univ. Chapter 7. Memory and Programmable Logic

Similar documents
Memory and Programmable Logic

Memory & Logic Array. Lecture # 23 & 24 By : Ali Mustafa

Lecture 13: Memory and Programmable Logic

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Random Access Memory (RAM)

Chapter 6 (Lect 3) Counters Continued. Unused States Ring counter. Implementing with Registers Implementing with Counter and Decoder

UNIT V (PROGRAMMABLE LOGIC DEVICES)

8. PROGRAMMABLE LOGIC AND MEMORY

Concept of Memory. The memory of computer is broadly categories into two categories:

Memory and Programmable Logic

UNIT - V MEMORY P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

IT T35 Digital system desigm y - ii /s - iii

ENGIN 112 Intro to Electrical and Computer Engineering

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

Model EXAM Question Bank

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

CS 320 February 2, 2018 Ch 5 Memory

CSEE 3827: Fundamentals of Computer Systems. Storage

Internal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

Memory and Programmable Logic

Picture of memory. Word FFFFFFFD FFFFFFFE FFFFFFFF

Chapter 5 Internal Memory

ELCT 912: Advanced Embedded Systems

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Memories. Design of Digital Circuits 2017 Srdjan Capkun Onur Mutlu.

RISC (Reduced Instruction Set Computer)

Design and Implementation of an AHB SRAM Memory Controller

Chapter 8 Memory Basics

ENGR 303 Introduction to Logic Design Lecture 7. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

CENG4480 Lecture 09: Memory 1

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

CHAPTER X MEMORY SYSTEMS

Address connections Data connections Selection connections

machine cycle, the CPU: (a) Fetches an instruction, (b) Decodes the instruction, (c) Executes the instruction, and (d) Stores the result.

CENG3420 Lecture 08: Memory Organization

ECSE-2610 Computer Components & Operations (COCO)

MEMORY AND PROGRAMMABLE LOGIC

8051 INTERFACING TO EXTERNAL MEMORY

CMOS Logic Circuit Design Link( リンク ): センター教官講義ノートの下 CMOS 論理回路設計

Chapter 5. Internal Memory. Yonsei University

eaymanelshenawy.wordpress.com

Sir Sadiq s computer notes for class IX. Chapter no 4. Storage Devices

MEMORY. Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis.

PROGRAMMABLE MODULES SPECIFICATION OF PROGRAMMABLE COMBINATIONAL AND SEQUENTIAL MODULES

Memory Basics. Course Outline. Introduction to Digital Logic. Copyright 2000 N. AYDIN. All rights reserved. 1. Introduction to Digital Logic.

Allmost all systems contain two main types of memory :

Memory memories memory

ECE 341. Lecture # 16

Introduction read-only memory random access memory

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

Read and Write Cycles

Section 6. Memory Components Chapter 5.7, 5.8 Physical Implementations Chapter 7 Programmable Processors Chapter 8

Introduction to Semiconductor Memory Dr. Lynn Fuller Webpage:

Announcement. Computer Architecture (CSC-3501) Lecture 20 (08 April 2008) Chapter 6 Objectives. 6.1 Introduction. 6.

Computer Organization and Assembly Language (CS-506)

Storage Elements & Sequential Circuits

Presentation 4: Programmable Combinational Devices

Fig. 6-1 Conventional and Array Logic Symbols for OR Gate

Basic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types

Memory classification:- Topics covered:- types,organization and working

Random Access Memory (RAM)

Memory & Simple I/O Interfacing

Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor

COMPSCI 210 S Computer Systems 1. 6 Sequential Logic Circuit

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

MEMORY BHARAT SCHOOL OF BANKING- VELLORE

Semiconductor Memories: RAMs and ROMs

Chapter 4 Main Memory

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Embedded Systems Design: A Unified Hardware/Software Introduction. Outline. Chapter 5 Memory. Introduction. Memory: basic concepts

Embedded Systems Design: A Unified Hardware/Software Introduction. Chapter 5 Memory. Outline. Introduction

Module 5a: Introduction To Memory System (MAIN MEMORY)

Overview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM

SECTION-A

MODULE 12 APPLICATIONS OF MEMORY DEVICES:

ECEN 449 Microprocessor System Design. Memories. Texas A&M University

Design with Microprocessors

Semiconductor Memory Classification. Today. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. CPU Memory Hierarchy.

Memory technology and optimizations ( 2.3) Main Memory

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

University of Alexandria Faculty of Engineering Division of Communications & Electronics

Chapter 5 - Memory. Sarah L. Harris and David Money Harris. Digital Design and Computer Architecture: ARM Edi>on 2015

Large and Fast: Exploiting Memory Hierarchy

Summer 2003 Lecture 18 07/09/03

CMPT 250: Weeks (Nov 7 to Nov 19) 1. CENTRAL PROCESSING UNIT DESIGN (Continued) 2. CONTROLLER DESIGN FOR THE µmips MACHINE

UMBC. Select. Read. Write. Output/Input-output connection. 1 (Feb. 25, 2002) Four commonly used memories: Address connection ... Dynamic RAM (DRAM)

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

William Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal Memory

EECS150 - Digital Design Lecture 16 Memory 1

Memory and Disk Systems

CHAPTER TWELVE - Memory Devices

Introduction to general architectures of 8 and 16 bit micro-processor and micro-controllers

SHRI ANGALAMMAN COLLEGE OF ENGINEERING. (An ISO 9001:2008 Certified Institution) SIRUGANOOR, TIRUCHIRAPPALLI

Memory Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Chapter 3. SEQUENTIAL Logic Design. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris.

Design with Microprocessors

The Memory Hierarchy Part I

Transcription:

Chapter 7. Memory and Programmable Logic 1

7.1 Introduction Memory unit: A device to which binary information is transferred for storage and from which information is retrieved when needed for processing A collection of cells capable of storing a large quantity of binary information RAM Random access memory Write/read operations ROM Read only memory Programmable logic device (PLD), programmable logic array (PLA), programmable array logic (PAL), field-programmable gate array (FPGA) 2 FIGURE 7.1 Conventional and array logic diagrams for OR gate

7.2 Random-Access Memory Time to transfer information to or from any desired random location is same Words: Binary information in groups of bits Byte: A group of 8 bits 16-bit word, 32-bit word Data input and output lines Address selection lines Identification number for selecting one particular word Control lines specify the direction of transfer K(kilo=2 10 ), M(mega=2 20 ), G(giga=2 30 ) 3 FIGURE 7.2 Block diagram of a memory unit

FIGURE 7.3 Contents of a 1024 16 memory 4

Write and Read Operations Write operation 1. Apply the binary address of the desired word to the address lines 2. Apply the data bits that must be stored in memory to the data input lines 3. Activate the write input Read operation 1. Apply the binary address of the desired word to the address lines 2. Activate the read input 5

Timing Waveforms Access time: Time required to select a word and read it Cycle time: Time required to complete a write operation Example CPU 50MHz clock (20ns) 50 ns maximum cycle time 6

Types of Memories Access time Random-access memory: same access time Sequential-access memory: magnetic disc or tape, variable access time Operating modes Static RAM(SRAM): internal latches Dynamic RAM(DRAM): MOS transistors for storing binary information as electric charges on the capacitors; require refreshing the dynamic memory (recharge) Volatile Loss stored information when power down (CMOS integrated circuit RAM ; SRAM, DRAM) Nonvolatile Retain the stored information after the removal of power(magnetic disk) 7

7.3 Memory Decoding RAM of m words and n bits per word: m X n binary storage cells Associated decoding circuits for selecting individual words SR latch To pack as many cells as possible in the small area FIGURE 7.5 8 Memory cell

Logical Construction of RAM 4 words of 4 bits each 2 k words of n bits per word Require k address lines and k x 2 k decoder FIGURE 7.6 Diagram of a 4 4 RAM 9

Coincident Decording Two k/2-input decoders used instead of k-input decoder Selected by the coincidence of one X line and one Y line Each intersection represents a word FIGURE 7.7 Two dimensional decoding structure for a 1K word memory 10

Address Multiplexing Large capacity Reduce the size Row address strobe(ras) Column address strobe(cas) FIGURE 7.8 Address multiplexing for a 64K DRAM 11

7.4 Error Detection and Correction Occasional errors in storing and retrieving the binary information Employing error-detecting and error-correcting codes Parity bit check (detect, but cannot correct) Syndrome: generate a unique pattern Hamming code Add K parity bits to an n-bit data word Positions numbers as a power of 2 for parity bits 6 12

13

Single-Error Correction, Double-Error Detection Hamming code: detect and correct only a single error By adding another parity bit to the coded word: correct a single error and detect double errors Ex 001110010100(P13) 14

7.5 Read-Only Memory (ROM) Stored permanent binary information FIGURE 7.9 ROM block diagram Programmable Intersection (switch) = crosspoint X to denote a temporary connection Memory unit Combination circuit FIGURE 7.10 Internal logic of a 32 8 ROM 15

16

Example 7.1 17