Lecture 13: Memory and Programmable Logic

Similar documents
Memory and Programmable Logic

ELCT 912: Advanced Embedded Systems

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

Memory and Programmable Logic

UNIT V (PROGRAMMABLE LOGIC DEVICES)

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

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

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

Presentation 4: Programmable Combinational Devices

ELCT 501: Digital System Design

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

MEMORY AND PROGRAMMABLE LOGIC

MEMORY BHARAT SCHOOL OF BANKING- VELLORE

Hardware Design with VHDL PLDs I ECE 443. FPGAs can be configured at least once, many are reprogrammable.

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

RISC (Reduced Instruction Set Computer)

Memory and Programmable Logic

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

Semiconductor Memories: RAMs and ROMs

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

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

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

Programmable Logic Devices

Evolution of Implementation Technologies. ECE 4211/5211 Rapid Prototyping with FPGAs. Gate Array Technology (IBM s) Programmable Logic

Read and Write Cycles

PROGRAMMABLE LOGIC DEVICES

PLAs & PALs. Programmable Logic Devices (PLDs) PLAs and PALs

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

Programmable Logic Devices Introduction CMPE 415. Programmable Logic Devices

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

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

8051 INTERFACING TO EXTERNAL MEMORY

Model EXAM Question Bank

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE4220. PROGRAMMABLE LOGIC DEVICES (PLDs)

Injntu.com Injntu.com Injntu.com R16

Very Large Scale Integration (VLSI)

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

CSEE 3827: Fundamentals of Computer Systems. Storage

Chapter 5 Internal Memory

Programmable Logic Devices (PLDs)

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

Topics. Midterm Finish Chapter 7

LSN 6 Programmable Logic Devices

Computer Structure. Unit 2: Memory and programmable devices

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Summer 2003 Lecture 18 07/09/03

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

Logical Design of Digital Systems

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

Embedded Controller Design. CompE 270 Digital Systems - 5. Objective. Application Specific Chips. User Programmable Logic. Copyright 1998 Ken Arnold 1

PROGRAMMABLE MODULES SPECIFICATION OF PROGRAMMABLE COMBINATIONAL AND SEQUENTIAL MODULES

Digital Systems. Semiconductor memories. Departamentul de Bazele Electronicii

ECE 331 Digital System Design

SECTION-A

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

ECE 636. Reconfigurable Computing. Lecture 2. Field Programmable Gate Arrays I

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

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

8. PROGRAMMABLE LOGIC AND MEMORY

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

COSC 243. Memory and Storage Systems. Lecture 10 Memory and Storage Systems. COSC 243 (Computer Architecture)

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

ENGIN 112 Intro to Electrical and Computer Engineering

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

Sistemas Digitais I LESI - 2º ano

CHAPTER X MEMORY SYSTEMS

Allmost all systems contain two main types of memory :

RTL Design (2) Memory Components (RAMs & ROMs)

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

Chapter 13 Programmable Logic Device Architectures

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

Memory memories memory

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

EE251: Thursday November 15

CHAPTER - 2 : DESIGN OF ARITHMETIC CIRCUITS

Computer Organization and Assembly Language (CS-506)

CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

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

The Memory Component

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April

Memory. Outline. ECEN454 Digital Integrated Circuit Design. Memory Arrays. SRAM Architecture DRAM. Serial Access Memories ROM

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

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

+1 (479)

Design and Implementation of an AHB SRAM Memory Controller

FYSE420 DIGITAL ELECTRONICS. Lecture 7

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

Lecture (1) Introduction to FPGA. 1. The History of Programmable Logic

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Programmable Logic Devices. Programmable Read Only Memory (PROM) Example

CMPE 415 Programmable Logic Devices FPGA Technology I

Chapter TEN. Memory and Memory Interfacing

Chapter 4 Main Memory

Code No: R Set No. 1

Menu. word size # of words byte = 8 bits

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK NAME OF THE SUBJECT: EE 2255 DIGITAL LOGIC CIRCUITS

Random Access Memory (RAM)

UNIT:4 MEMORY ORGANIZATION

Transcription:

Lecture 13: Memory and Programmable Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Aby K George, ECE Department, Wayne State University

Contents Introduction Random Access Memory Memory Decoding Read Only Memory Programmable Logic Array Programmable Array Logic Sequential Programmable Devices Chapter 7 ECE 2610 Digital Logic 1 2

Introduction Memory unit: A device to which binary information is stored, and from which information is retrieved when needed for processing. Two types of Memories Random Access Memory (RAM) Read Only Memory (ROM) RAM can perform read and write operations ROM is a programmable logic device (PLD) Other types of PLDs Programmable Logic Array (PLA) Programmable Array Logic (PAL) Field Programmable Gate Array (FPGA) Chapter 7 ECE 2610 Digital Logic 1 3

