This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
resources:tools-software:sigmastudio:toolbox:basicdsp:log2 [21 Jul 2016 07:30] Venkatesan Krishnamoorthy [Log2] |
resources:tools-software:sigmastudio:toolbox:basicdsp:log2 [21 Aug 2018 11:53] Deepak Raghotham |
||
---|---|---|---|
Line 2: | Line 2: | ||
[[:resources:tools-software:sigmastudio:toolbox:basicdsp|Click here to return to the Basic DSP section.]]\\ | [[:resources:tools-software:sigmastudio:toolbox:basicdsp|Click here to return to the Basic DSP section.]]\\ | ||
\\ | \\ | ||
+ | This module computes the log to base 2 of the incoming data. | ||
- | There are 2 versions of Log2 module. | + | There are 2 versions of Log2 module on ADAU144x processors. |
- Log2 (Linear Interpolation) | - Log2 (Linear Interpolation) | ||
- Log2 Accurate (Binary Algorithm) | - Log2 Accurate (Binary Algorithm) | ||
+ | |||
+ | ADAU145x, ADSP-214xx and ADSP-SC5xx/215xx processors support a single version of the Log2 implementation. | ||
{{ :resources:tools-software:sigmastudio:toolbox:basicdsp:log2.jpg?nolink |}} | {{ :resources:tools-software:sigmastudio:toolbox:basicdsp:log2.jpg?nolink |}} | ||
===== Log2 (Linear Interpolation) ===== | ===== Log2 (Linear Interpolation) ===== | ||
Line 43: | Line 45: | ||
{{ :resources:tools-software:sigmastudio:toolbox:basicdsp:log10_2.jpg?nolink |}} | {{ :resources:tools-software:sigmastudio:toolbox:basicdsp:log10_2.jpg?nolink |}} | ||
+ | |||
+ | ===== Log2 on ADSP-213xx, ADSP-214xx, ADSP-215xx and ADSP-SC5xx processors ===== | ||
+ | ====Input Pins==== | ||
+ | ^Name^Format [int/dec] - [control/audio]^Function Description^ | ||
+ | |Pin 0: Input Data|decimal(ADAU145x) - audio \\ float(ADSP-214xx/ADSP-215xx) - audio|Input data to be converted to Log base 2| | ||
+ | ====Output Pins==== | ||
+ | ^Name^Format [int/dec] - [control/audio]^Function Description^ | ||
+ | |Pin 0: Log value|decimal(ADAU145x) - control \\ float(ADSP-214xx/ADSP-215xx) - control |log2(input)| | ||
+ | ==== Grow Algorithm ==== | ||
+ | The module supports Add functionality. Growth is not supported. | ||
+ | ==== GUI Controls==== | ||
+ | None | ||
+ | ==== DSP Parameter Information ==== | ||
+ | None | ||
+ | ==== Algorithm Description ==== | ||
+ | log2(x) is implemented as (ln(x) / ln(2)) using the change of base formula. | ||
+ | ln(x) is implemented using the taylor series expansion. | ||
+ | ==== Supported IC's ==== | ||
+ | 1. ADSP-213xx \\ | ||
+ | 2. ADSP-214xx \\ | ||
+ | 3. ADSP-SC5xx \\ | ||
+ | 4. ADSP-215xx |