A magnetic memory is disclosed. In one embodiment, the magnetic memory
array includes a plurality of cell columns and a pair of reference cell
columns, including a first reference cell column and a second reference
cell column. A comparator is provided with a first and a second input
terminal. A switching circuit is configured to connect each of the cell
columns to the first input terminal and the pair of reference cell
columns coupled in parallel to the second input terminal, and configured
to connect the first reference cell column to the first input terminal
and the second reference cell column to the second input terminal.