oneapi-src / oneapi-src/oneAPI-samples

C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile not working in 23.1 ver.

Open
#1,616 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
1.2k
Forks
745
PR merge metrics
No merged PRs in 30d

Description

Summary

I am trying fpga_recompile example and recently upgraded to Quartus Prime Pro 23.1.
I used Quartus 22.2 previously and it successfully generated .a file with the command below.

icpx -fsycl -fintelfpga -fsycl-link=image kernel.cpp -o dev_image.a -Xshardware -Xstarget=agilex -I ../../../../include/ -Xsv

Now in dev_image.prj/quartus_sh_compile.log, it goes all the way through Timing Analysis, but it raises an error below.


Info: *******************************************************************
Info: Running Quartus Prime Shell
    Info: Version 23.1.0 Build 115 03/30/2023 SC Pro Edition
    Info: Processing started: Thu May  4 11:21:10 2023
    Info: System process ID: 1707255
Info: Command: quartus_sh -t generate_report.tcl compile quartus_compile quartus_compile
Info: Quartus(args): compile quartus_compile quartus_compile
Info: Clock clock
Info:   Period: 1.000
Info:   Restricted Fmax from STA: 693.0
Info: Get Quartus Fitter Resource Utilization: family: Agilex 7
Error: Found 0 entrie(s) that matches the component name: dev_image_di_inst, this will cause reporting issue!
Error (23031): Evaluation of Tcl script generate_report.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
    Error: Peak virtual memory: 1023 megabytes
    Error: Processing ended: Thu May  4 11:21:11 2023
    Error: Elapsed time: 00:00:01
    Error: System process ID: 1707255
Error (21794): Quartus Prime Full Compilation was unsuccessful. 4 errors, 987 warnings
Error: Flow compile (for project /tmp/kernel-542df3-ee329b/quartus_compile) was not successful
Error: run_flow flow:run1 finished: 0 Failed
Error (23031): Evaluation of Tcl script /home/dopark/intelFPGA_pro/23.1/quartus/common/tcl/internal/qsh_flowengine.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 11 errors, 989 warnings
    Error: Peak virtual memory: 1032 megabytes
    Error: Processing ended: Thu May  4 11:21:16 2023
    Error: Elapsed time: 00:06:13
    Error: System process ID: 1703848

In 22.2 ver., the log looks like below.

Info: *******************************************************************
Info: Running Quartus Prime Shell
    Info: Version 22.2.0 Build 94 06/08/2022 SC Pro Edition
    Info: Processing started: Sun Mar 19 15:44:58 2023
    Info: System process ID: 3048907
Info: Command: quartus_sh -t generate_report.tcl compile quartus_compile quartus_compile
Info: Quartus(args): compile quartus_compile quartus_compile
Info: Clock clock
Info:   Period: 1.000
Info:   Restricted Fmax from STA: 693.0
Info: Clock clock2x
Info:   Period: 0.500
Info:   Restricted Fmax from STA: 5000.0
Info: Get Quartus Fitter Resource Utilization: family: Agilex
Info (23030): Evaluation of Tcl script generate_report.tcl was successful
Info: Quartus Prime Shell was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 998 megabytes
    Info: Processing ended: Sun Mar 19 15:44:59 2023
    Info: Elapsed time: 00:00:01
    Info: System process ID: 3048907
Info (21793): Quartus Prime Full Compilation was successful. 0 errors, 723 warnings
Info (23030): Evaluation of Tcl script /home/dopark/intelFPGA_pro/22.2/quartus/common/tcl/internal/qsh_flowengine.tcl was successful
Info: Quartus Prime Shell was successful. 0 errors, 725 warnings
    Info: Peak virtual memory: 1006 megabytes
    Info: Processing ended: Sun Mar 19 15:45:04 2023
    Info: Elapsed time: 00:04:39
    Info: System process ID: 3047125

Version

23.1

Environment

Ubuntu 20.04

Steps to reproduce

In C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src, run the command below.
icpx -fsycl -fintelfpga -fsycl-link=image kernel.cpp -o dev_image.a -Xshardware -Xstarget=agilex -I ../../../../include/ -Xsv

Observed behavior

na

Expected behavior

na

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src with kernel.cpp and reproduce the command using Quartus Prime 23.1. Inspect the generated dev_image.prj/quartus_sh_compile.log and generate_report.tcl, comparing them with the reported 22.2 output. Done means the fast_recompile example produces dev_image.a without the dev_image_di_inst reporting error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.