title: VHDL Convert 8bit Number to hexadecimal
body: <p>I'm new to VHDL and i'm struggling to get input from 8 switches to create an 8 bit number which I can convert to hexadecimal to display on two 7-segment displays.</p>
  
  <p>here is my current code, theirs not much so far as I'm not sure where to go from here.</p>
  
  <pre><code>ENTITY swToHex IS
      PORT ( 
          SW : IN STD_LOGIC_VECTOR(7 DOWNTO 0);
          HEX : OUT STD_LOGIC_VECTOR(5 DOWNTO 0)
      );
  END swToHex;
  
  ARCHITECTURE Structural OF swToHex IS
      SIGNAL A : STD_LOGIC_VECTOR(7 downto 0);
  BEGIN
     A(7 downto 0) &lt;= SW(7 downto 0);
  END Structural;
  </code></pre>
  
  <p>Any help or resources will be appreciated as Iv only just starting learning VHDL and computer architecture.   </p>