A 4-Mb toggle MRAM based on a novel bit and switching method | Synapse