RTUComputer ScienceYr 2023 · Sem 52023

Q7Microprocessor and Interfaces

Question

4 marks

Explain the interfacing of 8085 with memory.

Answer

A definitive explanation of Interfacing the 8085 with Memory, detailing the critical hardware mechanics of Address Decoding, absolute memory mapping utilizing NAND gates or 74LS138 decoders, and control signal generation.

The Intel 8085 microprocessor is mathematically capable of generating 16-bit physical addresses, granting it the absolute theoretical capacity to address exactly unique bytes of memory (64KB). However, the motherboard is constructed using multiple smaller memory chips (e.g., an 8KB ROM chip for the operating system, and a 32KB RAM chip for user data). The microprocessor must be physically and mathematically wired to these chips so that it selects the exact correct chip when an address is placed on the bus. This catastrophic hardware challenge is solved through Address Decoding.

The Architecture of Address Decoding

Every physical memory chip possesses a critical hardware pin called Chip Select (CS) or Chip Enable (CE). The chip is completely dead and disconnected from the Data Bus unless a low voltage (Logic 0) is violently driven into this pin. The 16-bit Address Bus of the 8085 ( to ) is mathematically fractured into two distinct segments:

  • The Lower Address Lines (Offset): These lines (e.g., to for an 8KB chip) are wired directly into the memory chip's internal address pins. They mathematically navigate the internal silicon array to select the specific byte.
  • The Upper Address Lines (The Decoded Sector): The remaining high-order lines (e.g., ) must never go to the memory chip. Instead, they are aggressively wired into physical logic gates (NAND gates) or advanced 3-to-8 hardware decoders (like the 74LS138). These logic gates mathematically evaluate the high-order bits. If the CPU requests an address that falls within the specific mathematical range assigned to a chip, the decoder violently fires a Logic 0 directly into the Chip Select pin, waking the chip up.

Control Signal Interfacing

Address matching alone is insufficient. The memory chip must know the mathematical direction of the data transfer. The 8085's IO/M' pin is combined with the RD' (Read) and WR' (Write) pins using physical OR gates to generate the absolute final control signals: MEMR' (Memory Read) is wired to the chip's Output Enable pin, and MEMW' (Memory Write) is wired to the Write Enable pin, guaranteeing flawless hardware synchronization.

Back to Paper