General Programming Gotchas

  • Stuart Sutherland
  • Don Mills


A common verification gotcha is not understanding the event scheduling of initial and always procedural blocks. Because of the name “initial”, some engineers assume that initial blocks are executed before always blocks. Other engineers believe just the opposite is true, that initial blocks are guaranteed to execute after all always blocks are active.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Understanding Verilog Blocking and Nonblocking Assignments, by Stuart Sutherland. Published in the proceedings of International Cadence Users Group, San Jose, 1996. Also available at from the author’s web site, Scholar

Copyright information

© Springer Science+Business Media, LLC 2007

Authors and Affiliations

  • Stuart Sutherland
    • 1
  • Don Mills
    • 2
  1. 1.Sutherland HDL, Inc.TualatinUSA
  2. 2.LCDM EngineeringChandlerUSA

Personalised recommendations