NVPsim: A simulator for architecture explorations of nonvolatile processors | IEEE Conference Publication | IEEE Xplore