5.6 Scaling
Under shifting (by less than 8) is used for magnitude reduction (most suitable for
smacloop) by 4 bits (x16) using mac_scale=1 or 8 bits (x256) using mac_scale=0.
Under-shifting by 4 bits is shown in Figure 5.5, and by 8 bits in Figure 5.6.
X data value
15
0
Y data value
15
0
<< 4
23
40
47
35
40
Add to internal accumulator
Figure 5.5 Coefficient scaling with mac_mode set to 1
X data value
15
0
Y data value
15
0
23
0
47
31
0
Add to internal accumulator
Figure 5.6 Coefficient scaling with mac_mode set to 0
62/205
®