EET2411 DIGITAL ELECTRONICS. A device or electrical circuit used to store a single bit (0 or 1) Ex. FF.

Similar documents
DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

Basics of Microprocessor

THE MICROCOMPUTER SYSTEM CHAPTER - 2

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

1. Internal Architecture of 8085 Microprocessor

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14

Computer Architecture: Part V. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

Using MSI Logic To Build An Output Port

The MC9S12 in Expanded Mode Using MSI logic to build ports Using MSI logic to build an output port Using MSI logic to build an input port

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

Summer 2003 Lecture 21 07/15/03

Chapter 1: Basics of Microprocessor [08 M]

TUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design.

Lecture XIV 8086 Memory Interface. Wisam I Hasan

Computer Systems Organization

Chapter 2 Logic Gates and Introduction to Computer Architecture

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

Dec Hex Bin ORG ; ZERO. Introduction To Computing

Menu. word size # of words byte = 8 bits

Central Processing Unit. Steven R. Bagley

Summer 2003 Lecture 18 07/09/03

Memory & Simple I/O Interfacing

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

Microprocessor Architecture. mywbut.com 1

8051 INTERFACING TO EXTERNAL MEMORY

CHAPTER TWELVE - Memory Devices

UNIT:4 MEMORY ORGANIZATION

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

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

For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to

Computer Organization and Assembly Language (CS-506)

Department of Computer Science and Engineering CS6303-COMPUTER ARCHITECTURE UNIT-I OVERVIEW AND INSTRUCTIONS PART A

EECS 366: Computer Architecure. Memory Technology. Lecture Notes # 15. University of Illinois at Chicago. Instructor: Shantanu Dutt Department of EECS

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

Level 2: The Hardware World Chapters 4 and 5 (topics of other cs courses)

ECE 341. Lecture # 16

CHAPTER: 3 PROGRAMMABLE PERIPHERAL INTERFACE & ELECTROMECHANICAL DEVICES INTERFACING

Computer Organization. Chapter 12: Memory organization

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0

The 8237 DMA Controller: -

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

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

The MC9S12 address, data and control buses The MC9S12 single-chip mode memory map Simplified write/read cycle. Address, Data and Control Buses

