32.4.2.2 Lookup Table Logic

The look-up table in each LUT unit can generate any logic expression at the output (OUT) as a function of three inputs (IN[2:0]), as illustrated in the figure below. One or more inputs can be masked. The truth table for the expression is defined by the Truth Table (LUTCTRL[n].TRUTH) bit field in the LUT Control n register.

Figure 32-2. Truth Table Output Value Selection
Table 32-1. Truth Table of LUT
IN[2]IN[1]IN[0]OUT
000TRUTH[0]
001TRUTH[1]
010TRUTH[2]
011TRUTH[3]
100TRUTH[4]
101TRUTH[5]
110TRUTH[6]
111TRUTH[7]