File:C5.counter.vhdl.20120402.pdf