Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs
487 Discussions

Error (23035) Tcl error running dla_build_example_design.py script

RubenPadial
New Contributor I
3,597 Views


Hello,

I got this error when I run "dla_build_example_design.py" esample script with Intel FPGA AI suite. It is run according to the "Intel FPGA AI Suite SoC Design Example User Guide" and it should be executed even the license was not valid. According to documentation if the ir no license available, bitstreams should be compiled but with limited inferences. However, I am not able to compile it.
"
nfo: Command: quartus_cpf -c --hps -o bitstream_compression=on output_files/top.sof output_files/top.rbf
Error (213009): File name "output_files/top.sof" does not exist or can't be read
Error: Quartus Prime Convert_programming_file was unsuccessful. 1 error, 0 warnings
Error: Peak virtual memory: 721 megabytes
Error: Processing ended: Mon Sep 11 12:38:19 2023
Error: Elapsed time: 00:00:00
Error: System process ID: 517860
Error (23035): Tcl error: ERROR: Error(s) found while running an executable. See report file(s) for error message(s). Message log indicates which executable was run last.

while executing
"execute_module -tool cpf -args "-c --hps -o bitstream_compression=on output_files/top.sof output_files/top.rbf""
(file "generate_sof.tcl" line 5)
------------------------------------------------
ERROR: Error(s) found while running an executable. See report file(s) for error message(s). Message log indicates which executable was run last.

while executing
"execute_module -tool cpf -args "-c --hps -o bitstream_compression=on output_files/top.sof output_files/top.rbf""
(file "generate_sof.tcl" line 5)
------------------------------------------------
Error (23031): Evaluation of Tcl script generate_sof.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 8 errors, 745 warnings
Error: Peak virtual memory: 1037 megabytes
Error: Processing ended: Mon Sep 11 12:38:19 2023
Error: Elapsed time: 00:21:00
Error: System process ID: 513901
Error: A license needed by one or more of the IP components in the design was not found. Contact Intel if you wish to obtain a license for the Intel FPGA AI Suite.
Command Failed quartus_sh -t generate_sof.tcl
"
--

OpenVino version: 2022.3

Intel FPGA AI Suite version: 2023.2

Device: Intel Arria 10 SoC FPGA

OS: Ubuntu 20.04
Labels (1)
0 Kudos
31 Replies
JohnT_Intel
Employee
2,296 Views

Hi,


Can you provide the full Quartus compilation report? May I know if you have Quartus license?



0 Kudos
RubenPadial
New Contributor I
2,292 Views

Hello @JohnT_Intel,

Yes, I have a Quartus license. Could you tell me where it is saved Quartus compilation report by default?

0 Kudos
JohnT_Intel
Employee
2,292 Views

Hi,


It should be in "dla\<build dir>\hw\output_files"


Thanks


0 Kudos
RubenPadial
New Contributor I
2,284 Views

Hello @JohnT_Intel 

Here you are. I edited the files so as not to spread license information.

0 Kudos
JohnT_Intel
Employee
2,284 Views

Hi,


From the report, it looks like you do not have Nios V IP license.


You can check on asm.rpt file.

 Warning (115005): Unlicensed IP: "Nios V Soft Processor FPGA IP - M Core (6AF7 D036)"


0 Kudos
RubenPadial
New Contributor I
2,268 Views

Hello @JohnT_Intel ,

I've noticed the warning, but it's important to clarify that it's a warning and not an error. I haven't found any mention of the need for a Nios V license in the Intel FPGA AI Suite documentation. Specifically, neither the 'Intel FPGA AI Suite IP Reference Manual,' the 'Intel FPGA AI Suite SoC Design Example User Guide,' nor the 'Intel FPGA AI Suite: Getting Started Guide' states that a Nios V license is required. These documents mention the need for an Intel FPGA AI Suite license to compile the bitstream and Intel Quartus Pro, but not a Nios V license.

0 Kudos
JohnT_Intel
Employee
2,268 Views

Hi,


The Nios V is needed when you are performing AI Suite with streaming method. Usually, Nios V will be part of the Quartus license.


Below is the warning related to the sof file not generated.

Warning (115003): Can't generate programming files for your current project because you do not have a valid license for the following IP core or cores.


0 Kudos
RubenPadial
New Contributor I
2,097 Views

Hi @JohnT_Intel

Thank you for the clarification.

I got the Nios V-m license and I have another error while compiling. I am no able to find the rootcause. It seems a license error but I cannot find which one. Log files are attached to this mail. However, 4_A10_M2M profile was successfully compiled.

