Input Ports

Port Name

Required

Description

Comments

data[]

No

Data input to the latch.

Input port LPM_WIDTH wide. If the data[] input is not used, then either aset or aclr inputs must be used.

gate

Yes

Latch enable input. High = flow-through, low = latch.

 

aclr

No

Asynchronous clear input.

If omitted, the default value is 0. Sets the latch to all 0s. If both aset and aclr are used and both are asserted, aclr is used.

aset

No

Asynchronous set input.

If omitted, the default value is 0. Sets q outputs to the value specified by LPM_AVALUE, if that value is present, or sets the count to all 1s. If both aset and aclr are used and both are asserted, aclr is used.