| 数据搜索系统,热门电子元器件搜索 |
|
33FJ128GP708 数据表(PDF) 15 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
33FJ128GP708 数据表(HTML) 15 Page - Microchip Technology |
|
15 / 90 page ![]() © 2005 Microchip Technology Inc. Preliminary DS70155C-page 13 dsPIC33F 3.4 DSP Engine The DSP engine consists of a high-speed, single- cycle, 17-bit x 17-bit multiplier, a barrel shifter and a 40-bit adder/subtractor with two target accumulators, round and saturation logic, all of which enable efficient execution of computationally intensive DSP algorithms. The 17-bit x 17-bit multiplier is also utilized for MCU-based multiply instructions. The DSP engine also has the capability to perform inherent accumulator-to-accumulator operations, which require no additional data. These instructions are ADD, SUB and NEG. This feature greatly simplifies basic arithmetic operations on 32-bit or 40-bit data. A block diagram of the DSP engine is shown in Figure 3-4. 3.4.1 17 x 17-BIT MULTIPLIER The 17 x 17-bit multiplier is capable of signed or unsigned operation. It can suitably scale its output to support either 1.31 fractional (Q31) or 32-bit integer results, thereby diminishing the need to manually post-process multiplication results for fractional data. 3.4.2 40-BIT ACCUMULATORS The data accumulators have a 40-bit adder/subtractor with automatic sign extension logic. It can select one of two accumulators (A or B) as its pre-accumulation source and post-accumulation destination. For the ADD and LAC instructions, the data to be accumulated or loaded can be optionally scaled via the barrel shifter prior to accumulation. The adder/subtractor generates overflow status bits, SA/SB and OA/OB, which are latched and reflected in the Status register and can also optionally generate an arithmetic error trap: • Overflow from bit 39. This is a catastrophic overflow in which the sign of the accumulator is destroyed. • Overflow into guard bits 32 through 39. This is a recoverable overflow. This bit (OA/OB) is set whenever all the guard bits are not identical to each other. 3.4.3 SATURATION AND OVERFLOW The adder has an additional saturation block that controls accumulator data saturation, if selected. It uses the result of the adder, the overflow status bits described above and the user-configured control bits to determine when to saturate and to what value to saturate (a 40-bit or a 32-bit value). In addition to adder/subtractor saturation, writes to data space can also be saturated, but without affecting the contents of the source accumulator. The rounding logic performs a conventional (biased) or convergent (unbiased) data rounding function during an accumulator write (store). The Round mode is user- selectable. Rounding generates a 16-bit, 1.15 data value, which is passed to the data space write saturation logic. Data space write saturation ensures that the data in the accumulator is written back accurately even when rounding is performed. If rounding is not indicated by the instruction, a truncated 1.15 data value is stored and the least significant word is simply discarded. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |