hithesh123
Full Member level 6
I use the function std_logic_vector(to_unsigned(num, bits)) to convert unsigned int to std logic vector.
If the unsigned int is 1000, and if I select the number of bits as 8, do I get the lower 8 bits or higher 8 bits?
If the unsigned int is 1000, and if I select the number of bits as 8, do I get the lower 8 bits or higher 8 bits?