Wiki

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
resources:tools-software:sigmastudio:toolbox:basicdsp:log2 [21 Jul 2016 07:30] – [Log2] Venkatesan Krishnamoorthy
Line 1: Line 1:
 +====== Log2 ======
 +[[:resources:tools-software:sigmastudio:toolbox:basicdsp|Click here to return to the Basic DSP section.]]\\
 +\\
  
 +There are 2 versions of Log2 module.
 +
 +  - Log2 (Linear Interpolation)
 +  - Log2 Accurate (Binary Algorithm)
 +{{ :resources:tools-software:sigmastudio:toolbox:basicdsp:log2.jpg?nolink |}}
 +===== Log2 (Linear Interpolation) ===== 
 +
 +This Log2 algorithm computes the integral part of Log2 accurately. Fractional part of the Log is calculated using Linear interpolation. This algorithm takes very less cycles and less accurate.
 +
 +\\
 +====Input Pins====
 +^Name^Format [int/dec] - [control/audio]^Function Description^
 +|Pin 0: Input  Data|decimal - 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 - control|log2(input)|
 +
 +
 +===== Log2 Accurate (Binary Algorithm) ===== 
 +
 +This module uses a binary algorithm to compute the Log2. This is more accurate and takes more cycle. Number of iterations in the algorithm can be configured. Accuracy of the algorithm increases when the number of iterations is increased. 
 +
 +\\
 +====Input Pins====
 +^Name^Format [int/dec] - [control/audio]^Function Description^
 +|Pin 0: Input  Data|decimal - 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 - control|log2(input)|
 +\\
 +====Configuration====
 +Right Click on the module to configure the number of iterations. 
 +
 +{{ :resources:tools-software:sigmastudio:toolbox:basicdsp:log10_2.jpg?nolink |}}
resources/tools-software/sigmastudio/toolbox/basicdsp/log2.txt · Last modified: 21 Aug 2018 11:53 by Deepak Raghotham