M. Sc (CS) (II Semester) Examination, Subject: Computer System Architecture Paper Code: M.Sc-CS-203. Time: Three Hours] [Maximum Marks: 60

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

Basic Processing Unit: Some Fundamental Concepts, Execution of a. Complete Instruction, Multiple Bus Organization, Hard-wired Control,

EECS150 - Digital Design Lecture 17 Memory 2

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

Random Access Memory (RAM)

Random Access Memory (RAM)

Memory and Programmable Logic

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

CPS101 Computer Organization and Programming Lecture 13: The Memory System. Outline of Today s Lecture. The Big Picture: Where are We Now?

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

CPE/EE 421/521 Fall 2004 Chapter 4 The CPU Hardware Model. Dr. Rhonda Kay Gaede UAH. The CPU Hardware Model - Overview

Microcomputer Architecture and Programming

Hardware Design I Chap. 10 Design of microprocessor

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT-I

Semiconductor Memories: RAMs and ROMs

Introduction to Computer Science. Homework 1

Chapter 5: Computer Systems Organization. Invitation to Computer Science, C++ Version, Third Edition

MICROPROCESSOR B.Tech. th ECE

ENGIN 112 Intro to Electrical and Computer Engineering

5 Computer Organization

Chapter 5: Computer Systems Organization

Computers and Microprocessors. Lecture 34 PHYS3360/AEP3630

We r e going to play Final (exam) Jeopardy! "Answers:" "Questions:" - 1 -

Interface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors

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

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Exercise 1: Static Control of a Data Bus

MICROPROCESSOR BASICS AND RELATED TERMS

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

ECE 331 Digital System Design

COSC 243. Computer Architecture 1. COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1

1. Internal Architecture of 8085 Microprocessor

Allmost all systems contain two main types of memory :

Architecture of 8085 microprocessor

Henry Lin, Department of Electrical and Computer Engineering, California State University, Bakersfield Lecture 7 (Digital Logic) July 24 th, 2012

CS152 Computer Architecture and Engineering Lecture 16: Memory System

Contents. Main Memory Memory access time Memory cycle time. Types of Memory Unit RAM ROM

Computer Architecture 2/26/01 Lecture #

1. Internal Architecture of 8085 Microprocessor

CHALMERS Lindholmen 1. Compare (a) a sand hour glass, (b) a pocket mechanical watch (c) a wrist quartz watch and (d) the Big

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

Picture of memory. Word FFFFFFFD FFFFFFFE FFFFFFFF

EECS 3201: Digital Logic Design Lecture 7. Ihab Amer, PhD, SMIEEE, P.Eng.

Good Evening! Welcome!

Announcements. This week: no lab, no quiz, just midterm

Memory Study Material

RISC (Reduced Instruction Set Computer)

1. Explain in detail memory classification.[summer-2016, Summer-2015]

Figure 1 Logical view of the system memory.

Introduction to Microcontrollers

CHAPTER X MEMORY SYSTEMS

Lab #12: ArithmeticLogic Unit

Transcription:

Chapter 12 - Memory Devices Digital information is easily stored Commonly used memory devices and systems will be examined Flip flops Registers VLSI and LSI memory devices The difference between main memory and auxiliary memory A computer main memory is called the working memory, it is in constant communications with the CPU (Central Processing Unit). Auxiliary memory (mass storage) have the capacity to store massive amounts of data without the need for power. 261 12 1 Memory Terminology Memory cell A device or electrical circuit used to store a single bit (0 or 1) Ex. FF. Memory word A group of bits (cells) in a memory that represents instruction or data of some type, usually range from 8 to 64 bits depending on the size of the computer. Byte Capacity Represents how many bits can be stored in a particular memory device, usually represented as: number of words X word size Example: a memory of size 4096X20 has 4096 words (usually a multiple of 1024 1K), each is 20-bit size, can be represented as 4 K X 20. 262 1

12-1 Memory Terminology Example: A memory chip is specified as 2 K X 8. How many words can be stored on this chip? what is the word size? How many total bits can this chip store? 2 K = 2 X 1024 = 2048 words Word Size: 8-bit Total bits = 2048 X 8 = 16384 bits Density Another term of capacity. 263 12-1 Memory Terminology Address A number that identifies the location of a word in a memory, each word has a unique address. Example: the simple memory has 8 words, the address is represented as 3-bit ranging from 000 to 111. 264 2

12-1 Memory Terminology Read operation The operation where the binary word stored in a specific address is read and transferred to other device. Example: to read word 4, we must perform read operation on address 100, also called fetch operation. Write operation The operation where a new word is placed into a specific memory location, also called store operation, the new data will replace (overwrite) previous stored data. 265 12-2 General Memory Operation Every memory system requires I/O lines to provide the following functions Select memory address being accessed for R or W operation Select either a R or W operation Supply input data to be stored during a W Hold output data from memory during a R Enable or disable memory so that it will or will not respond to read/write commands 32X4 memory stores 32 words of 4-bit each, I 3..I 0 represents data inputs, O 3..O 0 represents data outputs. 266 3

12-2 General Memory Operation Address inputs 5 address lines (00000.. 11111) A 0..A 4 In general, N Address lines are required for a memory with 2 N words. Can be viewed as 32 4-bit register R/W input Controls whether a read or a write operation is to take place Read occurs R/W=1, write occurs when R/W=0 Memory enable Sometimes called chip enable (CE) or chip select (CS), active high, enables memory to responds to read and write operation if ME=1, if ME=0, memory will not respond to the address and R/W inputs. 267 General Memory Operation Read and Write operation 268 4

General Memory Operation Examples Example 1: Describe the conditions at each input and output when the contents of address location 00100 are to be read? Address inputs: 00100 Data inputs: xxxx (not used) R/W = HIGH ME = HIGH Data outputs: 0001 Example 2: Describe the conditions at each input and output when the data word 1110 is to be written into address location 01101? Address inputs: 01101 Data inputs: 1110 R/W= LOW ME= HIGH Data outputs: xxxx (not used) 269 12-3 CPU Memory Connections Main memory is interfaced to the CPU through three groups of signal lines/bus: address bus data bus control bus When a computer is executing a program of instructions, the CPU continually fetches (reads) information from those locations in memory that contains the program code as well as the data to be operated on. The CPU will store (write) data into memory locations as instructed by program instructions. 270 5

12 3 CPU Memory Connections System bus functions: Address bus unidirectional, carries address outputs from CPU to memory Data bus bi-directional, carries data between CPU and memory ICs Control bus carries controls signals (such as R/W) from CPU to memory 271 12-3 CPU CPU Memory Connections Read/Write Operations Write operation process: CPU places the memory location address on the address bus CPU places data to be stored on the data bus CPU activates the control signal for the W operation Memory ICs determine location for memory storage by decoding the binary address Data on the data bus is transferred to selected memory location Read operation process: CPU places address of memory location for data retrieval on the address bus CPU activates the control signal lines for the R operation Memory ICs determine location of data being retrieved Memory IC places data from the memory location onto the data bus from which they are transferred to the CPU 272 6