欢迎访问ic37.com |
会员登录 免费注册
发布采购

PDSP1601-MC 参数 Datasheet PDF下载

PDSP1601-MC图片预览
型号: PDSP1601-MC
PDF下载: 下载PDF文件 查看货源
内容描述: ALU和桶式移位器 [ALU and Barrel Shifter]
分类和应用:
文件页数/大小: 18 页 / 144 K
品牌: MITEL [ MITEL NETWORKS CORPORATION ]
 浏览型号PDSP1601-MC的Datasheet PDF文件第1页浏览型号PDSP1601-MC的Datasheet PDF文件第2页浏览型号PDSP1601-MC的Datasheet PDF文件第3页浏览型号PDSP1601-MC的Datasheet PDF文件第4页浏览型号PDSP1601-MC的Datasheet PDF文件第6页浏览型号PDSP1601-MC的Datasheet PDF文件第7页浏览型号PDSP1601-MC的Datasheet PDF文件第8页浏览型号PDSP1601-MC的Datasheet PDF文件第9页  
PDSP1601 MC
Divide by Two
The ALU has four (A2SGN, A2RAL, A2RAR, A2RSX)
instructions used for right shifting (dividing by two) extended
precision words. These words, (up to 64 bits) may be stored
in the two on-chip register files. When the least significant 16
bit word is shifted, the vacant MSB must be filled with the LSB
from the next most significant 16 bit byte. This is achieved via
the A2RAL, A2RAR or A2RSX instructions which indicate the
source of the new MSB (see SLU INSTRUCTION SET).
When the most significant 16 bit byte is right shifted, the
MSB must be filled with a duplicate of the original MSB so as
to maintain the correct sign (Sign Extension). This operation
is achieved via the A2SGN instruction (see Table 1).
Constants
The ALU has four instructions (OPONE, OPBYT, OPNIB,
OPALT) that force a constant value onto the ALU output.
These values are primarily intended to be used as masks, or
the seeds for mask generation, for example, the OPONE
instruction will set a single bit in the least significant position.
This bit may be rotated any where in the 16 bit field by the
Barrel Shifter, allowing the AND function of the ALU to perform
bit-pick operations on input data.
CLR
The ALU instruction CLRXX is used as a Master Reset for
the entire device. This instruction has the effect of:
1.
2.
3.
4.
5.
Clearing ALU and Barrel Shifter register files to zero.
Clearing A and B port input registers to zero.
Clearing the R1 and R2 shift control registers to zero.
Clearing the internally registered CO bit to zero.
Programming the BFP flag to detect
overflow
conditions.
Inst
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
IS3-IS0 Mnemonic
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
LSRSV
LSLSV
BSRSV
BSLSV
LSRR1
LSRR2
LSLR1
LSLR2
LR1SV
LR2SV
ASRSV
ASRR1
ASRR1
NRMXX
NRMR1
NRMR2
The Barrel Shifter
The Barrel Shifter supports 16 instructions as detailed in
Table 2. The input to the Barrel Shifter is selected by the S
MUX. Data will fall through from the selected register, through
the S MUX and the Barrel Shifter to the shifter output register
file in 100ns.
The Barrel Shifter instructions are latched, such that the
instructions will not start executing until the rising edge of CLK
latches the instruction into the device.
The Barrel Shifter is capable of Logical Arithmetic or Barrel
Shifts in either direction.
A.
B.
C.
Logical shifts discard bits that exit the 16 bit field and fill
spaces with zeros.
Arithmetic shifts discard bits that exit the 16 bit field and
fill spaces with duplicates of the original MSB.
Barrel Shifts rotate the 16 bit fields such that bits tha exit
the 16 bit field to the left or right reappear in the vacant
spaces on the right or left.
The amount of shift applied is encoded onto the 4 bit Barrel
Shifter input as illustrated in Table 3. The type of shift and the
amount are determined by the shift control block. The shift
control block (see Fig.3) accepts and decodes the four bit ISO-
3 instruction. The shift control block contains a priority
encoder and two, user programmable 4 bit registers R1 and
R2.
There are four possible sources of shift value that can be
passed onto the Barrel Shifter, there are:
1.
2.
3.
4.
The Priority Encoder
The SV input
The R1 register
The R2 register
Operation
I/O
I
I
I
I
X
X
X
X
I
I
I
X
X
O
O
O
Logical Shift Right by SV
Logical Shift Left by SV
Barrel Shift Right by SV
Barrel Shift Left by SV
Logical Shift Right by R1
Logical Shift Left by R1
Logical Shift Right by R2
Logical Shift Left by R2
Load Register 1 From SV
Load Register 2 From SV
Arithmetic Shift Right by SV
Arithmetic Shift Right by R1
Arithmetic Shift Right by R2
Normalise Output PE
Normalise Output PE, Load R1
Normalise Output PE, Load R2
KEY
SV
R1
R2
PE
I
O
X
Table 2 Barrel shifter instructions
MNEMONICS
= Shift Value
= Register 1
= Register 2
= Priority Encoder Output
=> SV Port operates as an Input
=> SV Port operates as an Output
=> SV Port in a High Impedance State
LSXYY
BSXYY
ASXYY
LXXYY
NRMYY
Logical Shift,
X
= Direction YY = Source of Shift Value
Barrel Shift,
X
= Direction YY = Source of Shift Value
Arithmetic Shift, X
= Direction YY = Source of Shift Value
Load
XX = Target YY = Source
Normalise by PE, Output PE value on SV Port, Load YY Reg
5