Design, Modeling and Characterization of Circuits and Devices for Emerging Memories