VHDL implementation of a digital oscilloscope.