0 Kudos
JohnT_Intel
Employee
2,087 Views

Hi,


It looks like theree is some issue with your license.


Beklow is the error which is still targetting Nios V License


Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/opcode_def.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/alu.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/instr_decoder.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/lsu.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/nios_top.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/reg_file.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/csr.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/interrupt_handler.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/shift_module.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/mult_module.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/instr_prefetch.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/instruction_buffer.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_timer_msip_110/synth/timer_msip.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_dbg_mod_110/synth/dm_def.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_dbg_mod_110/synth/dm_jtag2mm.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_dbg_mod_110/synth/dm_top.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_dbg_mod_110/synth/debug_module.sv'

Warning (292000): FLEXlm software error: Bad message command. Feature:    6AF7_D036 License

Error (13223): Verilog HDL or VHDL error: cannot open Verilog file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_dbg_mod_110/synth/debug_rom.sv'


0 Kudos
RubenPadial
New Contributor I
2,082 Views

Hello @JohnT_Intel 

Thank you for your support. The message shows some issue with license but the message is not clear. I have the Intel® FPGA IP IP-NIOSVM license. Is there any other license needed?

 

Could you remove the confidential license information you shared in the previous message?

0 Kudos
JohnT_Intel
Employee
2,080 Views

Hi,


  1. 6AF7_D036 License issue.
  2. Please check if the file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/opcode_def.sv' is generated? It looks like missing from your design.

0 Kudos
RubenPadial
New Contributor I
2,055 Views

Hello @JohnT_Intel,

  1. 6AF7_D036 License issue. --> Is that the "Intel® FPGA IP IP-NIOSVM" license?
  2. Please check if the file 'qsys/ip/dla/dla_niosv_0/intel_niosv_m_unit_2141/synth/opcode_def.sv' is generated? It looks like missing from your design. --> Yes, that file was generated like the other files reported in the error messages. Find "intel_niosv_m_unit_2141.zip" file attached to this message. "My design" is the SoC Design Example. I'm only trying to reproduce it.
0 Kudos
JohnT_Intel
Employee
2,051 Views

Hi,


You can check your Quartus license for this ID. I am not seeing this ID in my Quartus license.


I do not observed any attachment


0 Kudos
RubenPadial
New Contributor I
2,047 Views

Hello @JohnT_Intel 

Sorry, now intel_niosv_m_unit_2141.zip file is attached.

Find below and screenshot of the NIOS V license status in quartus license manager.

RubenPadial_0-1696499219759.png

 

0 Kudos
JohnT_Intel
Employee
2,047 Views

Hi,


The file is just qsys generateed file. May I know what is the step that I can performed to duplicate your issue?


Or how do you add the AI Suite design into your project?


0 Kudos
RubenPadial
New Contributor I
2,046 Views

Hello  @JohnT_Intel 

I'm currently assesing Intel FPGA AI suite use in my project. You can reproduce the issue executing SoC Design example "3.3.2. Building the FPGA Bitstreams":

 

"

dla_build_example_design.py \
-ed 4_A10_S2M \
-n 1 \
-a \
$COREDLA_ROOT/example_architectures/A10_Performance.arch \
--build \
--build-dir \
$COREDLA_WORK/a10_perf_bitstream \
--output-dir $COREDLA_WORK/a10_perf_bitstream

"

 

 

 

0 Kudos
JohnT_Intel
Employee
1,998 Views

Hi,


It looks like there might be some issue with your license which cause it not able to compile the design..


Below is the output if you have the license.


0 Kudos
RubenPadial
New Contributor I
1,987 Views

Hello @JohnT_Intel,

That's the initial question. I realized there's a licensing error after activating the Nios V license, but I'm unable to pinpoint the root cause. Is there any other license required?

We seem to be stuck at the same point after exchanging 11 messages. I realy appreciate your support, but it would be very helpful if we could schedule a meeting or discuss this via email. Is that possible?

0 Kudos
JohnT_Intel
Employee
1,987 Views

Hi,


How do you add the Max V license? Iit looks like the file might not be fully working as it does not understand the Max V license.


0 Kudos
RubenPadial
New Contributor I
1,982 Views

Hello @JohnT_Intel,

 

It is a floating license. In the Quartus license manager, it appears to be working properly, as you can see in the screenshot I shared some messages before. Is there any problem with using a floating license?

0 Kudos
Reply