title: Error (10482): VHDL error: object "select_vector" is used but not declared
body: <p>I dont know why I am getting this error (Error (10482): VHDL error at SWSelectorVHDL.vhd(11): object "select_vector" is used but not declared). Please point out what do I need to change..
  Here is my code</p>
  
  <pre><code>library ieee;
  use ieee.std_logic_1164.all;
  entity SWSelectorVHDL is
  generic(
  NUM : std_logic_vector(2 downto 0) := "000" 
  );  
  port(       
  selector    : in    select_vector(7 downto 0); 
  rq      : in    std_logic_vector(7 downto 0); 
  own     : out   std_logic_vector(7 downto 0)
  );
  end entity SWSelectorVHDL;
  architecture RTL of SWSelectorVHDL is
  begin
  gen_req : for i in 0 to 7 generate
  requests(i) &lt;= rq(i) when (selector(i) = NUM) else '0';
  end generate;
  end;
  </code></pre>