HDL code Generation creation failed.

Hello,
I got the "HDL code Generation creation failed" error as show in the attached file. I was following the instruction MatLAB tutorial "Basic HDL Code Generation with the Workflow Advisor". The link is "https://www.mathworks.com/help/hdlcoder/examples/basic-hdl-code-generation-with-the-workflow-advisor.html?s_tid=gn_loc_drop".

Antworten (2)

Kiran Kintali
Kiran Kintali am 31 Jan. 2018
Bearbeitet: Kiran Kintali am 31 Jan. 2018

0 Stimmen

hi danny,
This is not reproducible on our end. can you tell us the release you are using and what step in the tutorial you see the error?
please reach out to tech support with reproduction steps. https://www.mathworks.com/support/contact_us.html
best regards, thanks
Danny Tran
Danny Tran am 31 Jan. 2018
Bearbeitet: Image Analyst am 1 Feb. 2018

0 Stimmen

edit mlhdlc_tutorial_hdlcodegen
design_name = 'mlhdlc_sfir';
testbench_name = 'mlhdlc_sfir_tb';
edit('mlhdlc_sfir')
edit('mlhdlc_sfir_tb')
mlhdlc_demo_dir = fullfile(matlabroot, 'toolbox', 'hdlcoder', 'hdlcoderdemos', 'matlabhdlcoderdemos');
mlhdlc_temp_dir ='D:\usr\new\Projects\mlhdlc_sfir'
mlhdlc_temp_dir =
      'D:\usr\new\Projects\mlhdlc_sfir'
cd('D:\usr\new\Projects\')
[~, ~, ~] = rmdir(mlhdlc_temp_dir, 's');
mkdir(mlhdlc_temp_dir);
cd(mlhdlc_temp_dir);
copyfile(fullfile(mlhdlc_demo_dir, [design_name,'.m*']), mlhdlc_temp_dir);
copyfile(fullfile(mlhdlc_demo_dir, [testbench_name,'.m*']), mlhdlc_temp_dir);
mlhdlc_sfir_tb
coder -hdlcoder -new mlhdlc_sfir
ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.713579 (R2017b)
MATLAB License Number: ••••••
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 16299)
Java Version: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB                                                Version 9.3         (R2017b)
Simulink                                              Version 9.0         (R2017b)
Communications System Toolbox                         Version 6.5         (R2017b)
Computer Vision System Toolbox                        Version 8.0         (R2017b)
DSP System Toolbox                                    Version 9.5         (R2017b)
Embedded Coder                                        Version 6.13        (R2017b)
Fixed-Point Designer                                  Version 6.0         (R2017b)
HDL Coder                                             Version 3.11        (R2017b)
HDL Verifier                                          Version 5.3         (R2017b)
Image Processing Toolbox                              Version 10.1        (R2017b)
Instrument Control Toolbox                            Version 3.12        (R2017b)
MATLAB Coder                                          Version 3.4         (R2017b)
RF Blockset                                           Version 6.1         (R2017b)
RF Toolbox                                            Version 3.3         (R2017b)
Signal Processing Toolbox                             Version 7.5         (R2017b)
Simscape                                              Version 4.3         (R2017b)
Simscape Power Systems                                Version 6.8         (R2017b)
Simulink Coder                                        Version 8.13        (R2017b)

The command

"coder -hdlcoder -new mlhdlc_sfir" 

before

"ver" 

command above created the error.

Produkte

Gefragt:

am 31 Jan. 2018

Bearbeitet:

am 1 Feb. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by