
PS4501-1100
Page 3 of 36
Advanced Hardware Architectures, Inc.
Figure 2:
IDATA Interface
The value of QSHIFT[1:0] in the Quant register
sets the number of bit positions the input data is
shifted left internally before decoding begins. The
IDATA bits should be shifted to fill the internal
resolution, allowing for higher precision for internal
processing. The increased precision results in the
best possible decoding performance. Throughput
and latency are not affected by the quantization size
or shift values. The following equations should be
used to determine how to set QSHIFT[1:0] in
relation to QSIZE[1:0]. In each equation, qsize and
qshift are the values represented by the programmed
value, instead of the programmed value itself. For
example, if QSIZE[1:0] = “01”, qsize in the
following equations would be 3 bits.
QMODE[1:0] = “01” or “10”:
qsize + qshift < 6
or
qshift < 6 - qsize
QMODE[1:0] = “00”:
qsize + qshift < 7
or
qshift < 7 - qsize
For best performance, do not shift the data
beyond the internal resolution (7 bits). The above
equations guarantee that this does not occur. For
example, if a particular system has three
quantization bits using QMODE[1:0] = “00”, the
following shows the values to program for each
register.
QSIZE[1:0] = “01” (3 bit input values)
qshift < 7 - qsize
qshift < 7 - 3
qshift < 4
QSHIFT[1:0] = “11” (shift left of 3)
For best performance, do not shift the data
beyond the internal resolution (7 bits). The above
equations guarantee that this does not occur.
The following table shows recommended
QSHIFT values for each QMODE and QSIZE.
Table 1:
Recommended QSHIFT Values
For QMODE = “00” connect IDATA as shown
For QMODE = “01” or “10” connect IDATA as shown
IDATA7
IDATA2
IDATA6
IDATA3
IDATA4
IDATA5
IDATA2
IDATA1
IDATA0
IDATA1
IDATA0
AHA4501
IDATA7
IDATA2
IDATA6
IDATA3
IDATA4
IDATA5
IDATA2
IDATA1
IDATA0
IDATA1
IDATA0
AHA4501
QSIZE (bits)
2s COMPLEMENT
SIGN/MAGNITUDE
UNSIGNED
1NA3NA
2333
3322
4211
5100
6
0
NA
NA