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.
| 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] |
