Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

ST20-C1 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
MFG CO.
ST20-C1
ST-Microelectronics
STMicroelectronics ST-Microelectronics
'ST20-C1' PDF : 205 Pages View PDF
5 Multiply accumulate
5.5 Data vectors
Both biquad and smacloop operate on arrays of 16-bit values, packed two per word.
This allows the ST20-C1 to read two values per cycle from memory which is funda-
mental to the high performance of the multiply-accumulate instructions. In all cases,
data values must be half-word aligned.
Input
Q15
Z-1
Z-1
c[2] Q14 << 9
x[2]
c[1] Q14 << 9
x[1]
Q14
c[0]
<< 9
x[0]
Shifts
Coefficients: 0, L4, L8, L9
<< 22
1
>> 23
y[2]
<< 9 Q14 c[4]
y[1]
Q14
<< 9
c[3]
y[0]
Output
Q15
Z-1
Z-1
Accumulator: R23
Figure 5.1 ST20-C1 biquad instruction example: Q15 = Q15 × Q14
5.6 Scaling
The biquad and smacloop operations are performed with an oversize accumulator of
48 bits. The accumulator value is always sign-extended to the full width of the accu-
mulator.
During a multiply-accumulate sequence the value in the accumulator may temporarily
go outside the representable range of the final result, but can never overflow the accu-
mulator for a single biquad or smacloop.
5.6.1 Accumulator scaling
The user-visible accumulator is either in LongMode (Q31) or ShortMode (Q15). For
smacloop, the mode is defined b y the mac_mode status register field. biquad only
supports ShortMode.
Pre-scaling converts the user-visible accumulator to an internal format accumulator,
as shown in Figure 5.2. The inverse operation is post-scaling which is converting an
59/205
®
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]