MTJ elements are accumulated in a plurality of portions on a semiconductor
substrate. A first conductive line functioning as a read line and
extending in the X direction is connected to pin layers of the MTJ
elements. A second conductive line functioning as a write line and read
line and extending in the X direction is connected to free layers of the
MTJ elements. A write line extends in the Y direction and is shared with
two MTJ elements present above and below the write line. The two MTJ
elements present above and below the write line are arranged symmetric to
the write line.