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) 57 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) 57 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 53Page - STMicroelectronics ST20-C1 Datasheet HTML 54Page - STMicroelectronics ST20-C1 Datasheet HTML 55Page - STMicroelectronics ST20-C1 Datasheet HTML 56Page - STMicroelectronics ST20-C1 Datasheet HTML 57Page - STMicroelectronics ST20-C1 Datasheet HTML 58Page - STMicroelectronics ST20-C1 Datasheet HTML 59Page - STMicroelectronics ST20-C1 Datasheet HTML 60Page - STMicroelectronics ST20-C1 Datasheet HTML 61Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 205 page
background image
57/205
5 Multiply accumulate
®
The data items from each vector are read from memory in turn and the products
formed between corresponding pairs from the two vectors. Each of these products is
added into the running accumulator value. The instruction completes with 3 values in
the stack - the final accum ulator value and the two updated data pointers.
Four control values are held in the status register, as shown in Table 5.2.
These values are initialized by the
smacinit instruction. The smacinit instruction takes
a packed control word in Areg, extracts the control fields and loads these into the
status register. For
smacinit, Areg is organized as shown in Table 5.3.
These status register values are global and are not saved when a process is times-
liced or descheduled. If more than one process is performing short multiply accumu-
late loops then the values should be reloaded by the process code using
smacinit
after each
timeslice and stop instruction.
5.3.1
X buffer size
The X vector buffer size is determined by the mac_buffer control field, which may take
the values 0 to 7. When mac_buffer is 0, then no address wrapping takes place, i.e.
the buffer is assumed to be of infinite size. Otherwise, the buffer size is 2mac_buffer+2,
as shown in Table 5.3. The X buffer must be aligned to a multiple of its own size, so a
buffer of N bytes must start at an address whose value is a multiple of N bytes.
5.3.2
Number of steps
The mac_count control field in the status register deter mines the number of multiply-
accumulate steps for
smacloop. This is an unsigned 8-bit integer. The value zero
signifies 256 steps; otherwise the v alue of mac_count is the number of steps.
Field
Size
Meaning
mac_count
8 bits The number of steps (from 1 to 256 items).
mac_buffer
3 bits The size code for the data buffer within which the data vector lies.
mac_scale
2 bits Shift control for scaling coefficient v alues.
mac_mode
1 bit
Accumulator format - 0 indicates 16-bit (short) and 1 indicates 32-bit (long) value.
Table 5.2
smacloop status register fields
Field
Size
Least significant
bit
Most significant
bit
mac_count
8 bits
0
7
mac_buffer
3 bits
8
10
mac_scale
2 bits
11
12
mac_mode
1 bit
13
13
Table 5.3
smacinit Areg format



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