Study of stacked MRAM for universal memory