pylab_ml.common.file_io.readVerilogMemFile

readVerilogMemFile(filename)[source]
Parses an EEPROM file with format @Address Data’ in hex

and returns a dictionary with decimal keys and values.

Parameters @filename : string

Path to the EEPROM file.

Returns eeprom_dict : dict

Dictionary with address (decimal) as keys and data (decimal) as values.