SlideShare a Scribd company logo
BASIC I/O IN 8085
Memory Interface
◦ Every microprocessor-based system has a memory system
◦ Two basic types:
1. Read-only memory (ROM): It
stores system software and permanent system data
2. Random access memory (RAM):
It stores temporary data and application software (data and instructions)
Four commonly used memories:
1. ROM
2. Flashable EEPROM
3. Static RAM (SRAM)
4. Dynamic RAM (DRAM), SDRAM, RAMBUS, DDR RAM
Memory Devices
◦ Generic PIN configuration
Address Pins
◦ All memory devices have address inputs.
◦ Select a memory location within the memory device.
◦ The number of address pins is related to the number of memory locations.
Common sizes today are 1K to 256M locations.
Therefore, between 10 and 28 address pins are present.
◦ Address inputs are labeled from A0 to AN.
◦ N is the total number of address pins minus 1.
◦ Example: The 2K memory:
has 11 address lines.
labels are (A0 - A10).
the start address is 10000H so the end address is:
10000H + ((2*1024)10 = 800H)=107FFH
Data Pins
◦ All memory devices have a set of data outputs or input/outputs.
◦ Used to enter the data for storage or extract the data for reading.
◦ The data pins are typically bi-directional in read-write memories.
The number of data pins is related to the size of the memory location
For example, an 8-bit wide (byte-wide) memory device has 8 data pins.
Catalog listing of 1K X 8 indicate a byte addressable 8Kbit memory with 10 address pins.
◦ Memory devices are defined by memory locations times bit per location.
◦ Example: 1K x 8, 16K x 1, 64K x 4.
Selection Pins
◦ Each memory device has at least one chip select(𝐶𝑆) or chip enable(𝐶𝐸) or select(𝑆) pin that
enables the memory device.
This enables read and/or write operations.
If more than one are present, then all must be 0 in order to perform a read or write.
◦ If they are active (logic 0), the memory device performs a read or write operation.
◦ If they are inactive (logic 1), the memory is disabled and do not do any operation.
◦ If more than one selection connection is present. All must be activated to read or write.
Control Pins
◦ Each memory device has at least one control pin
◦ For ROMs, an Output Enable (𝑂𝐸’) or Gate (𝐺) is present.
◦ The 𝑂𝐸’ pin enables and disables a set of tri-state buffers.
◦ For RAMs, a read-write(R/𝑊’) or write enable(𝑊𝐸’) and read enable(𝑂𝐸’) are present.
◦ For dual control pin devices, it must be hold true that both are not 0 at the same time.
ROM
◦ Non-volatile memory: Maintains its state when powered down.
◦ The 27XXX series of the EPROM includes:
◦ Each EPROM has:
◦ Address Pins
◦ 8 data connections
◦ One or more selection inputs and one output enable pins
2704 (512 x 8) 2708 (1K x 8)
2716 (2K x 8) 2732 (4K x8)
2764 (8K x 8) 27128 (16K x 8)
27256 (32K x 8) 27512 (64K x 8)
271024 (128K x 8)
Memory Address Decoding
◦ The processor can usually address a memory space that is much larger than the memory space
covered by an individual memory chip.
◦ In order to splice a memory device into the address space of the processor, decoding is
necessary.
◦ For example,
1. The 8088 issues 20-bit addresses for a total of 1MB of memory address space.
2. The BIOS on a 2716 EPROM has only 2KB of memory and 11address pins.
3. A decoder can be used to decode the additional 9 address pins and allow the EPROM to be
placed in any 2KB section of the 1MB address space.
NAND Decoder Example
NAND Decoder Example
◦ To determine the address range that a device is mapped into
◦ NAND gate decoders are not often used
Large fan-in NAND gates are not efficient
Multiple NAND gate IC's might be required to perform such decoding
Rather the 3-to-8 Line Decoder (74LS138) is more common.
The 3-to-8 Line Decoder (75LS138)
Sample Decoder Service
A simple example
◦ Let’s assume a very simple microprocessor with 10 address lines (1KB memory)
◦ Let’s assume we wish to implement all its memory space and we use 128x8 memory chips
We will need 8 memory chips (8x128=1024)
We will need 3 address lines to select each one of the 8 chips
Each chip will need 7 address lines to address its internal memory cells
Decoding example
Thank You

