Integrated on-chip is a block of logic gates which allows the user to mop up any external “glue logic” which may be in place. This logic block consists of 16 elements, each of which can be configured as different logic functions. An element within the PLA block can take as its inputs GPIO pins, register bits, or feedback from the output of other elements. Also, it can be clocked from a number of different sources.