title: Defining initial value for Matrix2D in VHDL
body: <p>I have a problem in giving initial value zero to a signal type of matrix2D in VHDL. I defined it as follows: </p>
  
  <pre><code>type matrix2D is array (integer range &lt;&gt; , integer range &lt;&gt; ) of signed(2 downto 0);
  </code></pre>
  
  <p>and in my VHDL code for initial value I wrote:</p>
  
  <pre><code>process(matrix1, matrix2, s_out_adder)
    variable v_flipflop_adder: matrix2D(0 to 4, 0 to 4) :=((0 to 4),(others =&gt;(others=&gt;'0')));
  begin   
  ....
  </code></pre>
  
  <p>But unfortunately it doesn't work.</p>
  
  <p>Does anyone know how I can define initial value zero for the matrix2D?</p>