Chapter 8 Memory Interface

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
ECE 301 – Digital Electronics Memory (Lecture #21)
Computer Organization and Architecture
Chapter 5 Internal Memory
Memory and Storage - Sheetal Gosrani. Overview Memory Hierarchy RAM Memory Chip Organization ROM Flash Memory.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
CH05 Internal Memory Computer Memory System Overview Semiconductor Main Memory Cache Memory Pentium II and PowerPC Cache Organizations Advanced DRAM Organization.
Lecture # 13 Memory and Storage
Intro to Cache Memory By david hsu. Examples of memory Paper and writing, books Neon signs Cassettes and other magnetic tape memory Abacus Art material.
5.1 Semiconductor main memory  Organization The basic element of a semiconductor memory is the memory cell. Semiconductor memory cells properties: 1.
Module IV Memory Organization.
2. Memory. Main memory – speed & types Organization of RAM RAM – Random Access Mem Static RAM [SRAM] - In SRAM, a bit of data is stored using the state.
Memory Hierarchy.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
ECE 456 Computer Architecture
Chapter 5 Internal Memory. Semiconductor Memory Types.
MODULE 5: Main Memory.
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.
Internal Memory.
Digital Design: Principles and Practices
CIM101 : Introduction to computer Lecture 3 Memory.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
MEMORY INTERFACE (ROMS, RAMS). Computer Memory Overview.
Chapter 4: MEMORY Internal Memory.
Memory Cell Operation.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
Semiconductor Memory Types
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
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Internal Memory.
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
Electronics Technology
COMPUTER ORGANISATION AND ARCHITECTURE
William Stallings Computer Organization and Architecture 8th Edition
Subject Name: Embedded system Design Subject Code: 10EC74
Module IV Memory Organization.
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Computer Memory BY- Dinesh Lohiya.
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Jazan University, Jazan KSA
Presentation transcript:

Chapter 8 Memory Interface Microprocessors Chapter 8 Memory Interface prepared by Dr. Mohamed A. Shohla

Chapter Overview Memory Devices Address Decoding 8088 and 80188 (8-Bit) Memory Interface 8086, 80186, 80286, and 80386SX (16-Bit) Memory Interface Cache Memory

Memory Devices Address Connections Data Connections Selection Connections

Semiconductor Memory Types

Semiconductor Memory RAM Misnamed as all semiconductor memory is random access Read/Write Volatile Temporary storage Static or dynamic

Memory Cell Operation

Dynamic RAM Bits stored as charge in capacitors Charges leak Need refreshing even when powered Simpler construction Smaller per bit Less expensive Need refresh circuits Slower Main memory Essentially analogue Level of charge determines value

Static RAM Bits stored as on/off switches No charges to leak No refreshing needed when powered More complex construction Larger per bit More expensive Does not need refresh circuits Faster Cache Digital Uses flip-flops

SRAM v DRAM Both volatile Dynamic cell Static Power needed to preserve data Dynamic cell Simpler to build, smaller More dense Less expensive Needs refresh Larger memory units Static Faster Cache

Read Only Memory (ROM) Permanent storage Microprogramming (see later) Nonvolatile Microprogramming (see later) Library subroutines Systems programs (BIOS) Function tables

Types of ROM Written during manufacture Programmable (once) Very expensive for small runs Programmable (once) PROM Needs special equipment to program Read “mostly” Erasable Programmable (EPROM) Erased by UV Electrically Erasable (EEPROM) Takes much longer to write than read Flash memory Erase whole memory electrically

Address Decoding Simple NAND Gate Decoder A decoder used to select a 2K x 8 EPROM for memory locations FF800H-FFFFFH. 2K-8

Sample Decoder Circuit The 74LS138, 3-to-8 line decoder

Example: Design a 64K-8 EPROM interface for the 8088 microprocessor using EPROM chips (8K x 8). The ROM memory starts at address F0000H-FFFFFH.

Basic 8088 Memory Interface Interfacing EPROM to the 8088 A 32K-8 EPROM interface for the 8088 using EPROM chips (4K x 8). The ROM memory starts at address F8000H-FFFFFH.

Interfacing RAM to the 8088 A 512K-8 RAM interface for the 8088 using RAM chips (32K x 8). The ROM memory starts at address 00000H.