Smart, Advanced Memory Devices and Applications (SAMA) Laboratory Electrical and Computer Engineering Computer Electrical Mathematical Science and Engineering Division King Abdullah University of Science and Technology (KAUST) Thuwal Kingdom of Saudi Arabia