SharpWeapon
Member level 5
- Joined
- Mar 18, 2014
- Messages
- 89
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 705
Hello,
What is wrong with ISE compiler? The following code should work without any problem.
But it generates the following error in either way:
PS: It doesn't generate an error if I change
But that is not what I wanted which it only copied the result without reversing.
What is wrong with ISE compiler? The following code should work without any problem.
Code:
A: in STD_LOGIC_VECTOR(3 downto 0);
output: out STD_LOGIC_VECTOR(3 downto 0)
....
output(3 downto 0)<=A(0 to 3);
output(0 to 3)<=A(3 downto 0);
But it generates the following error in either way:
Code:
Slice direction differs from its index subtype range
PS: It doesn't generate an error if I change
Code:
A: in STD_LOGIC_VECTOR(0 to 3);