A Complex Programmable Logic Device (CPLD) is a great piece of hardware to have in your repertoire. As its name implies, you can program these chips to serve the logic functions you need.
Looking at the schematic you can tell there isn’t much to it: basically the CPLD, the circuit for in-circuit programming and an oscillator to drive the logic in the CPLD. This part known as ...