English
Language : 

EP4SE360F35I4 Datasheet, PDF (111/432 Pages) Altera Corporation – This section provides a complete overview of all features relating to the Stratix IV device family, which is the most architecturlly advanced
Chapter 4: DSP Blocks in Stratix IV Devices
Stratix IV Operational Mode Descriptions
4–31
Figure 4–20. Shift Operation Mode Shown for a Half DSP Block
clock[3..0]
ena[3..0]
aclr[3..0]
signa
signb
rotate
shift_right
dataa_0[35..18]
datab_0[35..18]
+
dataa_0[17..0]
datab_0[35..18]
dataa_0[35..18]
32
+
result[ ]
datab_0[17..0]
+
dataa_0[17..0]
datab_0[17..0]
Half-DSP Block
Table 4–5. Examples of Shift Operations
Example
Signa
Signb
Logical Shift Left
LSL[N]
Logical Shift Right
LSR[32-N]
Arithmetic Shift Left
ASL[N]
Arithmetic Shift Right
ASR[32-N]
Rotation ROT[N]
Unsigned
Unsigned
Signed
Signed
Unsigned
Unsigned
Unsigned
Unsigned
Unsigned
Unsigned
Shift Rotate
0
0
1
0
0
0
1
0
0
1
A-input
0xAABBCCDD
0xAABBCCDD
0xAABBCCDD
0xAABBCCDD
0xAABBCCDD
B-input
0x0000100
0x0000100
0x0000100
0x0000100
0x0000100
Result
0xBBCCDD00
0x000000AA
0xBBCCDD00
0xFFFFFFAA
0xBBCCDDAA
February 2011 Altera Corporation
Stratix IV Device Handbook
Volume 1