Patent ID: 10522221

Abstract:
A storage array programming method and device for a resistive random access memory (RAM) are proposed. The resistive RAM comprising a storage array, the storage array comprising a group of storage units to which data is to be written. The programming method comprises: reading the currently stored data in the group of storage units and comparing bit by bit the currently stored data with the data to be written to determine whether the currently stored data is consistent with the data to be written, and generating a data write state according to the determination result; determining the data write state, and by a set operation or a reset operation, writing the data to be written only to the storage units where the currently stored data is inconsistent with the data to be written; checking whether any storage unit having a write failure exists during the set operation or the reset operation; if so, then repeating the previous steps until the writing is completed. The programming method can avoid repetitive writing, thus not only reducing write interference with a unit to improve writing efficiency of the unit, but also reducing power consumption of writing.