50 MHZ clock, period 20ns, count from 0 to 7 & reset