Patent ID: 7269685

Claim:
A method of writing data in a magnetic random access memory (MRAM), where the MRAM includes a magnetoresistive array of bits, where a bit from the magnetoresistive array stores one of a first state or a second state, where the second state is a logical inverse of the first state, the method comprising: receiving an address, where the address corresponds to selected bits of a magnetoresistive array within the MRAM; receiving a control signal to perform a write operation for the selected bits; writing the first state to all of the selected bits of the magnetoresistive array at least partially in response to receiving the control signal; inputting a word of data intended to be written to the selected bits of the magnetoresistive array at least partially in response to receiving the control signal; and selectively overwriting zero or more of the selected bits, where the zero or more of the selected bits correspond to zero or more bits of the word that have the second state.