| lpm_shiftreg Megafunction | |
Parameter |
Type |
Required |
Description |
|---|---|---|---|
LPM_WIDTH |
Integer |
Yes |
Width of the data[] and q ports. |
LPM_DIRECTION |
String |
No |
Values are "LEFT", "RIGHT", and or "UNUSED". If omitted, the default is "LEFT". The MSB is the leftmost bit and the LSB is the rightmost bit. The MSB is q[LPM_WIDTH-1]. |
LPM_AVALUE |
Integer / String |
No |
Constant value that is loaded when aset is high. If omitted, defaults to all 1s. The LPM_AVALUE parameter is limited to a maximum of 32 bits. Altera recommends that you specify this value as a decimal number for AHDL designs. |
LPM_SVALUE |
Integer / String |
No |
Constant value that is loaded on the rising edge of clock when sset is high. If omitted, defaults to all 1s. Altera recommends that you specify this value as a decimal number for AHDL designs. |