SXian3
New Contributor
5 years agoQuartus failed to compile Verilog code generated by AOC compiler
Environment:
Intel vLab servers quipped with Stratix-10 PAC. Software: Quartus Pro 18.1.2 with patches + acceleration stack d5005_ias_2_0_pv
I was trying to compile a simple OpenCL program into verilog using AOC, make some changes and then use Quartus to generate bitstream from it. Here is the command I used:
# generate RTL with AOC
aoc -rtl gemm.cl -board=pac_s10_dc
# change to work directory
cd gemm
# run the shell scripts under build folder
source build/run.shThe error message I got from Quartus when running the last command as followed. Quartus failed to open the qsys file.
Info: Performing IP Generation using the command line: /export/fpga/tools/quartus_pro/18.1.2_patches_202_203_206/quartus/sopc_builder/bin/qsys-generate {--family=Stratix 10} --part=1SX280HN2F43E2VG --block-symbol-file --quartus-pro
ject=/homes/sx233/test/gemm/build/dcp --rev=afu_default --top-level-generation=true --synthesis=verilog --parallel=off kernel_system.qsys
Error: Error opening /homes/sx233/test/gemm/build/kernel_system.qsys.When I logged out and run the command again, I got a different error message:
Info: Command: quartus_sh -t add_bbb_to_pr_project.tcl
Info: Using INI file /homes/sx233/test/gemm/build/quartus.ini
Error (125036): Assignment value SUPERIOR PERFORMANCE WITH MAXIMUM PLACEMENT EFFORT for assignment OPTIMIZATION_MODE is illegal File: /homes/sx233/test/gemm/build/afu_default.qsf Line: 49
Info (125063): set_global_assignment -name OPTIMIZATION_MODE "SUPERIOR PERFORMANCE WITH MAXIMUM PLACEMENT EFFORT" File: /homes/sx233/test/gemm/build/afu_default.qsf Line: 49
Info (125076): Specified assignment value "OPTIMIZATION_MODE" must include one of the following values: "Aggressive Area", "Aggressive Performance", "Aggressive Power", "Balanced", "High Performance Effort", "High Power Effort
"
Error (125091): Tcl error: ERROR: Illegal assignment name: IP_TOOL_VENDOR_NAME. Specify a legal assignment name. To view the list of legal assignment names, run "get_all_assignment_names".