I have a 4 bits std_logic_vector whose values are represented in 2's complement. And I want to extract it's unsigned value
signal FOURbits_2scomplement : std_logic_vector(3 downto 0);
signal THREEbits_number : unsigned(2 downto 0);
THREEbits_number <= what_to_do(FOURbits_2scomplement); -- here !
How can we convert the given 4 bits that we encoded/represent in 2's complement to a 3-bit binary encoded binary value?
I am stuck because of the width...