Microprocessor Address Decoding.

Slides:



Advertisements
Similar presentations
Limitations are  The number of inputs (n)  The number of outputs (m)  The number of product terms (p) 5.3 Combinational PLDs ReturnNext Programmable.
Advertisements

Programmable Logic PAL, PLA.
Programmable Logic Devices
CPEN Digital System Design
Implementing Logic Gates and Circuits Discussion D5.3 Section 11-2.
Transistor-Transistor Logic (TTL) Lecture L4.1. Transistor-Transistor Logic (TTL) Developed in mid-1960s Large family (74xx) of chips from basic gates.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.
1 Other Technologies Off-the-shelf logic (SSI) IC –Logic IC has a few gates, connected to IC's pins Known as Small Scale Integration (SSI) –Popular logic.
Digital Design – Physical Implementation Chapter 7 - Physical Implementation.
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.
Multiplexers, Decoders, and Programmable Logic Devices
ECE 331 – Digital System Design Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
ECE 301 – Digital Electronics
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Digital Logic Level.
Programmable Array Logic (PAL) Fixed OR array programmable AND array Fixed OR array programmable AND array Easy to program Easy to program Poor flexibility.
Engineering 4862 Microprocessors Lecture 26 Cheng Li EN-4012
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
9/20/6Lecture 3 - Instruction Set - Al1 Address Decoding for Memory and I/O.
Figure to-1 Multiplexer and Switch Analog
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 27.1 Implementing Digital Systems  Introduction  Semiconductor Memory 
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
Chapter 10: Memory Interface – Part II. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The Intel.
Address Decoding Memory/IO.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /10/2013 Lecture 5: Combinational Logic Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE.
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
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 4 Programmable Logic Devices: CPLDs with VHDL Design Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
Chapter
0/13 Introduction to Programmable Logic Devices Aleksandra Kovacevic Veljko Milutinovic
Memory 10/27/081ECE Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE Lecture.
Fall 2004EE 3563 Digital Systems Design EE 3563 Combinational Design Practices  Change in reading assignment: 5.3.1,  SSI – Small Scale Integration.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Chapter 3 How transistors operate and form simple switches
Programmable Logic Devices (PLDs)
Basic Logic Functions Chapter 2 Subject: Digital System Year: 2009.
Memory Interface Every µP-based system has a memory system. All systems contain two types of memories.  Read-Only Memory (Volatile Memory)  Random Access.
Digital Logic Design Lecture # 15 University of Tehran.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Programmable logic devices. CS Digital LogicProgrammable Logic Device2 Outline PLAs PALs ROMs.
Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.
Logic and Computer Design Fundamentals, Fifth Edition Mano | Kime | Martin Copyright ©2016, 2008, 2004 by Pearson Education, Inc. All rights reserved.
Reconfigurable Architectures Greg Stitt ECE Department University of Florida.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Programmable Logic Devices
Gunjeet Kaur Dronacharya Group of Institutions. Outline Introduction Random-Access Memory Memory Decoding Error Detection and Correction Programmable.
Chapter- 9 Programmable Logic Devices DHADUK ANKITA ENRL NO Noble Engineering College- Junagadh.
Chapter 10: Memory Interface
Memory and Programmable Logic
ETE Digital Electronics
Digital Design Lecture 14
Transistors and Logic Circuits
Computer Architecture & Operations I
Memory Interfacing.
Programmable Logic Devices
More Devices: Control (Making Choices)
ECE 331 – Digital System Design
Interfacing 64Kb EPROM with 8085
Computer Architecture & Operations I
Dr. Clincy Professor of CS
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Interfacing Memory Interfacing.
حافظه و منطق قابل برنامه ریزی
The Digital Logic Level
حافظه و منطق قابل برنامه ریزی
Dr. Clincy Professor of CS
13 Digital Logic Circuits.
PROGRAMMABLE LOGIC DEVICES (PLD) UNIT-IV
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Presentation transcript:

Microprocessor Address Decoding

