Emerging Memory Devices and Their Novel Applications