When I get home tonight, I'll see if I can find the one I wrote years ago but I doubt it. You may actually want to consider doing this in a NIOS. It may actually take a comparable amount of logic resources and the code is very simple. I've attached the c code that I currently...