Failed to generate the HDL dlhdl
Show older comments
Hello,
I'm using Matlab Deep Learning HDL Toolbox and and trying to generate a custom processor. I'm using Matlab R2023a and Matlab R2023b on Ubunto 20.04 host computer. When I try to build the processor with "dlhdl.buildProcessor(hPC)" I get the following error message:
"Error using dnnfpga.build.DLBitstreamBuild/runBitstreamBuild
Failed to generate the HDL code for the deep learning processor with the following error message:
'Version 22.4.0 of tool Altera QUARTUS II is not supported in HDL Workflow Advisor. If you want to continue using this version, set
'AllowUnsupportedToolVersion' to 'true' and re-run the script. Using incompatible tool version, HDL Workflow Advisor may not be able to run
further tasks'."
I have Quartus Pro 22.4 installed in the computer. Where I can find the compatible Quartus versions with HDL coder?
An additional question, I found in old documentation that dlhdl.Workflow used to support 'ProcessorConfig' option and it was removed in Matlab versions. How I can upload or put the custom processor into the workflow?
Find below the code I'm using.
ToolName = 'Altera Quartus II'; % Options: Altera Quartus II, Xilinx Vivado
ToolPath = '/opt/FPGA/Intel/intelFPGA_pro/22.4/quartus/bin/quartus';
Vendor = 'Intel'; % Option: Intel, Xilinx
Platform = 'arria10soc_single'; % Options: arria10soc_single, arria10soc_int8
ip = '192.168.1.101';
Interface = 'Ethernet';
User = 'root';
Pass = 'cyclonevsoc';
%%
hdlsetuptoolpath('ToolName', ToolName, 'ToolPath', ToolPath);
hTarget = dlhdl.Target(Vendor,'Interface', Interface, ...
'IPAddress', ip,'Username', User, ...
'Password', Pass);
% Create a dnnfpga.ProcessorConfig object.
hPC = dlhdl.ProcessorConfig;
dlhdl.buildProcessor(hPC);
% Create a dnnfpga.Workflow object.
hW = dlhdl.Workflow('network', NN, ...
'Bitstream', Platform, ...
'Target', hTarget);
% Build the processor.
hW.build();
Accepted Answer
More Answers (1)
Ryan Baird
on 11 Oct 2023
0 votes
The supported versions are here:
This page also has the relavent note: "Altera Quartus II refers to the synthesis tool Intel Quartus Prime Standard." Since you are using Quartus Pro, I believe your ToolName should be "Intel Quartus Pro".
Categories
Find more on Deep Learning HDL Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!