2079 11

CSC167 ยท 2079 ยท 5 marks

What are the different kinds buses? How and why de-multiplexing of buses is carried out in 8085.

What are the different kinds buses? How and why de-multiplexing of buses is carried out in 8085. [5]

MicroprocessorChapter 2: Basic ArchitectureDemultiplexing of Buses

Quick answer

A bus is a group of conducting wires (fine thin lines) that connects different parts of a microprocessor system and carries signals between them.

Kinds of Buses and De-multiplexing in 8085

Part 1: Different Kinds of Buses

A bus is a group of conducting wires (fine thin lines) that connects different parts of a microprocessor system and carries signals between them. There are three types of buses:


1. Address Bus

  • A group of conducting wires that carries address only (address of a memory location or I/O port).
  • It is unidirectional -- data flows in one direction only: from microprocessor to memory or from microprocessor to I/O devices.
  • In the 8085 microprocessor, the address bus is 16-bit wide, meaning it can address 2^16 = 64 KB of memory locations.
  • The length of the address bus determines the amount of memory a system can address.

2. Data Bus

  • A group of conducting wires that carries data to and from memory or I/O devices.
  • It is bidirectional -- data can flow in both directions (read and write).
  • In the 8085 microprocessor, the data bus is 8-bit wide, which is why 8085 is called an 8-bit microprocessor.

3. Control Bus

  • A group of conducting wires used to generate timing and control signals to control all associated peripherals.
  • The microprocessor uses the control bus to determine what operation to perform on the selected memory location.
  • Common control signals include:
    • Memory Read
    • Memory Write
    • I/O Read
    • I/O Write
  • If the control line is low (no electricity), memory is read; if high, memory is written.

Part 2: De-multiplexing of Buses in 8085

Why De-multiplexing is Carried Out

The 8085 microprocessor has only 40 pins. To reduce the number of pins and keep the chip compact (as a VLSI circuit), Intel multiplexed the lower-order address bus with the data bus on the same set of 8 pins (AD0 -- AD7). This means:

  • During the first part (T1 state) of a machine cycle, these pins carry the lower 8 bits of the address (A0 -- A7).
  • During the later part (T2, T3 states), the same pins carry 8-bit data (D0 -- D7).

Since address and data share the same lines, they must be separated (de-multiplexed) before use, otherwise the system cannot distinguish between address and data signals.


How De-multiplexing is Carried Out

De-multiplexing is done using a latch (e.g., 74LS373 octal latch):

StepDescription
Step 1At the beginning of T1 state, 8085 sends the lower 8-bit address on AD0--AD7 lines.
Step 2The 8085 also sends an ALE (Address Latch Enable) signal HIGH at this moment.
Step 3The ALE signal is connected to the Enable (G) pin of the latch. When ALE is HIGH, the latch is transparent and the address is passed through and stored (latched).
Step 4When ALE goes LOW, the latch holds the address at its output (A0--A7 are now available separately).
Step 5The AD0--AD7 lines are now free to carry data (D0--D7) in subsequent clock states.
8085 Pins                Latch (74LS373)          Memory / I/O
AD0 - AD7  ----------->  D0-D7 (Input)
                         Q0-Q7 (Output) -------->  A0 - A7 (Address)
ALE        ----------->  G (Enable)
AD0 - AD7  ----------------------------------------> D0 - D7 (Data)

The upper 8 address bits (A8 -- A15) are available on dedicated pins and do not need de-multiplexing.


Summary

FeatureDetail
Reason for multiplexingTo reduce pin count on the 40-pin 8085 chip
Multiplexed pinsAD0 -- AD7 (shared by lower address and data)
Signal used for de-muxALE (Address Latch Enable)
Hardware usedOctal latch (e.g., 74LS373)
ResultSeparate, stable A0--A7 and D0--D7 lines for the rest of the system

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.