Difficulty: Easy
Correct Answer: tristate buffer
Explanation:
Introduction / Context:
Unlike output ports, which must store and continuously drive a value, input ports must share the CPU data bus with many other devices. The hardware must therefore connect the external input to the bus only at the right time to avoid contention.
Given Data / Assumptions:
Concept / Approach:
A tristate buffer presents three states: logic 0, logic 1, and high-impedance (Hi-Z). When not selected, the buffer is disabled and its output is Hi-Z—electrically disconnected from the bus. When selected during a read, the buffer enables and drives the bus with the device's data, preventing bus fights.
Step-by-Step Solution:
Verification / Alternative check:
Logic analyzer traces show only one device driving the bus during a read; bus lines float or are pulled when the port is not selected, proving effective tristate control.
Why Other Options Are Wrong:
Common Pitfalls:
Leaving multiple input sources enabled simultaneously causes bus contention. Always gate the buffer with address select and RD̄.
Final Answer:
tristate buffer
Discussion & Comments