English
Language : 

EP2AGX95EF29C6N Datasheet, PDF (102/380 Pages) Altera Corporation – Device Interfaces and Integration
4–26
Chapter 4: DSP Blocks in Arria II Devices
Arria II Operational Mode Descriptions
1 The control signal for the accumulator and subtractor is static and therefore you can
configure it at compilation.
The multiply accumulate mode supports the rounding and saturation logic unit
because it is configured as an 18-bit multiplier accumulator. You can use the pipeline
registers and output registers within the DSP block to increase the performance of the
DSP block.
Shift Modes
Arria II devices support the following shift modes for 32-bit input only:
■ Arithmetic shift left, ASL[N]
■ Arithmetic shift right, ASR[32-N]
■ Logical shift left, LSL[N]
■ Logical shift right, LSR[32-N]
■ 32-bit rotator or Barrel shifter, ROT[N]
1 You can switch the shift mode between these modes with the dynamic rotate and shift
control signals.
You can easily use the shift mode in an Arria II device with a soft embedded processor
such as the Nios® II processor to perform the dynamic shift and rotate operation.
Shift mode makes use of the available multipliers to logically or arithmetically shift
left, right, or rotate the desired 32-bit data. The DSP block is configured like the
independent 36-bit multiplier mode to perform the shift mode operations.
Arithmetic shift right requires a signed input vector. During arithmetic shift right, the
sign is extended to fill the MSB of the 32-bit vector. The logical shift right uses an
unsigned input vector. During logical shift right, zeros are padded in the most
significant bits shifting the 32-bit vector to the right. The barrel shifter uses an
unsigned input vector and implements a rotation function on a 32-bit word length.
Two control signals, rotate and shift_right, together with the signa and signb
signals, determine the shifting operation.
Arria II Device Handbook Volume 1: Device Interfaces and Integration
December 2010 Altera Corporation