|
|
4.4.2 LPM_FF |
|
Copyright © 1998 University of Manchester |
Flip-flop: D type or Toggle

| Description | Comments | |||
| TFF: Toggle enable
DFF: Data input Data input during Aload or Sload | Vector, LPM_Width wide | |||
| Positive Edge Triggered | ||||
| Enable all synchronous activities | Default is enabled (1) | |||
| Output of Flip-flops | Vector, LPM_Width wide | |||
| TFF only: Load the Flip-flops with Data on the next clock. | Note 2, Note 4 | |||
| Set Flip-flops to all 1's or to the value of LPM_Svalue, if present | Note 3, Note 4 | |||
| Clear the Flip-flops (set to all 0's) | Note 4 | |||
| TFF only: Load the Flip-flops with Data. | Note 4 | |||
| Set Flip-flops to all 1's or to the value of LPM_Avalue, if present. | Note 3, Note 4 | |||
| Clear the Flip-flops (set to all 0's) | Note 4 | |||
| Test clock enable input | ||||
| Serial test data input | ||||
| Serial test data output | TestOut = QLPM_Width-1 |
Note 1: Aload and Sload are only applicable when LPM _FFType is TFF. If the LPM_FFType is DFF and these ports are connected, it is an ERROR.
Note 2: Synchronous load of LPM_TFF. For load operation Sload must be high (1) and Enable (the clock enable) must be High or unconnected.
Note 3: Sset and Aset will set the Flip-flops to the value of LPM_Svalue or LPM_Avalue repectively, if those values are present. If no LPM_Svalue is specified, then Sset will set the Flip-flops to all ones, likewise Aset.
Note 4: For outputs such as Qi on the LPM_FF, Aload, Aset, Aclr, Sload, Sset and Sclr affect the output before polarity is applied.
Note 5: Either all of the Test ports must be connected or none of them.
| Value | Comments | ||
| LPM Value > 0 | Width of input and output vectors | ||
| LPM Value | Value loaded by Aset | ||
| LPM Value | Value loaded by Sset | ||
| LPM Value | Value loaded at power-on | ||
| DFF | TFF | Default is DFF |
|
| Output | |||
| Asynchronous value.
Note 1 | |||||
| Synchronous value
Note 2 | |||||
| No change | |||||
| No change (clock not enabled) | |||||
| TFF: FFi is toggled if Datai is high (1).
DFF: Data is loaded into the register | |||||
| Qi is shifted into Qi+1
TestIn is loaded into Q0 |