SharpWeapon
Member level 5
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);