VLSI DV Interview Puzzles · All levels

SystemVerilog Language Puzzles

Hands-on interview puzzles that force precise reasoning about SystemVerilog semantics, not memorized rules. The set emphasizes 4-state versus 2-state behavior, signed/unsigned and casting traps, fork-join process lifetime control, collection mutation semantics, and runtime typing with string APIs and $cast.

What this section covers

Hands-on interview puzzles that force precise reasoning about SystemVerilog semantics, not memorized rules. The set emphasizes 4-state versus 2-state behavior, signed/unsigned and casting traps, fork-join process lifetime control, collection mutation semantics, and runtime typing with string APIs and $cast.

Topics

diagram
Datatype and Bit Puzzles — 6 puzzles
Fork Join Puzzles — 6 puzzles
Queue and Array Puzzles — 6 puzzles
String and Casting Puzzles — 6 puzzles

How to practice

  1. Open each topic and attempt every puzzle cold, writing your predicted answer first.

  2. Only then read the step-by-step solution and confirm the exact answer.

  3. Re-read the 'why candidates get it wrong' note — that is the actual interview signal.

  4. Finish with the section Q&A to rehearse explaining the rule out loud.

Related topics