title: Iteration limit 10000 is reached
body: <p>i am using the following code.</p>
  
  <pre><code>    `timescale 1ns / 1ps
  module program_counter
      (
      input        clock,
      input       reset,
      input [31:0]     in,
      output reg [31:0] out
      );
          initial 
              begin
                  out &lt;= 32'b00000000000000000000000000000001;
              end
      always @(negedge clock)
          begin
              if(reset)
                  begin
                      out &lt;= 32'b00000000000000000000000000000001;
                  end
              else
                  begin
                      out &lt;= in;
                  end
          end
  endmodule
  </code></pre>
  
  <p>It is showing error as shown</p>
  
  <blockquote>
    <p>"ERROR: at 0 ps: Iteration limit 10000 is reached. Possible zero delay oscillation detected where simulation can not advance in time because signals can not resolve to a stable value in File "C:/dewesh/latest_bkup/Program_counter.v" Line 12. Please correct this code in order to advance past the current simulation time."</p>
  </blockquote>
  
  <p>I am not able to find what is the problem. </p>