Problems with hexadecimal table in VHDL
Type conversion is possibly a easier and more efficient way to do this.
For hex to std_logic use 

binario &lt;= to_stdlogicvector(hexadecimal);

Make sure you include the ieee std_logic_arith package.