- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ran:
$ time ~/software/intelFPGA_pro/19.2/hld/bin/aoc -v -fpc -fp-relaxed kernel2.cl -o kernel2.aocx -board=s10gx
aoc: Environment checks are completed successfully.
aoc: Cached files in /var/tmp/aocl/daniel may be used to reduce compilation time
You are now compiling the full flow!!
aoc: Selected target board s10gx
aoc: Running OpenCL parser....
aoc: OpenCL parser completed successfully.
aoc: Linking Object files....
aoc: Optimizing and doing static analysis of code...
Error: Optimizer FAILED.
Refer to kernel2/kernel2.log for details.
Contents of kernel2/kernel2.log are:
Compiler Command: aoc -v -fpc -fp-relaxed kernel2.cl -o kernel2.aocx -board=s10gx
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We tried adding the -high-effort flag but got the same results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How long does it take from when you run the command until you receive the error? If it takes more than an hour, then your kernel is likely too complex for the compiler to process. The "-high-effort" is for placement and routing and will not affect your case; your kernel compilation is failing in the OpenCL to HDL conversion step, not placement and routing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Then try reducing your design complexity. You can also test 19.3 to see if the same problem will still occur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can try to update to Quartus Prime Pro 19.3.
If the problem still persist please tell me as well.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the Quartus 19.3.
I am getting the same error. The code works for emulation.
However while compilation Optimizer failed.
Probably I have to reduce the complexity of code.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page