SIMPLIS Parts

D-Type Flip-Flop

The D-Type Flip-Flop models a generic clocked data-type Flip-Flop. The Q and QN outputs can change state only on the specified clock edge. The clock edge trigger can be set with the Trigger Condition parameter to be either rising edge ( 0_TO_1 ) or falling edge ( 1_TO_0 ). The D-Type Flip-Flop has no set or reset inputs. For the D-type Flip-Flop with set and reset inputs, see D-Type Flip-Flop with Set/Reset.

In this Topic Hide

Model Name:

D-Type Flip-Flop

Simulator:

This device is compatible with the SIMPLIS simulator.

Parts Selector
Menu Location:

Digital Functions | Flip-Flops

Symbol Library:

None - the symbol is automatically generated when placed or edited.

Model File:

SIMPLIS_DIGI1.lb

Subcircuit Name:

  • SIMPLIS_DIGI1_DFF_N: Without Ground Reference
  • SIMPLIS_DIGI1_DFF_Y: With Ground Reference

Symbols:

Multiple Selections:

Only one device at a time can be edited.

Editing the D-Type Flip-Flop

To configure the D-Type Flip-Flop, follow these steps:

  1. Double click the symbol on the schematic to open the editing dialog to the Parameters tab.
  2. Make the appropriate changes to the fields described in the table below the image.
Label Parameter Description

Clock to Output Delay

Delay from the triggering clock event until the outputs change

Minimum Clock Width

Minimum valid clock width. Clock widths less than this parameter will not trigger the Flip-Flop.

Trigger Condition

Determines the triggering condition of the clock pin:

  • 0_TO_1 for rising edge triggered
  • 1_TO_0 for falling edge triggered

Initial Condition

Initial condition of the Q output at time=0

Setup Time

Minimum time before the triggering clock event that the input signals must remain steady so that a valid change in each input state is recognized.

Hold Time

Minimum time after the triggering clock event that the input signals must remain steady so that a valid change in each input state is recognized.

Ground Ref

Determines whether or not a device has a ground reference pin.

Any digital component that has an input or output pin connected to an analog circuit node must have its Ground Ref pin connected to an analog node. This is usually the ground on the schematic. Click on the Help button for more information.

To define the parameters for the interface between this digital component and each analog component connected directly to an input or output pin, follow these steps from the Edit D-Type Flip-Flop dialog box:

  1. Click on the   Interface   tab.
  2. Make the appropriate changes to the fields described in the table below the image.
Label Parameter Description

Input Resistance

Input resistance of each input pin

Threshold

Hysteresis

The Threshold (T) and Hysteresis (H) of the Schmitt trigger input buffer on each Flip-Flop input. To determine the low-to-high threshold (TH) and the high-to-low threshold (TL), substitute Threshold (T) and Hysteresis (H) in each of the following formulas :
Input Logic Transition Actual Threshold
0 ➞ 1 TH = Threshold + 0.5 * Hysteresis
1 ➞ 0 TL = Threshold - 0.5 * Hysteresis
 

Output Resistance

Output resistance of Q and QN pins

Output High Voltage

Output high voltage for Q and QN pins

Output Low Voltage

Output low voltage for Q and QN pins

Truth Table

The following truth table assumes a Trigger Condition=0_TO_1 which represents a rising edge clocked Flip-Flop.

Inputs

Outputs

Action

D

CLK

Q

QN

0

0

1

Transfer 0 from D to Q

1

1

0

Transfer 1 from D to Q

Examples

The test circuit used to generate the waveform examples in the next section can be downloaded here: simplis_010_dtypeflipflop_example.sxsch.

Waveforms

Subcircuit Parameters

The subcircuit parameters, parameter names, data types, ranges, units, and descriptions are in the following table. The parameter names can be used to generate netlist entries for the device. For example, a D-Type Flip-Flop netlist entry without ground reference would be:
X$U1 2 4 1 3 SIMPLIS_DIGI1_DFF_N vars: IC=0 MIN_CLK=10p TRIG_COND='0_TO_1' CLK_TO_OUT_DELAY=20p SETUP_TIME=10p HOLD_TIME=1p GNDREF='N'


Parameter Name Label Data Type Range Units Parameter Description

CLK_TO_OUT_DELAY

Clock to Output Delay

 

1f to 1024

s

Delay from the triggering clock event until the outputs change

HOLD_TIME

Hold Time

 

1f to 1024

s

Minimum time after the triggering clock event that the input signals must remain steady so that a valid change in each input state is recognized.

HYSTWD

Hysteresis

   

V

The Threshold (T) and Hysteresis (H) of the Schmitt trigger input buffer on each Flip-Flop input. To determine the low-to-high threshold (TH) and the high-to-low threshold (TL), substitute Threshold (T) and Hysteresis (H) in each of the following formulas :

Input Logic Transition Actual Threshold
0 ➞ 1 TH = Threshold + 0.5 * Hysteresis
1 ➞ 0 TL = Threshold - 0.5 * Hysteresis
 

IC

Initial Condition

LIST

0,
1

 

Initial condition of the Q output at time=0

RIN

Input Resistance

 

min: 100

Input resistance of each input pin

MIN_CLK

Minimum Clock Width

 

1f to 1024

s

Minimum valid clock width. Clock widths less than this parameter will not trigger the Flip-Flop.

VOH

Output High Voltage

   

V

Output high voltage for Q and QN pins

VOL

Output Low Voltage

   

V

Output low voltage for Q and QN pins

ROUT

Output Resistance

 

min: 1m

Output resistance of Q and QN pins

SETUP_TIME

Setup Time

 

1f to 1024

s

Minimum time before the triggering clock event that the input signals must remain steady so that a valid change in each input state is recognized.

TH

Threshold

   

V

The Threshold (T) and Hysteresis (H) of the Schmitt trigger input buffer on each Flip-Flop input. To determine the low-to-high threshold (TH) and the high-to-low threshold (TL), substitute Threshold (T) and Hysteresis (H) in each of the following formulas :

Input Logic Transition Actual Threshold
0 ➞ 1 TH = Threshold + 0.5 * Hysteresis
1 ➞ 0 TL = Threshold - 0.5 * Hysteresis
 

TRIG_COND

Trigger Condition

LIST

0_TO_1,
1_TO_0

 

Determines the triggering condition of the clock pin:

  • 0_TO_1 for rising edge triggered
  • 1_TO_0 for falling edge triggered