A magnetoresistive random access memory (MRAM) is embedded with another circuit
type. Logic, such as a processing unit, is particularly well-suited circuit type
for embedding with MRAM. The embedding is made more efficient by using a metal
layer that is used as part of the interconnect for the other circuit also as part
of the MRAM cell. The MRAM cells are all written by program lines, which are the
two lines that cross to define a cell to be written. Thus, the design is simplified
because there is commonality of usage of the metal line that is used for one of
the program lines for the MRAM and for one of the interconnect lines for the logic.