def METHOD_NAME(self, reg_name):
    cpld_dir = "/sys/devices/platform/dell-e3224f-cpld.0/"
    retval = 'ERR'
    reg_file = cpld_dir +'/' + reg_name
    if (not os.path.isfile(reg_file)):
        return retval
    try:
        with open(reg_file, 'r') as fd:
            retval = fd.read()
    except Exception as error:
        print("Unable to open ", reg_file, "file !")
    retval = retval.rstrip('\r\n')
    return retval