Updated VHDL
Updated ADC routines