Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ST20-C1 Datasheet(PDF) 64 Page - STMicroelectronics

Part # ST20-C1
Description  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 Datasheet(HTML) 64 Page - STMicroelectronics

Back Button 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 ST20-C1 Datasheet HTML 68Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 64 / 205 page
background image
5.6 Scaling
64/205
®
However if the bits are not all equal, then an error has occurred. If the most significant
bit (bit 47) is zero then the overall result is positive, so the error is overflow. If the most
significant bit is 1 then the o verall result is negative, so the error is underflow. The
appropriate status register bit (
overflow or underflow) is set accordingly, and the final
value is taken from Table 5.6.
5.6.6
Post-scaling and saturation -
biquad
The result of a
biquad is always short (16-bits). The saturation test is from bit 38
upwards, and the
overflow/underflo w flags are set as required. Note the initial value of
the
overflow/underflo w flags is not taken into account. If a saturation error occurs, the
appropriate
ShortMode value from Table 5.6 is used. If no error occurs, the scaling is:
• arithmetic right shift by 23 places
• truncate to low 32 bits
5.6.7
Error: load exceptional value
There are four exceptional values based on whether the result is to be delivered as a
ShortMode (Q15) or LongMode (Q31) value, and whether the error was overflow or
underflow:
Note that in all cases the final v alue is placed in a 32-bit register (Areg).
5.6.8
Performance and interrupts
biquad
The
biquad instruction takes 11 cycles to execute, assuming single cycle memory
accesses. The ST20-C1 cannot be interrupted during this period.
smacloop
A
smacloop of n steps takes n+4 cycles to complete, assuming single cycle memory
accesses.
The ST20-C1 cannot be interrupted during this period, which may be up to about 8
microseconds (for single cycle memory and an operating frequency of 33 Mhz). The
user may split a long multiply accumulate into a set of shorter ones passing the inter-
mediate accumulator value from one to the next. This will reduce interrupt latency, but
loses some numerical accuracy in that within a single
smacloop intermediate values
are held to 48 bits of precision, while values passed from one
smacloop to another
have at most 30 bits of precision (and are saturated).
mac_mode
Overflo w
Underflo w
ShortMode
00007FFF
FFFF8000
LongMode
7FFFFFFF
80000000
Table 5.6 Exceptional values



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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