Perform a design-level area optimization in HDL Coder by converting constant multipliers into shifts and adds using canonical signed digit (CSD) techniques.
Use the design-level loop streaming optimization in HDL Coder™ to optimize area.
Use the resource sharing optimization in HDL Coder™. This optimization identifies functionally equivalent multiplier operations in MATLAB® code and shares them in order to optimize
Use the RAM mapping optimization in HDL Coder™ to map persistent matrix variables to block RAMs in hardware.