Analog to Digital Converter

This code, when ran on an Altera DE2 board connected to a DAC, converts
voltage from analog to digital.