28.3.2.2 Lookup Table Logic
The lookup table in each LUT unit can generate a combinational logic output as a function of up to three inputs IN[2:0]. Unused inputs can be masked (tied low). The truth table for the combinational logic expression is defined by the bits in the CCL.TRUTHn registers. Each combination of the input bits (IN[2:0]) corresponds to one bit in the TRUTHn register, as shown in the table:
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] |