beautypg.com

Lpm_shiftreg megafunction output ports, Lpm_shiftreg megafunction parameters – Altera Shift Register IP Core User Manual

Page 13

background image

Comments

Description

Required

Port Name

Sets q[] outputs to 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 asserted, sclr is dominant. sset
signal affects q[] outputs before polarity is
applied to ports.

Synchronous set input.

No

sset

If both aset and aclr are used and both are
asserted, aclr is dominant. aclr signal affects
the q[] outputs before polarity is applied to the
ports.

Asynchronous clear input.

No

aclr

Sets q[] outputs to the value specified by LPM_
AVALUE

, if that value is present, or sets the q[]

outputs to all 1s. If both aset and aclr are
used and both are asserted, aclr is dominant.
aset

signal affects q[] outputs before polarity

is applied to ports.

Asynchronous set input.

No

aset

LPM_SHIFTREG Megafunction Output Ports

Table 4: Output Ports for the LPM_SHIFTREG Megafunction

Comments

Description

Required

Port Name

Output port LPM_WIDTH wide. Either q[] or
shiftout

or both must be used.

Data output from the shift register.

No

q[]

Either q[] or shiftout or both must be used.
shiftout

port value is equal to q[LPM_

WIDTH-1]

when LPM_DIRECTION=”LEFT”.

When LPM_DIRECTION=”RIGHT”,
shiftout

equals q[0].

Serial shift data output.

No

shiftout

LPM_SHIFTREG Megafunction Parameters

Table 5: Parameters for the LPM_SHIFTREG Megafunction

Comments

Required

Type

Parameter

Width of the data[] and q ports.

Yes

Integer

LPM_WIDTH

Values are “LEFT”, “RIGHT”, and “UNUSED”. If
omitted, default is “LEFT”. MSB is the leftmost bit,
LSB is rightmost bit. The MSB is q[LPM_WIDTH-1].

No

String

LPM_DIRECTION

Altera Corporation

LPM_SHIFTREG Megafunction

Feedback

13

LPM_SHIFTREG Megafunction Output Ports

UG-033105
2013.03.05