34.6.2.3 Lookup Table Logic

The lookup table in each LUT unit can generate any logic expression OUT as a function of three inputs (IN[2:0]), as shown in Figure 34-2. One or more inputs can be masked. The truth table for the expression is defined by TRUTH bits in LUT Control x register (LUTCTRLx.TRUTH).

Figure 34-2. Truth Table Output Value Selection
Table 34-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]