Hardware interview practice
Separate combinational behavior from stored state
Circuit X computes y=a&b. Circuit Y updates q<=d only on a rising clock edge. Which statement is correct?
Choose one
Answer choices
- A. X is sequential because the expression is evaluated in an ordered statement, and Y is combinational because q equals d after an edge.
- B. Both are sequential because every physical gate has propagation delay.
- C. X is combinational because y depends only on current inputs; Y is sequential because q retains state between sampling edges.
- D. Both are combinational as long as reset is not shown.
