CPLD and Arduino - a good mix

The schematics is the count2.jpg in this thread..