FIRAdderStyle

Specify final summation technique used for FIR filters

Settings

'linear' (default)

Apply linear adder summation. This technique is discussed in most DSP text books.

'tree'

Increase clock speed while maintaining the area used. This option creates a final adder that performs pair-wise addition on successive products that execute in parallel, rather than sequentially.

Usage Notes

If you are generating HDL code for a FIR filter, consider optimizing the final summation technique by applying tree or pipeline final summation techniques. Pipeline mode produces results similar to tree mode with the addition of a stage of pipeline registers after processing each level of the tree.

For information on applying pipeline mode, see AddPipelineRegisters.

Consider the following tradeoffs when selecting the final summation technique for your filter:

See Also

AddPipelineRegisters, CoeffMultipliers, OptimizeForHDL

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS