Input Ports

Port Name

Required

Description

Comments

data[]

No

T-type flipflop: Toggle enable D-type flipflop: Data input

Input port LPM_WIDTH wide. If the data[] input is not used, at least one of the aset, aclr, sset, or sclr ports must be used. Unused data inputs default to "GND".

clock

Yes

Positive-edge-triggered clock.

 

enable

No

Clock enable input.

If omitted, the default is 1.

sclr

No

Synchronous clear input.

Clears the q[] outputs. If both the sset and sclr ports are used and asserted, the value of the sclr port is used.

sset

No

Synchronous set input.

Sets q outputs to the value specified by LPM_SVALUE, if that value is present, or sets the q outputs to all 1s. If both sset and sclr are used and both are asserted, sclr is used.

sload

No

Synchronous load input. Loads the flipflop with the value on the data input on the next active clock edge.

If omitted, the default is 0. If sload is used, data must be used. For load operation, sload must be high (1) and enable must be high (1) or unconnected. The sload port is ignored when the LPM_FFTYPE parameter is set to "DFF".

aclr

No

Asynchronous clear input.

Asynchronously clears the q[] outputs. If both aset and aclr are used and both are asserted, aclr is used.

aset

No

Asynchronous set input.

Sets q[] outputs to the value specified by LPM_AVALUE, if that value is present, or sets the q[] outputs to all 1s.

aload

No

Asynchronous load input. Asynchronously loads the flipflop with the value on the data input.

If omitted, the default is 0. If aload is used, data must be used.