By adding a digital potentiometer and ratiometric division to a voltage-reference IC's feedback loop, you can set the reference's output voltage using a digital code.