数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PM0014 数据表(PDF) 32 Page - STMicroelectronics

部件名 PM0014
功能描述  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0014 数据表(HTML) 32 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 28Page - STMicroelectronics PM0014 Datasheet HTML 29Page - STMicroelectronics PM0014 Datasheet HTML 30Page - STMicroelectronics PM0014 Datasheet HTML 31Page - STMicroelectronics PM0014 Datasheet HTML 32Page - STMicroelectronics PM0014 Datasheet HTML 33Page - STMicroelectronics PM0014 Datasheet HTML 34Page - STMicroelectronics PM0014 Datasheet HTML 35Page - STMicroelectronics PM0014 Datasheet HTML 36Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 46 page
background image
Arithmetic library functions
PM0014
32/46
5.6.2
mVM_q15_q15_q15
void mVM_q15_q15_q15 (short Mat[][], short *Vectin, int N, short *Output).
Description:
Real 16-bit fractional [N*N] [N*1] matrix multiply. The result vector is
on 1.15 format.
Argument:
Mat
Pointer to matrix.
Vectin
Pointer to input vector.
N
Size of the squared matrix and size of vectors.
Output
Pointer to result vector.
Algorithm:
Output (i) =
Mat(i, k) x Vectin(k)
Note:
Matrix and Vector should be stored in the DPRAM.
The output vector saturates to 1 or -1 if the result is greater than 1
or respectively lower than -1.
Assembly source
code:
mVM_q15_q15_q15.asm
Code size and cycles: Size: 60 bytes
Instruction cycles: N2 + 10N - 10
Test:
To test this function, two test cases are provided. Each test case
has two input vector files that contain the matrix to multiply and one
output vector file that contains the output matrix. For instance,
mat_10_10.in and vect_10_1.in contains respectively a
Matrix[10][10] and a vector [10][1]. The input file as well as the
output file contains the elements of the matrix sorted as follows:
Op_row1_col1, Op_row1_col2, Op_row1_col3...
....Op_row2_col1,Op_row2_col2...
k0
=
N



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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