clros
Member level 2
Hi to all,
I have a problem with Quartus II (Altera),that depends on my poor knowledge of vhdl.
This code:
I have an error on last row; "... can't determine definition of operator ""**"" -- found 0 possible definitions"
Why? Can you help me?
I have a problem with Quartus II (Altera),that depends on my poor knowledge of vhdl.
This code:
Code:
[…]
type lut_array_type is array(3 downto 0) of std_logic_vector(5 downto 0);
signal myLUT : lut_array_type ;
[...]
myLUT(0)<="10011";
myLUT(1)<="11011";
myLUT(2)<="10010";
myLUT(3)<="10101";
[…]
result <= (2**myLUT(0));
Why? Can you help me?