Patent ID: 7266486

Claim:
A method for simulating a magnetoresistive memory device in an integrated circuit magnetoresistive random access memory (MRAM) having a first conductor, a second conductor, and a magnetic tunnel junction (MTJ), the first conductor disposed substantially orthogonal to the second conductor, the MTJ disposed between the first conductor and the second conductor, the method comprising: calculating an indication of a first magnetic field applied to the MTJ, the first magnetic field generated by current in the first conductor; calculating an indication of a second magnetic field applied to the MTJ, the second magnetic field generated by current in the second conductor; detecting indications of transitions of the first magnetic field and the second magnetic field across one or more thresholds; and providing a state machine having one or more state variables with transitions in the state machine being dependent upon detected indications of transitions of the first magnetic field and the second magnetic field and a state of the one or more state variables, wherein state variables of the state machine include: a state variable indicative of a presence of the first magnetic field above a predetermined threshold; a state variable indicative of a presence of the second magnetic field above a predetermined threshold; a state variable indicative of a presence of the first magnetic field above a predetermined threshold preceding a presence of the second magnetic field above a predetermined threshold; and a state variable indicative of a presence of the second magnetic field above a predetermined threshold preceding a presence of the first magnetic field above a predetermined threshold.