mmp131316
Junior Member level 1
Hello everybody:wink:,
i want to ask if anybody knows how to invert the bits order from a std_logic
-vector from a 0 to n to -> n downto 0
For example i am having the signal s : std_logic_vector(0 to 3) := "1010" and i want it to be 0101
3 downto 0?
Is there some kind of function??
Thanks for youre time:wink:
i want to ask if anybody knows how to invert the bits order from a std_logic
-vector from a 0 to n to -> n downto 0
For example i am having the signal s : std_logic_vector(0 to 3) := "1010" and i want it to be 0101
3 downto 0?
Is there some kind of function??
Thanks for youre time:wink: