I recently installed HDL Coder, and when I try to open the HDL Workflow Advisor, I get the following errors:
The Model Advisor tree structure is incorrect. The structure of the following folder is not specified correctly: HDL Workflow Advisor.
Error using hdlwa.hdlwaDriver/getTaskObj
Cannot find task ID with name 'com.mathworks.HDL.SetTargetDevice'.
Error in utilHandle_HDLAdvisorData
Error in utilHDLAdvisorStart
Error in hdladvisor

 Akzeptierte Antwort

Kiran Kintali
Kiran Kintali am 3 Jun. 2020

0 Stimmen

Please try this and if this does not help it is best to have a clean install.
>>Advisor.Manager.refresh_customizations
Or
>>rehash toolboxcache

1 Kommentar

Ben Kistler
Ben Kistler am 3 Jun. 2020
The first command fixed my initial problem, however, now when I try to run HDL Coder with the workflow advisor, it can't seem to find the family of FPGAs I am trying to code to. Here is the new set of errors:
Error using hwcli.runWorkflow
Could not apply model's SynthesisTool, SynthesisToolChipFamily, SynthesisToolDeviceName, SynthesisToolPackageName, and/or SynthesisToolSpeedValue settings in Task 1.1 of the HDL
Workflow Advisor for the following reason:
Downstream Integration: Can not find family "Zynq Ultrascale+ RFSoC" in device data
Default settings are applied instead.
If you are using the HDL Workflow Command Line Interface, consider making these changes in the HDL Workflow Advisor and using 'Export to Script...' to automatically generate the
appropriate 'hdlset_param' commands.
Error in hdlcoder.runWorkflow (line 27)
hwcli.runWorkflow( varargin{:} );
Error in buildSubSystemCodeOut (line 186)
hdlcoder.runWorkflow([SubSystem_tb '/' SubSystem_name], hWC);

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Kiran Kintali
Kiran Kintali am 3 Jun. 2020

0 Stimmen

May I know the version of MATLAB you are using?
I wonder if this can occur due to faulty installation of MATLAB or any support packaages. Can you double check if the installation went well?
Thanks

1 Kommentar

This is for MATLAB 2019a. I believe the installation went well. When I type the command 'ver' I get:
MATLAB Version 9.6 (R2019a)
Simulink Version 9.3 (R2019a)
DSP System Toolbox Version 9.8 (R2019a)
Fixed-Point Designer Version 6.3 (R2019a)
HDL Coder Version 3.14 (R2019a)
MATLAB Coder Version 4.2 (R2019a)
Signal Processing Toolbox Version 8.2 (R2019a)

Melden Sie sich an, um zu kommentieren.

Kiran Kintali
Kiran Kintali am 3 Jun. 2020
Bearbeitet: Kiran Kintali am 3 Jun. 2020

0 Stimmen

Glad the solution helped.
It is quite possible the device you are planning to use is not supported in 19a.
You can check this page in your installed version of MATLAB for supported devices.
I can see the above page states Zynq Ultrascale+ is supported in 20a.

1 Kommentar

Ben Kistler
Ben Kistler am 3 Jun. 2020
I can't seem to find if these devices are supported in 19a. HDL Coder seems to have both the Zynq Ultrascale+ and Zynq Ultrascale+ RFSoC devices listed in those options (see associated image), but the documentation doesn't specify the RFSoC support. Is there a place I can check to see if those devices are supported for 19a?

Melden Sie sich an, um zu kommentieren.

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by