D_DFF |
D Flip-Flop
The digital d-type flip flop is a one-bit, edge-triggered storage element
which will store data whenever the clk input line transitions from low to
high (ZERO to ONE). In addition, set and reset signals exist, and each of
the three methods of changing the stored output of the d_dff have separate
load values and delays associated with them.
Note that in asynchronous mode any UNKNOWN input on the set or reset lines
immediately results in an UNKNOWN output.
Description | Direction | Default Type | Allowed Types | Vector | Vector Bounds | Null Allowed |
data | IN | d | d | NO | YES | |
clock | IN | d | d | NO | NO | |
clock enable | IN | d | d | NO | YES | |
set | IN | d | d | NO | YES | |
reset | IN | d | d | NO | YES | |
data output | OUT | d | d | NO | YES | |
inverted data output | OUT | d | d | NO | YES |
Name | Description | Data Type | Default Value | Limits | Vector | Vector Bounds | Null Allowed |
DELAY | generic delay | Real | 1.0e-9 | 1e-12 / - | NO | YES | |
CLKTPLH | delay from clock to out high | Real | 0 | 1e-12 / - | NO | YES | |
CLKTPHL | delay from clock to out low | Real | 0 | 1e-12 / - | NO | YES | |
PRETPLH | delay from set to out high | Real | 0 | 1e-12 / - | NO | YES | |
PRETPHL | delay from set to out low | Real | 0 | 1e-12 / - | NO | YES | |
CLRTPLH | delay from reset to out high | Real | 0 | 1e-12 / - | NO | YES | |
CLRTPHL | delay from reset to out low | Real | 0 | 1e-12 / - | NO | YES | |
IC | output initial state (0=low, 1=high, 2=unknown) | Int | 0 | 0 / 2 | NO | YES | |
DATA_LOAD | data load value (F) | Real | 1.0e-12 | NO | YES | ||
CLK_LOAD | clk load value (F) | Real | 1.0e-12 | NO | YES | ||
SET_LOAD | set load value (F) | Real | 1.0e-12 | NO | YES | ||
RESET_LOAD | reset load value (F) | Real | 1.0e-12 | NO | YES | ||
CLKENABLE_LOAD | clock enable load value (F) | Real | 1.0e-12 | NO | YES | ||
MODE | 0=asynchronous Set and Reset. 1=synchronous mode. Reset has precedence over Set. 3=synchronous mode. Set has precedence over Reset. |
Int | 0 | NO | YES |
a7 1 2 3 4 5 6 7 flop1
.model flop1 d_dff(delay=13.0e-9)