Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

PM0014 Datenblatt(PDF) 27 Page - STMicroelectronics

Teilenummer PM0014
Bauteilbeschribung  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0014 Datenblatt(HTML) 27 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 23Page - STMicroelectronics PM0014 Datasheet HTML 24Page - STMicroelectronics PM0014 Datasheet HTML 25Page - STMicroelectronics PM0014 Datasheet HTML 26Page - STMicroelectronics PM0014 Datasheet HTML 27Page - STMicroelectronics PM0014 Datasheet HTML 28Page - STMicroelectronics PM0014 Datasheet HTML 29Page - STMicroelectronics PM0014 Datasheet HTML 30Page - STMicroelectronics PM0014 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 46 page
background image
PM0014
Arithmetic library functions
27/46
5.5.3
cDiv_q31_q15_q15
cDiv_q31_q15_q15 (short LeftOpIMsb, short LeftOpILsb, short LeftOpRMsb,
short LeftOpRLsb, short RightOpI, short RightOpR, short *Output).
Description:
Division of two complex fractional inputs. Dividend is on 64 bits (32
bits for each part), divisor and quotient on 32 bits (16 bits for each
part).
Argument:
LeftOpIMsb
Left operand imaginary part most significant bits.
LeftOpILsb
Left operand imaginary part least significant bits.
LeftOpRMsb
Left operand real part most significant bits.
LeftOpRLsb
Left operand real part least significant bits.
RightOpI
Right operand imaginary part.
RightOpR
Right operand real part.
Output
Output pointer.
Algorithm:
Note:
Output imaginary part is contained in the lowest address (pointed
by Output). Output real part is in the highest address (pointed by
Output + 2).
If c2 + d2 is equal to 0, there is a result saturation to the maximum
positive value.
c2 + d2 must be smaller than the dividend real part and than the
dividend imaginary part for a valid result. Else, there is a result
saturation to the maximum positive or negative value.
If c2 + d2, ac + bd or bc - ad is greater than 1 or smaller than -1, it
saturates to the maximum positive or negative value.
If c2 + d2 and ac + bd or bc - ad are both a maximum value. The
real part of the result is not valid (respectively the imaginary part of
the result).
The implemented algorithm does not allow integer division. For
dividing integers (dividend in 32.0 format and divisor in 16.0), shift
the dividend one bit to the left (into 31.1 format) before dividing.
Assembly source
code:
cDiv_q31_q15_q15.asm
Code size and cycles: Size: 262 bytes
Instruction cycles: 470
aib
+
cid
+
--------------
ac
bd
+
c
2
d
2
+
--------------------i
bc
ad
c
2
d
2
+
-------------------
×
+
=



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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