title: convert and resize vector
body: <p>I have following code (simplified):</p>
  
  <pre><code>library IEEE;
  use IEEE.std_logic_1164.all;
  use IEEE.numeric_std.all;
  use ieee.std_logic_arith.all;
  
  entity foo is
  end entity;
  
  architecture fum of foo is
  
      signal slv16 : STD_LOGIC_VECTOR(15 DOWNTO 0);
      signal slv5  : STD_LOGIC_VECTOR(7 DOWNTO 0);      
  
  begin
  
      slv16 &lt;= std_logic_vector(resize(unsigned(slv5), slv16'length));
  
  end architecture;
  </code></pre>
  
  <p>I get an error message that 'resize' can not be matched to a subprogram. Why?</p>