Random Access Memory (RAM) Information can be selectively retrieved from any of its internal location (any random location). Binary information is stored in groups of words. For k address lines, 2 k words are possible. 1 byte = 8 bits Chapter 7 ECE 2610 Digital Logic 1 4

Random Access Memory (RAM) The address line select one particular word. Each word in memory is assigned an identification number called address. For k address lines the address will be from 0 to 2 k 1. 1 byte (B) = 8 bits (b) 1 Kilobyte (K / KB) = 2 10 bytes = 1,024 bytes 1 Megabyte (M / MB) = 2 20 bytes 1 Gigabyte (G / GB) = 2 30 bytes 1 Terabyte (T / TB) = 2 40 bytes 1K X 16 Memory Chapter 7 ECE 2610 Digital Logic 1 5

Write and Read Operations in RAM Write operation Apply the binary address of the desired word to the address lines. Apply the data bits that must be stored in memory to the data input lines. Activate the write input. Read Operation Apply the binary address of the desired word to the address lines. Activate the read input. Chapter 7 ECE 2610 Digital Logic 1 6

Types of RAMs Static RAM (SRAM) Consists of internal latches. Information is available as long as the power is applied. Have shorter read/write cycles. Dynamic RAM (DRAM) Stores information in the form of electric charges on capacitors. Stored charge in capacitor tends to discharge with time, and the capacitors must be periodically recharged by refreshing the dynamic memory. Reduced power consumption and larger storage capacity. Chapter 7 ECE 2610 Digital Logic 1 7

RAM Memory Cell Binary cell is modeled by an SR Latch with associated gates to form D Latch. The Binary cell stores 1-bit data. Chapter 7 ECE 2610 Digital Logic 1 8

Design of a 4 x 4 RAM 4 Address Lines 4 Outputs 2 m n RAM consists of m 2 m decoder, n input lines and n output lines Chapter 7 ECE 2610 Digital Logic 1 9

Decoder for RAM k inputs -> 2 k outputs 2 k - AND gates with k inputs The total number of gates and the number of inputs per gate can be reduced by using two decoders in a two-dimensional selection scheme. 10 X 1024 decoder using two 5 X 32 decoders. Chapter 7 ECE 2610 Digital Logic 1 10

Read Only Memory (ROM) Permanent storage of binary information. 5 x 32 Decoder 8-OR gates with 32 inputs for each 256 internal connections Connections are programmable Simplest way is to use fuses. High Voltage is applied to blown the fuse. Chapter 7 ECE 2610 Digital Logic 1 11

Read Only Memory Chapter 7 ECE 2610 Digital Logic 1 12

Combinational Circuit Implementation in ROM F 1 = Σ 0,1,2,4,7 F 2 = Σ(1,2,4,6,7) Chapter 7 ECE 2610 Digital Logic 1 13

Types of ROMs Paths in ROM can be programmed in four ways Mask Programming Done during fabrication. Costly method and useful when large quantity of the same ROM is required. Programmable Read Only Memory (PROM) Fuses are blown by high voltage pulses. PROM is programmable in the library. Erasable PROM (EPROM) Once programmed, EPROM can be restructured to the initial state. UV light is used for erasing. Electrically Erasable PROM (EEPROM) Programmed connections can be erased with an electrical signal. Chapter 7 ECE 2610 Digital Logic 1 14

Programmable Logic Devices Chapter 7 ECE 2610 Digital Logic 1 15

Programmable Logic Array (PLA) F 1 = AB + AC + A BC F 2 = (AC + BC) Chapter 7 ECE 2610 Digital Logic 1 16

Programmable Logic Array (PLA) F 1 = Σ(0,1,2,4) F 2 = Σ(0,5,6,7) The combination that gives minimum number of product terms is F 1 and F 2 F 1 = A B + A C + B C F 1 = AB + BC + AC F 2 = AB + AC + A B C F 2 = A B + A C + AB C Chapter 7 ECE 2610 Digital Logic 1 17

Sequential Programmable Devices Sequential Programmable Logic Device (SPLD) Includes AND-OR array (PAL or PLA) and flip-flops Complex Programmable Logic Device (CPLD) Collection of PLDs on a single integrated circuit and I/O blocks. Field Programmable Gate Array (FPGA) Consists of lookup tables, multiplexers, gates and flip-flops. The design with PLD, CPLD, or FPGA requires extensive computeraided design (CAD) tools to facilitate the synthesis procedure. Chapter 7 ECE 2610 Digital Logic 1 18

Summary How to implement a combinational function in a ROM? What is the difference between ROM, PLA and PAL? What are the different types of ROMs? How to implement a combinational function in a PLA? What are the common sequential programmable devices? Chapter 7 ECE 2610 Digital Logic 1 19

Homework 7 7.1, 7.19, 7.20, 7.21 Design a Full Adder using ROM and PLA Design a 5X2 RAM using D Flip-flop Chapter 7 ECE 2610 Digital Logic 1 20