9/20/6Lecture 3 - Instruction Set - Al1 Address Decoding for Memory and I/O.

Slides:



Advertisements
Similar presentations
Lecture 15 Finite State Machine Implementation
Advertisements

CS370 – Spring 2003 Programmable Logic Devices PALs/PLAs.
Programmable Logic PAL, PLA.
Programmable Logic Devices
1 Programmable Logic. 2 Prgrammable Logic Organization Pre-fabricated building block of many AND/OR gates (or NOR, NAND) "Personalized" by making or breaking.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
Microprocessor System Design. Outline Address decoding Chip select Memory configurations.
Programmable Logic Devices
CPEN Digital System Design
Parity. 2 Datasheets TTL:  CMOS: 
Chapter 6 – Selected Design Topics Part 4 – Programmable Implementation Technologies Logic and Computer Design Fundamentals.

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
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
Address Decoding Outline Goal Reading Address Decoding Strategy
Programmable Array Logic (PAL) Fixed OR array programmable AND array Fixed OR array programmable AND array Easy to program Easy to program Poor flexibility.
Chapter 6 Memory and Programmable Logic Devices
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 13 – Programmable.
Figure to-1 Multiplexer and Switch Analog
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
Microprocessor Address Decoding.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices
CSET 4650 Field Programmable Logic Devices
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /10/2013 Lecture 5: Combinational Logic Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE.
Khaled A. Al-Utaibi  Memory Interface and the 3 Buses  Interfacing the 8088 Processor  Interfacing the 8086 Processor  Interfacing.
Chapter
0/13 Introduction to Programmable Logic Devices Aleksandra Kovacevic Veljko Milutinovic
Basic Sequential Components CT101 – Computing Systems Organization.
Memory 10/27/081ECE Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE Lecture.
Digital Logic Design Lecture # 14 University of Tehran.
MICROOCESSORS AND MICROCONTROLLER:
CEC 220 Digital Circuit Design Programmable Logic Devices
I/O Interface. INTRO TO I/O INTERFACE I/O instructions (IN, INS, OUT, and OUTS) are explained. Also isolated (direct or I/O mapped I/O) and memory-mapped.
DIGITAL SYSTEMS Programmable devices PLA-PAL Rudolf Tracht and A.J. Han Vinck.
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.
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.
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.
ETE Digital Electronics
Digital Design Lecture 14
Logic Devices. Decoder 2-to-4 Decoder 3-to-8 Decoder.
This chapter in the book includes: Objectives Study Guide
Computer Architecture & Operations I
Memory Interfacing.
Programmable Logic Devices
Interfacing 64Kb EPROM with 8085
Computer Architecture & Operations I
Dr. Clincy Professor of CS
Chapter 11 Sequential Circuits.
Interfacing Memory Interfacing.
FIGURE 7.1 Conventional and array logic diagrams for OR gate
حافظه و منطق قابل برنامه ریزی
حافظه و منطق قابل برنامه ریزی
CSE 370 – Winter 2002 – Comb. Logic building blocks - 1
Programmable Logic.
Programmable Configurations
Introduction to Programmable Logic Devices
Lecture 10 Logistics Last lecture Today
Dr. Clincy Professor of CS
CSE 370 – Winter 2002 – Comb. Logic building blocks - 1
Chapter 4 Introduction to Computer Organization
Lecture 3 - Instruction Set - Al
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Programmable logic and FPGA
Presentation transcript:

9/20/6Lecture 3 - Instruction Set - Al1 Address Decoding for Memory and I/O

9/20/6Lecture 3 - Instruction Set - Al2 Address Decoding  Address Decoding Designs Full Address Decoding Partial Address Decoding Block Address Decoding  Implementation Random, Decoders, PROM, FPGA

9/20/6Lecture 3 - Instruction Set - Al3 Address Decoding  Required for a microcomputer where memory and I/O support are essential  Needed for embedded system when on chip microcontroller memory is not sufficient

9/20/6Lecture 3 - Instruction Set - Al4 The Memory Space  2 basic approaches Memory mapped system – main memory and I/O space are just different addresses or regions – or memory mapped I/O (MMIO)  Addressing is the same pins for memory and I/O  Advantage – less pin and hardware complexity Port Mapped I/O – have unique pins (signals) that differentiate memory and I/O address spaces  Advantage – If limited memory, memory is memory  Advantage – Large I/O space

9/20/6Lecture 3 - Instruction Set - Al5 Other architectures  Harvard Architecture Separate memory spaces for instructions and data Requires pin(s) to differentiate I/O is MMIO  Check these out on

9/20/6Lecture 3 - Instruction Set - Al6 The Memory Space  23 address lines 2 23 words with UDS* and LDS*  This is 8M words or 16M bytes

9/20/6Lecture 3 - Instruction Set - Al7 Address Map  When implementing a system the designer creates a memory map.  Map would include where RAM, ROM and I/O are.

9/20/6Lecture 3 - Instruction Set - Al8 Full address decoding  Each addressable location within the memory components responds to only a single unique address.

9/20/6Lecture 3 - Instruction Set - Al9 Example of full address decoding

9/20/6Lecture 3 - Instruction Set - Al10 Ex continued

9/20/6Lecture 3 - Instruction Set - Al11 Partial Address Decoding  Some of address lines are unused  Least complex and most inexpensive  Each component will actually respond to several addresses

9/20/6Lecture 3 - Instruction Set - Al12 Partial Address decoding example

9/20/6Lecture 3 - Instruction Set - Al13 Block Address decoding  Compromise between full and partial.  Don’t decode all of address lines but do decode more than the bare minimum.  Less repeated addresses for each populated device

9/20/6Lecture 3 - Instruction Set - Al14 Designing the decode logic  Multiple methods of implementing the decode logic  One method is of course to implement it with “random logic” – i.e., AND gates, OR gates, inverters, NAND gates, NOR gates  Advantage – speed  Disadvantage – possibly the number of chips

9/20/6Lecture 3 - Instruction Set - Al15 Decoders  USE m-line-to-n-line decoders  Decode an m-bit input into one of n outputs where n = 2 m  Popular 74LS138 – 3-to-8 decoder  Another 74LS154 – 4-to-16 decoder

9/20/6Lecture 3 - Instruction Set - Al16 Decoder Truth table

9/20/6Lecture 3 - Instruction Set - Al17 Example of decoder use

9/20/6Lecture 3 - Instruction Set - Al18 Implementation

9/20/6Lecture 3 - Instruction Set - Al19 PROMS  A PROM can also be use to implement logic functions  Can use it to do address decoding

9/20/6Lecture 3 - Instruction Set - Al20 Example of PROM use  Decoder design must be cheap and versitle.

9/20/6Lecture 3 - Instruction Set - Al21 PROM Programming

9/20/6Lecture 3 - Instruction Set - Al22 PROM System  Advantage- Ability to select blocks of differing size Versitility

9/20/6Lecture 3 - Instruction Set - Al23 FPGA, PLA, PAL  Programmable Logic Arrays AND plane – OR plane  Programmable Array Logic Limited PLA  FPGA – A network of CLBs

9/20/6Lecture 3 - Instruction Set - Al24 PAL vs PLA  In a PAL the ouput’s connection to product terms is fixed  More limited logic equation support

9/20/6Lecture 3 - Instruction Set - Al25 Special devices  There are also special chips specifically designed for address decoding  Some may be designed for a specific family of chips