41.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 41-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).
IN[2] | IN[1] | IN[0] | OUT |
---|---|---|---|
0 | 0 | 0 | TRUTH[0] |
0 | 0 | 1 | TRUTH[1] |
0 | 1 | 0 | TRUTH[2] |
0 | 1 | 1 | TRUTH[3] |
1 | 0 | 0 | TRUTH[4] |
1 | 0 | 1 | TRUTH[5] |
1 | 1 | 0 | TRUTH[6] |
1 | 1 | 1 | TRUTH[7] |