Front End Board CPLD code