title: Systemverilog: $realtime display for different timescale precision
body: <p>I was trying to print the $realtime for the following timescale setting:</p>
  
  <pre><code>`timescale 1ns/10ps 
  initial begin        
      #10;
      $display(" %0t",$realtime);
      $display($realtime);
  end
  </code></pre>
  
  <p>The result that gets prints is:</p>
  
  <pre><code>1000
  10
  </code></pre>
  
  <p>I am just curious as to what is different in using format specifier in printing realtime? Correct me if I am wrong. I believe it is printing 1000 (10 *10ps = 1000 ns) because of the time precision. But what is the reason for the difference?</p>