A content-addressable random access memory having magnetic tunnel
junction-based memory cells and methods for making and using same. The
magnetic tunnel junction has first and second magnetic layers and can act
as a data store and a data sense. Within each cell, registered data is
written by setting a magnetic orientation of the first magnetic layer in
the magnetic tunnel junction via current pulses in one or more current
lines. Input data for comparison with the registered data can be
similarly set through the magnetic orientation of the second magnetic
layer via the current lines. The data sense is performed by measuring
cell resistance, which depends upon the relative magnetic orientation of
the magnetic layers. Since data storage, data input, and data sense are
integrated into one cell, the memory combines higher densities with
non-volatility. The memory can support high speed, reduced power
consumption, and data masking.