Topics to be discussed ADDRESS DECODING A simple NAND gate decoder Sample Decoder Circuit The Dual 2-to-4 Line Decoder (74LS139) PLD Programmable Decoders

   ADDRESS DECODING In order to attach a memory device to the microprocessor, it is necessary to decode the address sent from the microprocessor. Decoding makes the memory function at a unique section or partition of the memory map. Without an address decoder, only one memory device can be connected to a microprocessor, which would make it virtually useless. BACK

? Why Decode Memory The 8088 has 20 address connections and the 2716 EPROM has 11 connections. The 8088 sends out a 20-bit memory address whenever it reads or writes data. because the 2716 has only 11 address pins, there is a mismatch that must be corrected The decoder corrects the mismatch by decoding address pins that do not connect to the memory component.

Simple NAND Gate Decoder When the 2K  8 EPROM is used, address connections A10–A0 of 8088 are connected to address inputs A10–A0 of the EPROM. the remaining nine address pins (A19–A11) are connected to a NAND gate decoder The decoder selects the EPROM from one of the 2K- byte sections of the 1M-byte memory system in the 8088 microprocessor. In this circuit a NAND gate decodes the memory address, as seen in Figure 10-13. BACK

A simple NAND gate decoder that selects a 2716 EPROM for memory location FF800H–FFFFFH.

If the 20-bit binary address, decoded by the NAND gate, is written so that the leftmost nine bits are 1s and the rightmost 11 bits are don’t cares (X), the actual address range of the EPROM can be determined. a don’t care is a logic 1 or a logic 0, whichever is appropriate Because of the excessive cost of the NAND gate decoder and inverters often required, this option requires an alternate be found.

The 74LS138 3-to-8 line decoder and function table. The 3-to-8 Line Decoder (74LS138) a common integrated circuit decoder found in many systems is the 74LS138 3-to-8 line decoder.   The 74LS138 3-to-8 line decoder and function table.

Sample Decoder Circuit The outputs of the decoder in Figure 10–15, are connected to eight different 2764 EPROM memory devices. The decoder selects eight 8K-byte blocks of memory for a total capacity of 64K bytes. This figure also illustrates the address range of each memory device and the common connections to the memory devices. BACK

connected to this circuit. the decoder’s outputs are connected to the CE inputs of the EPROMs, the RD signal from the 8088 is connected to the OE inputs of the EPROMs all address connections from the 8088 are Figure 10–15  A circuit that uses eight 2764 EPROMs for a 64K  8 section of memory in an 8088 microprocessor-based system. The addresses selected in this circuit are F0000H–FFFFFH.

In this circuit, a three-input NAND gate is connected to address bits A19–A17. When all three address inputs are high, the output of this NAND gate goes low and enables input G2B of the 74LS138. Input G1 is connected directly to A16. In order to enable this decoder, the first four address connections (A19–A16) must all be high.

Address inputs C, B, and A connect to microprocessor address pins A15–A13. These three address inputs determine which output pin goes low and which EPROM is selected whenever 8088 outputs a memory address within this range to the memory system.

The Dual 2-to-4 Line Decoder (74LS139) Figure 10–16 illustrates both the pin-out and the truth table for the 74LS139 dual 2-to-4 line decoder. 74LS139 contains two separate 2-to-4 line decoders—each with its own address, enable, and output connections. A more complicated decoder using the 74LS139 decoder appears in Figure 10–17. BACK

Figure 10–17  A sample memory system constructed with a 74HCT139.

PLD Programmable Decoders Three SPLD (simple PLD) devices function in the same manner but have different names: PLA (programmable logic array) PAL (programmable array logic) GAL (gated array logic) In existence since the mid-70s, they have appeared in memory system and digital designs since the early 1990s. BACK

PAL and PLA are fuse-programmed, and some PLD devices are erasable devices. all are arrays of programmable logic elements Other PLDs available: CPLDs (complex programmable logic devices) FPGAs (field programmable gate arrays) FPICs (field programmable interconnect) These PLDs are more complex than the SPLDs used more commonly in designing a complete system.