Wiki

This version is outdated by a newer approved version.DiffThis version (14 Nov 2012 21:52) was approved by William Jahn.The Previously approved version (21 Jun 2012 20:22) is available.Diff

This is an old revision of the document!


Linear Gain

Click here to return to the Basic DSP page


The Linear Gain block scales the signal by the value specified in the text field.

  1. Drag it into the workspace.
  2. Right-click the block and select Add Algorithm > IC N >
    • Gain (slew)
    • Gain (no slew)
  3. (Slew instructions mean better quality but at the expense of memory.)
  4. Enter the desired scale factor into the text field.

For a sample design using this block, see the Basic DSP example.

The value you specify is in 5.23 format (5 bits for the integer, 23 for the decimal). The accepted values for this block are therefore in the range: -16 - 15.999.

You can choose a slew or no-slew algorithm. Using slew RAM gradually ramps the signal from original to target value, while using no-slew RAM jumps the signal immediately.

For more information on target/slew ram, see Target Slew RAM in the Basic Sigma DSP Architecture book section of this wiki.

resources/tools-software/sigmastudio/toolbox/basicdsp/lineargain.1352926360.txt.gz · Last modified: 14 Nov 2012 21:52 by William Jahn