NVMain: An Architectural-Level Main Memory Simulator for Emerging Non-volatile Memories | IEEE Conference Publication | IEEE Xplore