Almost finished wiring up the CPLD.