- Joined
- Jan 22, 2008
- Messages
- 52,485
- Helped
- 14,756
- Reputation
- 29,794
- Reaction score
- 14,121
- Trophy points
- 1,393
- Location
- Bochum, Germany
- Activity points
- 298,364
I agree with hairo. A variable bit select is legal VHDL, a variable range select isn't. Although other compilers use to give better understandable error messages in similar cases, "constant value required" would refer to the requirement of a constant range in the expression mentioned by hairo.
A usual solution is a bit wise copy in a for loop.
A usual solution is a bit wise copy in a for loop.