code: def write(self, addr, data):
          '''Write to dummy memory
  
          Parameters
          ----------
          addr : int
              The register address.
          data : list, tuple
              Data (byte array) to be written.
  
          Returns
          -------
          nothing
          '''
          logger.debug(
              "Dummy SiTransferLayer.write addr: %s data: %s" % (hex(addr), data))
          for curr_addr, d in enumerate(data, start=addr):
              self.mem[curr_addr] = array.array('B', [d])[0f write(self, addr, data):
          '''Write to dummy memory
  
          Parameters
          ----------
          addr : int
              The register address.
          data : list, tuple
              Data (byte array) to be written.
  
          Returns
          -------
          nothing
          '''
          logger.debug(
              "Dummy SiTransferLayer.write addr: %s data: %s" % (hex(addr), data))
          for curr_addr, d in enumerate(data, start=addr):
              self.mem[curr_addr] = array.array('B', [d])[0]
docs: Write to dummy memory
  
          Parameters
          ----------
          addr : int
              The register address.
          data : list, tuple
              Data (byte array) to be written.
  
          Returns
          -------
          nothing