More Related Content

Similar to 05 basic io_operation_part01

DPSD MEMORY DEVICES UNIT memory device 4.pptx
DPSD MEMORY DEVICES UNIT memory device 4.pptxDPSD MEMORY DEVICES UNIT memory device 4.pptx
DPSD MEMORY DEVICES UNIT memory device 4.pptx
Meganath7
 
EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
Abhilash Nair
 
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer SystemsChapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
cmkandemir
 
Chapter 7 memory & i/o
Chapter 7  memory & i/oChapter 7  memory & i/o
Chapter 7 memory & i/o
SHREEHARI WADAWADAGI
 
computer system embedded system volume1.ppt
computer system embedded system volume1.pptcomputer system embedded system volume1.ppt
computer system embedded system volume1.ppt
mshanajoel6
 
Chapter 9
Chapter 9Chapter 9
Microprocessor Part 1
Microprocessor    Part 1Microprocessor    Part 1
Microprocessor Part 1
Sajan Agrawal
 
8051 architecture and pin configuration
8051 architecture and pin configuration8051 architecture and pin configuration
8051 architecture and pin configuration
NITHIN KALLE PALLY
 
Chp3 designing bus system, memory & io copy
Chp3 designing bus system, memory & io   copyChp3 designing bus system, memory & io   copy
Chp3 designing bus system, memory & io copy
mkazree
 
memory-interfacing.ppt
memory-interfacing.pptmemory-interfacing.ppt
memory-interfacing.ppt
Vanitha472439
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
Unit IV Memory.pptx
Unit IV  Memory.pptxUnit IV  Memory.pptx
Unit IV Memory.pptx
madhukarvnimbalkar
 
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfPart of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
Abhishekkumar397974
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devices
Nisarg Amin
 
ROM
ROMROM
Core Hardware: Lecture 4
Core Hardware: Lecture 4Core Hardware: Lecture 4
Core Hardware: Lecture 4
Awinash Goswami
 
Memory And Storages
Memory And StoragesMemory And Storages
Memory And Storages
Arsalan Qureshi
 
2 memory-and-io-devices
2 memory-and-io-devices2 memory-and-io-devices
2 memory-and-io-devices
Rohit Shrivastava
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
Subhasis Dash
 
Memory
MemoryMemory

Similar to 05 basic io_operation_part01 (20)

DPSD MEMORY DEVICES UNIT memory device 4.pptx
DPSD MEMORY DEVICES UNIT memory device 4.pptxDPSD MEMORY DEVICES UNIT memory device 4.pptx
DPSD MEMORY DEVICES UNIT memory device 4.pptx
 
EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
 
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer SystemsChapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
 
Chapter 7 memory & i/o
Chapter 7  memory & i/oChapter 7  memory & i/o
Chapter 7 memory & i/o
 
computer system embedded system volume1.ppt
computer system embedded system volume1.pptcomputer system embedded system volume1.ppt
computer system embedded system volume1.ppt
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Microprocessor Part 1
Microprocessor    Part 1Microprocessor    Part 1
Microprocessor Part 1
 
8051 architecture and pin configuration
8051 architecture and pin configuration8051 architecture and pin configuration
8051 architecture and pin configuration
 
Chp3 designing bus system, memory & io copy
Chp3 designing bus system, memory & io   copyChp3 designing bus system, memory & io   copy
Chp3 designing bus system, memory & io copy
 
memory-interfacing.ppt
memory-interfacing.pptmemory-interfacing.ppt
memory-interfacing.ppt
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Unit IV Memory.pptx
Unit IV  Memory.pptxUnit IV  Memory.pptx
Unit IV Memory.pptx
 
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfPart of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devices
 
ROM
ROMROM
ROM
 
Core Hardware: Lecture 4
Core Hardware: Lecture 4Core Hardware: Lecture 4
Core Hardware: Lecture 4
 
Memory And Storages
Memory And StoragesMemory And Storages
Memory And Storages
 
2 memory-and-io-devices
2 memory-and-io-devices2 memory-and-io-devices
2 memory-and-io-devices
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
Memory
MemoryMemory
Memory
 

Recently uploaded

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 

Recently uploaded (20)

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 

