Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
892 Views

[COMPILE] Error: DSP Builder

Hi again! 

 

I get an error when tying to compile with the flag -c: 

aoc -v -c cluster_k.cl 

then: 

Internal Error: DSP Builder for Intel(R) FPGAs - Advanced Blockset Internal Restriction: 'm_startVec.size() > 0' in commonBackend::EnumerateLatencyConstraints::Private::beginSetIteration at p4/ip/aion/src/mip_common/latency_constraint_iterator.cpp:268.  

Error: DSP Builder for Intel(R) FPGAs - Advanced Blockset Internal Restriction: 'm_startVec.size() > 0' in commonBackend::EnumerateLatencyConstraints::Private::beginSetIteration at p4/ip/aion/src/mip_common/latency_constraint_iterator.cpp:268.  

 

the line that is causing this error is: 

b2 = ceil(components * tolerance); 

 

components is an integer that is incremented through a loop, tolerance is a constant double. 

Whats the problem with the above line? (Also b2 is integer) 

 

Thanks in advance 

0 Kudos
5 Replies
Altera_Forum
Honored Contributor I
111 Views

This looks like a bug in the compiler. Try the latest version of Quartus, v17.1. If you still got the same error, open a support ticket with Altera and report it.

Altera_Forum
Honored Contributor I
111 Views

 

--- Quote Start ---  

This looks like a bug in the compiler. Try the latest version of Quartus, v17.1. If you still got the same error, open a support ticket with Altera and report it. 

--- Quote End ---  

 

 

from the specification, they say that the return value and arguments must be of the same type.. 

 

https://www.khronos.org/registry/opencl/sdk/2.0/docs/man/xhtml/ceil.html 

 

So i changed it and no problem. Thanks HRZ :cool:
Altera_Forum
Honored Contributor I
111 Views

Excuse me, could you tell me how to open a support ticket with Altera? I met a same question with you.  

Thank you very much!
Altera_Forum
Honored Contributor I
111 Views

Excuse me, could you tell me how to open a support ticket with Altera? I met a same question whether Quartus 16.0 or 17.0 can solve the error.  

Thank you very much!
Altera_Forum
Honored Contributor I
111 Views

 

--- Quote Start ---  

Excuse me, could you tell me how to open a support ticket with Altera? I met a same question whether Quartus 16.0 or 17.0 can solve the error.  

Thank you very much! 

--- Quote End ---  

 

 

Go to altera.com, create an account, log in, and open a service request.
Reply