Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Nonblocking assignment (NBA) evaluation and update

Hardware interview practice

Nonblocking assignment (NBA) evaluation and update

EasySystemVerilogSystemVerilog

What does the strobe print?

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

logic a = 0, b = 0;
initial begin
  #1;
  a <= 1;
  b <= a;
  $strobe("%0b %0b", a, b);
end
Choose one

Answer choices

  1. A. 0 0
  2. B. 1 0
  3. C. 1 1
  4. D. The values are nondeterministic
Continue practicing

Related questions

SystemVerilogActive-region races→SystemVerilogConcurrent assertion scheduling→
asic.fyi · Learn silicon end to end.info@asic.fyi