Digitally assisted pipeline ADCs :theory and implementation