05 basic io_operation_part01

  • 2. Memory Interface ◦ Every microprocessor-based system has a memory system ◦ Two basic types: 1. Read-only memory (ROM): It stores system software and permanent system data 2. Random access memory (RAM): It stores temporary data and application software (data and instructions) Four commonly used memories: 1. ROM 2. Flashable EEPROM 3. Static RAM (SRAM) 4. Dynamic RAM (DRAM), SDRAM, RAMBUS, DDR RAM
  • 3. Memory Devices ◦ Generic PIN configuration
  • 4. Address Pins ◦ All memory devices have address inputs. ◦ Select a memory location within the memory device. ◦ The number of address pins is related to the number of memory locations. Common sizes today are 1K to 256M locations. Therefore, between 10 and 28 address pins are present. ◦ Address inputs are labeled from A0 to AN. ◦ N is the total number of address pins minus 1. ◦ Example: The 2K memory: has 11 address lines. labels are (A0 - A10). the start address is 10000H so the end address is: 10000H + ((2*1024)10 = 800H)=107FFH
  • 5. Data Pins ◦ All memory devices have a set of data outputs or input/outputs. ◦ Used to enter the data for storage or extract the data for reading. ◦ The data pins are typically bi-directional in read-write memories. The number of data pins is related to the size of the memory location For example, an 8-bit wide (byte-wide) memory device has 8 data pins. Catalog listing of 1K X 8 indicate a byte addressable 8Kbit memory with 10 address pins. ◦ Memory devices are defined by memory locations times bit per location. ◦ Example: 1K x 8, 16K x 1, 64K x 4.
  • 6. Selection Pins ◦ Each memory device has at least one chip select(𝐶𝑆) or chip enable(𝐶𝐸) or select(𝑆) pin that enables the memory device. This enables read and/or write operations. If more than one are present, then all must be 0 in order to perform a read or write. ◦ If they are active (logic 0), the memory device performs a read or write operation. ◦ If they are inactive (logic 1), the memory is disabled and do not do any operation. ◦ If more than one selection connection is present. All must be activated to read or write.
  • 7. Control Pins ◦ Each memory device has at least one control pin ◦ For ROMs, an Output Enable (𝑂𝐸’) or Gate (𝐺) is present. ◦ The 𝑂𝐸’ pin enables and disables a set of tri-state buffers. ◦ For RAMs, a read-write(R/𝑊’) or write enable(𝑊𝐸’) and read enable(𝑂𝐸’) are present. ◦ For dual control pin devices, it must be hold true that both are not 0 at the same time.
  • 8. ROM ◦ Non-volatile memory: Maintains its state when powered down. ◦ The 27XXX series of the EPROM includes: ◦ Each EPROM has: ◦ Address Pins ◦ 8 data connections ◦ One or more selection inputs and one output enable pins 2704 (512 x 8) 2708 (1K x 8) 2716 (2K x 8) 2732 (4K x8) 2764 (8K x 8) 27128 (16K x 8) 27256 (32K x 8) 27512 (64K x 8) 271024 (128K x 8)
  • 9. Memory Address Decoding ◦ The processor can usually address a memory space that is much larger than the memory space covered by an individual memory chip. ◦ In order to splice a memory device into the address space of the processor, decoding is necessary. ◦ For example, 1. The 8088 issues 20-bit addresses for a total of 1MB of memory address space. 2. The BIOS on a 2716 EPROM has only 2KB of memory and 11address pins. 3. A decoder can be used to decode the additional 9 address pins and allow the EPROM to be placed in any 2KB section of the 1MB address space.
  • 11. NAND Decoder Example ◦ To determine the address range that a device is mapped into ◦ NAND gate decoders are not often used Large fan-in NAND gates are not efficient Multiple NAND gate IC's might be required to perform such decoding Rather the 3-to-8 Line Decoder (74LS138) is more common.
  • 12. The 3-to-8 Line Decoder (75LS138)
  • 14. A simple example ◦ Let’s assume a very simple microprocessor with 10 address lines (1KB memory) ◦ Let’s assume we wish to implement all its memory space and we use 128x8 memory chips We will need 8 memory chips (8x128=1024) We will need 3 address lines to select each one of the 8 chips Each chip will need 7 address lines to address its internal memory cells