File:C5.counter.vhdl.20120329.pdf