Memory cells, and methods of forming such memory cells, are provided that
include a carbon-based reversible resistivity switching material. In
particular embodiments, methods in accordance with this invention form a
memory cell by forming a carbon-based reversible resistance-switching
material above a substrate, forming a carbon nitride layer above the
carbon-based reversible resistance-switching material, and forming a
barrier material above the carbon nitride layer using an atomic layer
deposition process. Other aspects are also provided.