This is an offshoot of the R2 CPLD project that I did for a Hackaday video that makes it easier to support 3.3V and 5V CPLDs. Also connects an additional I/O line or two and adds a reverse protection diode.