I am developing a test benchf wher i need to read a set of values from a file and pass the values to the DUT. Now some of the values in the file exceed the integer range of (2^31) - 1 range (eg value 2382568613). How do i now read these values from the file?
Unsigned/signed types can have as many bits as you want, so can exceed the integer range. The easiest way to read them would be to store the values as hex (or octal or binary) and read them into unsigned via std_logic_vectors with the std_logic_textio package.
Otherwise you could write a string_to_unsigned function that could read the values in character by character.