> This is a clock for a processor implemented in an fpga. The division > comes about because there is a uart implemented as well inside the > processor to avoid framing errors. So, yes, it is a square wave. -Vic You could do it with a 4040 and a 4-input AND gate. Take the logic outputs for hA3 = %10100011 (a0,a1,a5,a7) and AND them together, with the output going to the 4040's reset to clear the 4040 back to all zero outputs. A pulse will be produced each time a0&a1&a5&a7 I use this method to do long division in h/w when counting mains cycles but you may find that the 4040 @ 5V won't take 12.5MHz. The 74HC4040 probably would, and any TTL binary counter will -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu