This is a public repository for code related to the IEDM 2014 conference paper: Engel et al., "Capacity Optimization of Emerging Memory Systems: A Shannon-Inspired Approach to Device Characterization".