CPLD JTAG cleanup