How to share multipliers while generating VHDL code in HDL Coder

1 view (last 30 days)
Hi.. I am trying to generate VHDL code for a subsystem (MATLAB 2017b). I want to turn multiplier sharing on but I do not see the option 'SharingFactor'. Can you please guide me as to how can I do this ?

Accepted Answer

Tim McBrayer
Tim McBrayer on 15 Nov 2017
The sharing factor is available on each Subsystem as a HDL Block property, and is applied to all sharable content contained underneath that subsystem. You can choose which constructs are shared in the HDL Coder Configuration Parameters, On the Target and Optimizations pane, in the Resource sharing tab of the Optimizations section.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!