makehdl function, simulink HDL coder

8 views (last 30 days)
Hi All,
When I try to call the makehdl file from an m file with the property: 'SynthToolOption' with the value 'Quartus' I receive an error message saying that this property is unknown. When I delete it from my call I am able to run my script but the tcl file is not generated. Is there a special to run this specfic property? Is there an open issue regarding it?
Thanks in advance,
Gilad

Accepted Answer

Tim McBrayer
Tim McBrayer on 25 Aug 2011
The property name you are looking for is HDLSynthTool. You should use the property-value pair 'HDLSynthTool', 'Quartus' in this case. Please see the Property Reference in the User's Guide for Simulink HDL Coder for a complete list of valid properties.

More Answers (1)

Gilad
Gilad on 25 Aug 2011
Hi Tim,
Thank you for your answer. I actually used the documentation of the "makehdl" function (MATLAB 2011a). This is what is written :
----------------------------------------------------
SynthToolOption
Select synthesis tool for which the coder generates scripts. Settings
'string'
Default: 'none'.
SynthToolOption enables or disables generation of scripts for third-party synthesis tools. By default, the coder does not generate a synthesis script. To generate a script for one of the supported synthesis tools, set SynthToolOption to one of the strings given in the following table.
--------------------------------------------------------------

Tags

Products

Community Treasure Hunt

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

Start Hunting!