title: Difference between @(posedge Clk); a<= 1'b1; and @(posedge Clk) a<= 1'b1;
body: <p>Is there any difference between</p>
  
  <pre><code>@(posedge Clk);
     a&lt;= 1'b1;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>@(posedge Clk)
     a&lt;= 1'b1;
  </code></pre>
  
  <p>Note the semicolon after Clk. I came across similar lines of code when I was browsing through a testbench. I did some simple experiments and I could not find any differences during simulation. Will the sequence of execution for the code following these lines change in any way due to the presence/absence of the semicolon?</p>