2 Introduction to CCL
The Configurable Custom Logic (CCL) is a programmable logic peripheral, which can be connected to a wide range of internal and external inputs such as device pins, events, or other internal peripherals. The CCL can serve as "glue logic" between the device peripherals and external devices.
The CCL peripheral has one pair of LookUp Tables (LUT). Each LUT consists of three inputs, a truth table, a synchronizer, a filter, and an edge detector. Each LUT can generate an output as a user programmable logic expression with three inputs, and any device that has CCL will have a minimum of two LUTs available. Inputs can be individually masked. The output can be generated from the inputs combinatorially, and filtered to remove spikes. An optional sequential logic module can be enabled. The inputs to the sequential module are individually controlled by two independent, adjacent LUT (LUT0/LUT1) outputs, enabling complex waveform generation.
Using the CCL can eliminate the need for additional external logic components and provide the core with support to handle time-critical parts of the application.