Skip to question
SystemVerilogDesignVerificationFirmwareArchitectureASIC Interview Questions→
/Interview questions/Diagnose storage from an incomplete always_comb block

Q149·Free·SystemVerilog

Diagnose storage from an incomplete always_comb block

Difficulty
Easy
Topic
RTL Design
Language
SV
Interview prompt

Question

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?

Provided context

Code to inspect

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
Exact question handoffPractice Q149

Solve it in the question bank, keep your progress, and reveal the reviewed solution when your access allows.

Open in question bank →
Solution accessEach time you open this Solution, one Practice Credit is used; it is not permanently unlocked. Premium Solution content also uses one credit per opening.
Continue learning

Assignments and Procedural Intent

Review blocking and nonblocking updates, specialized blocks, case statements, and inferred state.

  • RTL Design
  • SystemVerilog
  • Combinational logic
  • Latch inference
Assignments and Procedural Intent →
Continue practicing

Related questions

Q998 · RTL DesignChoose always_comb over a manual sensitivity listEasyP→Q438 · RTL DesignSpot an unintended latchEasyP→Q1146 · RTL DesignComplete assignments in combinational RTLEasyP→Q1040 · SystemVerilogBlocking and nonblocking assignment usageEasyP→
ASIC.FYI · Learn silicon end to end.info@asic.fyi