title: How does a sensitivity list work in circuit level?
body: <p>Let's say there's a code that runs like this</p>
  
  <pre><code>reg [4:0] data; 
  always @ (posedge clk, posedge clr)
      begin
          if(clr)
               data &lt;= 0;
          else
               data &lt;= data +1;
      end
  </code></pre>
  
  <p>How would this look like in circuit level? My guess is roughly
  <a href="https://i.stack.imgur.com/A0696.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A0696.png" alt="enter image description here"></a></p>
  
  <p>but then that wouldn't help if Clk goes from 0 to 1 while Clr is 1......</p>
  
  <p>Also, is it good practice to have multiple elements in the sensitivity list? From what I see, there's som overhead going on here..</p>