title: How to return packed array to localparam in Verilog
body: <p>I have a Verilog localparam and a function declared as: </p>
  
  <pre><code>localparam [7:0] someParam[0:15] = someFunc(8'h10);
  
  function [7:0][15:0] someFunc();
    input [7:0] some_input;
  
    someFunc[0]  = 8'h00;
    ...
    ...
  endfunction 
  </code></pre>
  
  <p>The error I get is: cannot assign packed to unpacked. Any solutions?</p>
  
  <p>Thanks.</p>