1. A device suitable for phase-change memory operation, comprising: a plurality of stacked chalcogenide layers, wherein one chalcogenide layer contains an ion which has moved from another chalcogenide layer.