code: def get_data(self):
          ''' Reading data in BRAM.
  
          Returns
          -------
          array : numpy.ndarray
              Array of unsigned integers (32 bit).
          '''
          fifo_int_size_1 = self.FIFO_INT_SIZE
          fifo_int_size_2 = self.FIFO_INT_SIZE
          if fifo_int_size_1 > fifo_int_size_2:
              fifo_int_size = fifo_int_size_2  # use smaller chunk
              logger.warning("Reading wrong FIFO size. Expected: %d <= %d" % (fifo_int_size_1, fifo_int_size_2))
          else:
              fifo_int_size = fifo_int_size_1  # use smaller chunk
          return np.frombuffer(self._intf.read(self._conf['base_data_addr'], size=4 * fifo_int_size), dtype=np.dtype('<u4')f get_data(self):
          ''' Reading data in BRAM.
  
          Returns
          -------
          array : numpy.ndarray
              Array of unsigned integers (32 bit).
          '''
          fifo_int_size_1 = self.FIFO_INT_SIZE
          fifo_int_size_2 = self.FIFO_INT_SIZE
          if fifo_int_size_1 > fifo_int_size_2:
              fifo_int_size = fifo_int_size_2  # use smaller chunk
              logger.warning("Reading wrong FIFO size. Expected: %d <= %d" % (fifo_int_size_1, fifo_int_size_2))
          else:
              fifo_int_size = fifo_int_size_1  # use smaller chunk
          return np.frombuffer(self._intf.read(self._conf['base_data_addr'], size=4 * fifo_int_size), dtype=np.dtype('<u4'))
docs: Reading data in BRAM.
  
          Returns
          -------
          array : numpy.ndarray
              Array of unsigned integers (32 bit).