32.2 Overview

The Configurable Custom Logic (CCL) is a programmable logic peripheral that can be connected to the device pins, events, or other internal peripherals. This allows users to eliminate hardware logic gates for simple glue logic functions in system design.

Each look-up table (LUT) consists of three inputs and supports a user-defined truth table. Additionally, each LUT includes an optional synchronizer or filter, and an optional edge detector. Each LUT can generate an output based on a user-programmable logic expression with three inputs, and each input can be individually masked.

The output can be generated combinatorially from the inputs and can be filtered to remove spikes. Optional sequential logic can also be applied. The inputs to the sequential module are individually controlled by two independent, adjacent LUT outputs (e.g., LUT0/LUT1, LUT2/LUT3, etc.), enabling complex waveform generation.