Difficulty: Easy
Correct Answer: arithmetic or logic function
Explanation:
Introduction / Context:
An ALU performs many operations (add, subtract, AND, OR, XOR, shifts). Control lines, often called selector inputs, choose which operation is applied to the input operands. Understanding this is foundational for CPU datapaths and programmable logic blocks.
Given Data / Assumptions:
Concept / Approach:
The selector inputs are decoded inside the ALU to route operands through the appropriate combinational network (adder, boolean logic, shifter). Different codes map to different functions. Timing (clock) and device selection are external system concerns, not chosen by these lines.
Step-by-Step Solution:
Verification / Alternative check:
Consult any standard 74xx ALU (e.g., 74181) or FPGA soft-ALU: the select pins choose the operation while separate enables or registers handle timing and chip-select.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
arithmetic or logic function
Discussion & Comments