Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem with integer variable and vector range
My code: Int is an Integer Variable OutputNumber is a Std_logic_Vector Input Int <= conv_integer(OutputNumber); MyVector(37 downto (38-Int)) <= Temp(37 downto (38-Int)); Quart...
Altera_Forum
Honored Contributor
16 years agoThe VHDL standard does not allow the right-hand side of downto expresions to contain a variable.
Just use a constant instead of a Int Integer variable.