Memory Interfacing.

Slides:



Advertisements
Similar presentations
VHDL 8 Practical example
Advertisements

Memory Devices and Interfacing – (Chapter 9)
Memory & IO Interfacing to CPU
Microprocessor System Design. Outline Address decoding Chip select Memory configurations.
Programmable Interval Timer
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
Memory and Programmable Logic
Memory Interface Dr. Esam Al_Qaralleh CE Department
Overview Memory definitions Random Access Memory (RAM)
Chapter 5 Internal Memory
FIGURE 7-24 Memory map for the 8088 interface in Figure 7-22 and decoder in Figure The 64K SRAM is mapped to the address range E0000H to EFFFFH.
Memory Devices Wen-Hung Liao, Ph.D..
TK Memory Interface DR MASRI AYOB. 2 Requirement and memory structure There are two types of memory: –RAM: read and write –ROM: read only Figure.
Engineering 4862 Microprocessors Lecture 26 Cheng Li EN-4012
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
MANINDER KAUR RAM and ROM Chips 24-Nov
University of Tehran 1 Microprocessor System Design Omid Fatemi Memory Interfacing
9/20/6Lecture 3 - Instruction Set - Al1 Address Decoding for Memory and I/O.
EKT 221 Digital Electronics II
8051 INTERFACING TO EXTERNAL MEMORY
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Microprocessor Address Decoding.
Address Decoding Memory/IO.
EKT 221 : Digital 2 Memory Basics
HARDWARE ARCHITECTURE
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Khaled A. Al-Utaibi  Memory Interface and the 3 Buses  Interfacing the 8088 Processor  Interfacing the 8086 Processor  Interfacing.
Chapter 11Chapter 12 Memory system designI/O system design Objectives: The importance of bus buffering How the 8088 addresses (accesses) memory - I/O ports.
Memory Read only memory (ROM) – nonvolatile
Semiconductor memory utilization. Memories 2/20 Main memory map Timings Power supplying.
8254 Timer.
1 Memory Systems Computer Architectures M. 2 EPROM memories Access time: ns VPP A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 D0 D1 D2 GND VCC PGM* NC A14.
MICROPROCESSORS AND APPLICATIONS
Khaled A. Al-Utaibi  I/O Ports  I/O Space VS Memory Space  80x86 I/O Instructions − Direct I/O Instructions − Indirect I/O Instructions.
Memory Interface Every µP-based system has a memory system. All systems contain two types of memories.  Read-Only Memory (Volatile Memory)  Random Access.
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.
8085 Microprocessor: Architecture & Support Components.
Memory Systems 3/17/ Memory Classes Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture.
3/19/  Differentiate the class of memory  List the type of main memory  Explain memory architecture and operation  Draw memory map  Design.
Objectives : At the end of this lesson, students should be able to : i.Identify the types of memory chip and their functions. ii.Define the difference.
AHMEDABAD INSTITUTE OF TECHNOLOGY
Digital Logic & Design Dr.Waseem Ikram Lecture No. 43.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني System buses.
Chapter 5 - Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization.
8255 Programmable Peripheral Interface
Homework Reading Tokheim, Chapter 12-1 through 12-4.
8051 Pin - out PORT 0 PORT 1 PORT 2 PORT 3.
Digital Logic & Design Dr. Waseem Ikram Lecture 39.
MEMORY DEVICES, CIRCUITS, AND SUBSYSTEM DESIGN
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
Computer Architectures M
Memory Systems 7/21/2018.
Module IV Memory Organization.
Interfacing 64Kb EPROM with 8085
Hardware Source: ttp:// under
Dr. Rabie A. Ramadan Al-Azhar University Lecture 5
Computer Architectures M
Chapter 11 Sequential Circuits.
Interfacing Memory Interfacing.
Memory Systems Digital Systsems M.
Module IV Memory Organization.
Architecture & Support Components
MICROPROCESSOR MEMORY ORGANIZATION
The 8051 Microcontroller and Embedded Systems
Chap. 12 Memory Organization
8259 Programmable Interrupt Controller
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
UNIT-III Pin Diagram Of 8086
Presentation transcript:

Memory Interfacing

The memory is made up of semiconductor material used to store the programs and data. Three types of memory is Process memory Primary or main memory Secondary memory

TYPICAL EPROM AND STATIC RAM: A typical semiconductor memory IC will have N address pins, M data pins (or output pins). Having two power supply pins (one for connecting required supply voltage (V and the other for connecting ground). The control signals needed for static RAM are chip select (chip enable), read control (output enable) and write control (write enable). The control signals needed for read operation in EPROM are chip select (chip enable) and read control (output enable).

Table - Number of Address Pins and Data Pins in Memory ICs

Fig - Block diagram and Truth table of 2-4 decoder It is used to select the memory chip of processor during the execution of a program. No of IC's used for decoder is 2-4 decoder (74LS139) 3-8 decoder (74LS138) Fig - Block diagram and Truth table of 2-4 decoder

Fig - Block diagram and Truth table of 3-8 decoder

EXAMPLE-1 Consider a system in which the full memory space 64kb is utilized for EPROM memory. Interface the EPROM with 8085 processor. The memory capacity is 64 Kbytes. i.e 2^n = 64 x 1000 bytes where n = address lines. So, n = 16. In this system the entire 16 address lines of the processor are connected to address input pins of memory IC in order to address the internal locations of memory. The chip select (CS) pin of EPROM is permanently tied to logic low (i.e., tied to ground). Since the processor is connected to EPROM, the active low RD pin is connected to active low output enable pin of EPROM. The range of address for EPROM is 0000H to FFFFH.

Fig - Interfacing 64Kb EPROM with 8085

EXAMPLE-2 Consider a system in which the available 64kb memory space is equally divided between EPROM and RAM. Interface the EPROM and RAM with 8085 processor. Implement 32kb memory capacity of EPROM using single IC 27256. 32kb RAM capacity is implemented using single IC 62256. The 32kb memory requires 15 address lines and so the address lines A0 - A14 of the processor are connected to 15 address pins of both EPROM and RAM. The unused address line A15 is used as to chip select. If A15  is 1, it select RAM and If  A15  is 0, it select EPROM. Inverter is used for selecting the memory. The memory used is both Ram and EPROM, so the low RD and WR pins of processor are connected to low WE and OE pins of memory respectively. The address range of EPROM will be 0000H to 7FFFH and that of RAM will be 7FFFH to FFFFH.

Fig - Interfacing 32Kb EPROM and 32Kb RAM with 8085

EXAMPLE-3 Consider a system in which 32kb memory space is implemented using four numbers of 8kb memory. Interface the EPROM and RAM with 8085 processor.

Fig - Interfacing 16Kb EPROM and 16Kb RAM with 8085

Consider a system in which the 64kb memory space is implemented using eight numbers of 8kb memory. Interface the EPROM and RAM with 8085 processor. The total memory capacity is 64Kb. So, let 4 numbers of 8Kb EPROM and 4 numbers of 8Kb RAM. Each 8kb memory requires 13 address lines. So the address line A0 - A12 of the processor are connected to 13address pins of all the memory lCs. The address lines A13, A14 and A]5 are decoded using a 3-to-8 coder to generate eight chip select signals. These eight chip select signals can be used to select one of the eight memories at any one time.