def METHOD_NAME(self):
    total_len = 0
    for i in range((len(self.fld) - 1), -1, -1):
        total_len += self.fld[i].bit_width
    if total_len != rcs.XLEN:
        for i in range((len(self.fld) - 1), -1, -1):
            logging.info(self.fld[i].convert2string())
        logging.critical("Total field length {} != XLEN {}".format(total_len, rcs.XLEN))
        sys.exit(1)
    self.val = 0
    for i in range((len(self.fld) - 1), -1, -1):
        self.val = (self.val << self.fld[i].bit_width) | self.fld[i].val
    return self.val