- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to maping add and multiplication calculation to FPGA logic element, not DSP unit in AOC environment !
In my project(most are added and multiplication calculation ) , the DSP unit used is more than 100%, but the logic element only 24% used . when the DSP is about 100%, it appear error while compile the AOCX file. So i want FPGA logic do the part of the calculation, not all by DSP???
Any compile guide or document for this ??
Thanks in advance !
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Newer versions of the compiler will automatically map integer operations to logic when DSP overutilization is detected by the compiler. However, as far as I know, this will never happen with floating-point operations. I am pretty sure I opened a ticket with Intel Premiere Support a long time ago (before Intel acquired Altera) requesting a new feature to be added to the compiler to give programmers control over which math operations are mapped to DSPs and which are mapped to logic but as you can see, such functionality is still not available. Hence, I am afraid there is no straightforward way to fix your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HRZ:
Thanks for your reply!
my aocl environment is :
AOCL VERSION: aocl 19.1.0.240 (Intel(R) FPGA SDK for OpenCL(TM), Version 19.1.0 Build 240 Pro Edition, Copyright (C) 2019 Intel Corporation)
data type : uchar (8 bit)
- 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
hi cpchan
thanks for your help!
my coding is opencl, the kernel is *.cl file , not verilog HDL or any IP, the aocl compiler translate to DSP or logic by itself !
maybe any "compiler command" can help to do this when DSP over-utilization in theory , but i don't know the "compiler command"
- 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
Hi cpchan
- For logic lock , it's OK for quartus, but i don't know how to use in aocl command in linux , if used in quartus, how to update to aocl ? any guide for this ?
- for "duplicating a new Forum case and for the OpenCL inquiry", where can i issue such kind topic in community forums? to which module ?
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One reference example to avoid mapping MACs into the DSPs is the PipeCNN (you can find it on Github). They have wrapped their specific MAC, which is written in VHDL, into an OpenCL function. When you use this MAC function, you can see that it is only using FFs and LUTs, instead of DSPs.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi cpchan
Sorry , cpchan , it confused me !
"You can try to refer to the example by Saman. " who is Saman ??? SBioo or not ??
if so , i will get it from Github!
if not , could you give me the example ??? i will try
Thank you very much !!
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page