makehdl function, simulink HDL coder

8 ビュー (過去 30 日間)
Gilad
Gilad 2011 年 8 月 25 日
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

採用された回答

Tim McBrayer
Tim McBrayer 2011 年 8 月 25 日
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.

その他の回答 (1 件)

Gilad
Gilad 2011 年 8 月 25 日
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.
--------------------------------------------------------------

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by