- Joined
- Jan 22, 2008
- Messages
- 52,373
- Helped
- 14,746
- Reputation
- 29,774
- Reaction score
- 14,087
- Trophy points
- 1,393
- Location
- Bochum, Germany
- Activity points
- 297,880
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.