công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

ST20-C1 bảng dữ liệu(PDF) 63 Page - STMicroelectronics

tên linh kiện ST20-C1
Giải thích chi tiết về linh kiện  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 bảng dữ liệu(HTML) 63 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 59Page - STMicroelectronics ST20-C1 Datasheet HTML 60Page - STMicroelectronics ST20-C1 Datasheet HTML 61Page - STMicroelectronics ST20-C1 Datasheet HTML 62Page - STMicroelectronics ST20-C1 Datasheet HTML 63Page - STMicroelectronics ST20-C1 Datasheet HTML 64Page - STMicroelectronics ST20-C1 Datasheet HTML 65Page - STMicroelectronics ST20-C1 Datasheet HTML 66Page - STMicroelectronics ST20-C1 Datasheet HTML 67Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 205 page
background image
63/205
5 Multiply accumulate
®
5.6.3
Pre-scaling and rounding -
smacloop
The initial accumulator value must be loaded into the accumulator for the start of the
smacloop instruction. The initial accumulator is either in Q31 format (LongMode), or
Q15 format (
ShortMode) and is handled accordingly.
In
LongMode,
• left shift by 7 places
(right 1 + left 8)
• sign extend from bit 38 to the most significant bit
• set bit 6 = 1 (for rounding)
In
ShortMode,
• left shift by 23 places
(left 15 + left 8)
• sign extend from bit 38 to the most significant bit
• set bit 22 = 1 (for rounding)
Note that rounding is achieved by adding half of the least significant bit to the initial
value, which by associativity is equivalent to adding it to the final value.
5.6.4
Pre-scaling and rounding -
biquad
The biquad instruction starts with an empty accumulator. Since the result is always
Q15 (equivalent to
ShortMode), rounding is achieved by loading the accumulator with
222 (which is half of the least significant bit of the result).
5.6.5
Post-scaling and saturation -
smacloop
At the end of a
smacloop instruction the final accum ulator value is saturated and
scaled to the appropriate format, according to mac_mode.
If either the
overflow or underflow bits in the status register are set, then the final value
is set to the appropriate exceptional value from Table 5.6. Note that this does not
involve testing the accumulator value, which is considered to be invalid if either of
these status register bits are set.
Otherwise, when the status register reports no overflow or underflow, bits 38 to 47
inclusive of the accumulator are tested for mutual equality. If they are all the same, the
accumulator value is well-formed and post-scaling is applied to produce the final accu-
mulator value.
In
LongMode,
• arithmetic right shift by 7 places(left 1 + right 8)
• truncate to low 32 bits
In
ShortMode,
• arithmetic right shift by 23 places (right 15 + right 8)
• truncate to low 32 bits



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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