Analog-to-Digital Converter with Computation Peripheral