This shows you the differences between two versions of the page.
resources:tools-software:sigmastudio:toolbox:basicdsp:squareroot [21 Jun 2012 20:59] – created Brett Gildersleeve | resources:tools-software:sigmastudio:toolbox:basicdsp:squareroot [22 Jun 2012 14:56] (current) – Added content William Jahn | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <WRAP center round todo 60%> | + | ======Square Root====== |
- | Under Construction | + | |
- | </WRAP> | + | [[resources: |
+ | \\ | ||
+ | --------------------------------------------------------------------------------------------------------- | ||
+ | |||
+ | |The Square Root block takes the square root of the input and outputs the result.|{{squarerootpic1.png}}| | ||
+ | |||
+ | ===Input Pins=== | ||
+ | ^Name^Format [int/dec] - [control/ | ||
+ | |Pin 0: Input x|decimal - any|Input signal| | ||
+ | |||
+ | ===Output Pins=== | ||
+ | ^Name^Format [int/dec] - [control/ | ||
+ | |Pin 0: Output sqrt(x)|decimal - any|Output signal| | ||
+ | |||
+ | ===Algorithm Description=== | ||
+ | This is the " | ||
+ | \\ | ||
+ | {{squarerootpic2.png}}\\ | ||
+ | \\ | ||
+ | |||
+ | **Standard Vs. Ultra Precision**\\ | ||
+ | The main difference between this " | ||
+ | |||
+ | The accuracy difference between the two algorithms is a noise floor around approximately -78dB. The below plot shows a subtraction of the outputs from the Ultra Precision and the Standard square root functions. Notice that the noise floor difference is independent of signal level, thus the square root using the Standard approach is less accurate for low level signals.\\ | ||
+ | \\ | ||
+ | {{squarerootpic3.png}}\\ | ||
+ | \\ | ||
+ | |||
+ | ===Example=== | ||
+ | The sample schematic shown here was the schematic used to generate the first plot. A [[resources: | ||
+ | \\ | ||
+ | {{squarerootpic4.png}}\\ | ||
+ | \\ | ||
+ | |||
+ | ===Algorithm Details=== | ||
+ | |Toolbox Path|Basic DSP - Arithmetic Operations - Square Root - Square Root| | ||
+ | |Cores Supported|AD1940 \\ ADAU170x \\ ADAU144x \\ ADAU176x \\ ADAU178x| | ||
+ | |"Grow Algorithm" | ||
+ | |"Add Algorithm" | ||
+ | |Subroutine/ | ||
+ | |Program RAM|81| | ||
+ | |Data RAM|3| | ||
+ | |Parameter RAM|none| | ||
+ | |||
+ | ===Algorithm Addition Information=== | ||
+ | |Description|When the square root algorithm is grown, a second pair of input pins is added to the control.|{{squarerootpic5.png}}| | ||
+ | |Program RAM Repetition|81 per add|| | ||
+ | |Data RAM Repetition|2 per add|| | ||
+ | |Parameter RAM Repetition|none|| | ||
+ | |||
+ | |||
+ | |||
+ | |||