MATLAB Answers

How to share multipliers while generating VHDL code in HDL Coder

2 views (last 30 days)
Agam Soni
Agam Soni on 15 Nov 2017
Answered: 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.

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.

  0 Comments

Sign in to comment.

More Answers (0)


Translated by