MSim: A general cycle accurate simulation platform for memcomputing studies | IEEE Conference Publication | IEEE Xplore