Evaluating the energy efficiency of stt-mrams based on perpendicular mtjs with double reference layers