SCPS295 September 2024 TPLD801
ADVANCE INFORMATION
This configurable use logic blocks can serve as either a 3-bit LUT, or as a D flip-flop or latch with a reset or set.
When used to implement LUT functions, the 3-bit LUT takes in three input signals from the connection mux and produces a single output, which goes back into the connection mux. These LUTs can be configured to any 3-input user defined function, including the following standard digital logic functions: AND, NAND, OR, NOR, XOR, XNOR, INV.
Table 7-11 shows the truth table for a 3-bit LUT.
IN2 | IN1 | IN0 | OUT |
---|---|---|---|
0 | 0 | 0 | User defined |
0 | 0 | 1 | |
0 | 1 | 0 | |
0 | 1 | 1 | |
1 | 0 | 0 | |
1 | 0 | 1 | |
1 | 1 | 0 | |
1 | 1 | 1 |
Each 3-bit LUT has 8 bits in the OTP to define their output function.
When used to implement a sequential logic element, the three input signals from the connection mux go to the data (D), clock (CLK), and reset/set (nRST/nSET) inputs for the flip-flop or latch, with the output going back to the connection mux. This macro-cell has initial state, clock polarity, reset/set polarity, and output polarity parameters.
The operation of the D flip-flop/latch will follow the function descriptions below:
Table 7-8 and Table 7-9 show the truth tables for the D flip-flop and D latch with reset/set, respectively.
nRST | nSET | CLKPOL | CLK | D | Q | nQ |
---|---|---|---|---|---|---|
0 | — | 0 | X | X | 0 | 1 |
— | 0 | X | X | 1 | 0 | |
1 | 1 | ↓ | 0 | Q0 | nQ0 | |
↑ | 0 | 0 | 1 | |||
↓ | 1 | Q0 | nQ0 | |||
↑ | 1 | 1 | 0 | |||
0 | — | 1 | X | X | 0 | 1 |
— | 0 | X | X | 1 | 0 | |
1 | 1 | ↓ | 0 | 0 | 1 | |
↑ | 0 | Q0 | nQ0 | |||
↓ | 1 | 1 | 0 | |||
↑ | 1 | Q0 | nQ0 |
nRST | nSET | CLKPOL | CLK | D | Q | nQ |
---|---|---|---|---|---|---|
0 | — | 0 | X | X | 0 | 1 |
— | 0 | X | X | 1 | 0 | |
1 | 1 | 0 | 0 | 0 | 1 | |
1 | 0 | Q0 | nQ0 | |||
0 | 1 | 1 | 0 | |||
1 | 1 | Q0 | nQ0 | |||
0 | — | 1 | X | X | 0 | 1 |
— | 0 | X | X | 1 | 0 | |
1 | 1 | 0 | 0 | Q0 | nQ0 | |
1 | 0 | 0 | 1 | |||
0 | 1 | Q0 | nQ0 | |||
1 | 1 | 1 | 0 |