title: Are SystemVerilog arrays passed by value or reference?
body: <p>By default, does SystemVerilog pass arrays by value or reference?</p>
  
  <p>For example:</p>
  
  <pre><code>int array[5] = '{0,1,2,3,4};
  some_function(array);  // &lt;-- value or reference?
  </code></pre>