File:C5.counter.vhdl.20120330.pdf