SLVSJ99 July 2025 TPLD2001-Q1
ADVANCE INFORMATION
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 user-configurable initial state, clock polarity, reset/set polarity, and output polarity parameters.
The operation of the D flip-flop/latch will follow the functional descriptions below:
The clock polarity is configurable and can be set to non-inverted (CLK) or inverted (nCLK).
Latch with nCLK: when CLK is High, then Q = D; otherwise Q remains its previous value (input D has no effect on the output, when CLK is Low).
These DFF/Latches have an option for both an active-low and active-high reset/set:
nRST: If High, then the DFF/Latch is in normal operation. If Low, then Q is reset to 0.
RST: If Low, then the DFF/Latch is in normal operation. If High, then Q is reset to 0.
nSET: If High, then the DFF/Latch is in normal operation. If Low, then Q is set to 1.
SET: If Low, then the DFF/Latch is in normal operation. If High, then Q is set to 1.
If reset/set is not desired, users may set the polarity to active-low and connect this input to VCC or a constant High source.
The output polarity is configurable and can be set to non-inverted (Q) or inverted (nQ).
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 |