Wiki

This version (21 Jul 2016 07:29) was approved by Venkatesan Krishnamoorthy.The Previously approved version (21 Jul 2016 07:26) is available.Diff

Log10

Click here to return to the Basic DSP section.

There are 2 versions of Log10 module.

  1. Log10 (Linear Interpolation)
  2. Log10 Accurate (Binary Algorithm)

Log10 (Linear Interpolation)

This Log10 algorithm computes the integral part of Log2 accurately. Fractional part of the Log is calculated using Linear interpolation. Then the Log2 is multiplied with Log10(2)to get the Log10. This algorithm takes less cycles and less accurate.


Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Input Datadecimal - audioInput data to be converted to Log base 10



Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Log valuedecimal - controllog10(input)

Log10 Accurate (Binary Algorithm)

This module uses a binary algorithm to compute the Log2. Then the Log2 is multiplied with Log10(2)to get the Log10. 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

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Input Datadecimal - audioInput data to be converted to Log base 10



Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Log valuedecimal - controllog10(input)


Configuration

Right Click on the module to configure the number of iterations.

resources/tools-software/sigmastudio/toolbox/basicdsp/log10.txt · Last modified: 21 Jul 2016 07:29 by Venkatesan Krishnamoorthy