SRAM for error-tolerant applications with dynamic energy-quality management in 28 nm CMOS