MICROPS 6 Memory Interface
MICROPS 6 Memory Interface
System
ANTONIO V. DUNGCA JR.
Memory Interface
Objectives
• Decode the memory address and use the outputs of the decoder to
select various memory components.
• Use programmable logic devices (PLDs) to decode memory address.
• Explain how to interface both RAM and ROM to a microprocessor.
• Explain how error interface code (ECC) is used with memory.
• Interface memory to am 8-, 16-, 32, and 64-bit data bus.
• Explain the operation of a dynamic RAM controller.
• Interface dynamic RAM to the microprocessor.
Memory Interface
• The Intel family of microprocessors is no different from
any other in this respect.
• 2 main types of memory:
• read-only memory (ROM)
• random access memory (RAM) or read/write memory.
• memory interface to an 8-, 16-, 32-, and 64-bit data bus
by using various memory address sizes.
• allows virtually any microprocessor to be interfaced to
any memory system.
MEMORY DEVICES
• Before attempting to interface memory to the
microprocessor, it is essential to completely understand the
operation of memory components
• The functions of the four common types of memory:
• read-only memory (ROM)
• flash memory (EEPROM)
• static random access memory (SRAM)
• dynamic random access memory (DRAM).
Memory Pin Connections
• Pin connection common to all memory devices are the address
inputs, data outputs or input/outputs, some type of selection input,
and at least one control input used to select a read pr write operation
Figure 6.11 A simple NAND gate decoder that selects a 2716 EPROM for
Memory location FF800H – FFFFFH.
The 3-to-8 Line Decoder (74LS138)
Figure 6.20 The memory organization for the 80386DX and 80486 microprocessor.
Figure 6.21 Bank write
signals for the 80386DX and
80486 microprocessor.
32-Bit Memory Interface
Figure 6.22 A sample 512K-byte SRAM memory system for the 80486 microprocessor .
PENTIUM THROUGH CORE2 (64-BIT)
MEMORY INTERFACE
Figure 6.24 A sample 512K-byte SRAM memory system for the 80486 microprocessor .