An Energy Aware Variation-Tolerant Writing Termination Control for STT-based Non Volatile Flip-Flops | IEEE Conference Publication | IEEE Xplore