A method of programming a nonvolatile memory array including a plurality
of nonvolatile memory cells, a plurality of bit lines, and a plurality of
word lines, wherein each memory cell comprises a diode, or a diode and a
resistivity switching element is disclosed. The method includes both bias
programming the memory cells of the device.