MATLAB Answers

0

How to share multipliers while generating VHDL code in HDL Coder

Asked by Agam Soni on 15 Nov 2017
Latest activity Answered by Tim McBrayer on 15 Nov 2017
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 ?

  0 Comments

Sign in to comment.

1 Answer

Answer by Tim McBrayer on 15 Nov 2017
 Accepted Answer

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.

  0 Comments

Sign in to comment.