| Filter Design HDL Coder™ | ![]() |
Specify technique used for processing coefficient multiplier operations
'multiplier' (default)
Retain multiplier operations in the generated HDL code.
'csd'
This option uses canonic signed digit (CSD) techniques, which replace multiplier operations with shift and add operations. CSD techniques minimize the number of addition operations required for constant multiplication by representing binary numbers with a minimum count of nonzero digits. This decreases the area used by the filter while maintaining or increasing clock speed.
'factored-csd'
This option uses factored CSD techniques, which replace multiplier operations with shift and add operations on prime factors of the coefficients. This option lets you achieve a greater filter area reduction than CSD, at the cost of decreasing clock speed.
Note If the CSD or Factored CSD optimizations are selected, the generated test bench can produce numeric results that differ from those produced by the original filter function if rounding or saturation occurs. |
See Optimizing Coefficient Multipliers for more information.
AddPipelineRegisters, FIRAdderStyle, OptimizeForHDL
![]() | CoefficientSource | CoeffPrefix | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |