Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Diagnose storage from an incomplete always_comb block

Hardware interview practice

Diagnose storage from an incomplete always_comb block

EasyRTL DesignSystemVerilog

An always_comb block assigns y only when enable is high and has neither a default assignment nor an else branch. What hardware behavior does that incomplete assignment imply?

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Starting point

Question code

always_comb begin
  if (enable)
    y = data;
end
Choose one

Answer choices

  1. A. A level-sensitive latch
  2. B. A flip-flop
  3. C. A tri-state output
  4. D. A compile-time constant
Continue practicing

Related questions

RTL DesignReverse a physical bus at the lane boundary→RTL DesignImplement a parameterized binary-to-Gray converter→RTL DesignChoose always_comb over a manual sensitivity list→
asic.fyi · Learn silicon end to end.info@asic.fyi