Create Measuring Frequency 

This code, run on an Altera DE2 board, will measure the frequency of an input voltage signal.