1. A device suitable for phase-changing memory operation, comprising: a plurality of stacked chalcogenide layers, wherein an electric field is applied to move an ion from one chalcogenide layer to another.