Difficulty: Easy
Correct Answer: Incorrect
Explanation:
Introduction / Context:
VHDL distinguishes between concurrent statements (evaluate in parallel) and sequential statements (execute in order inside a process or subprogram). The conditional signal assignment (using “when … else …”) is a canonical concurrent construct. This question checks whether learners can separate VHDL’s two semantic domains.
Given Data / Assumptions:
S <= a when sel = '1' else b;
Concept / Approach:
Concurrent statements describe hardware that exists and operates simultaneously. A conditional signal assignment synthesizes a combinational network (often a multiplexer) evaluated continuously. Sequential statements live inside a process; their order matters and they simulate as a time-ordered sequence. The prompt attributes sequential behavior to a concurrent construct, which is incorrect.
Step-by-Step Solution:
Verification / Alternative check:
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Discussion & Comments