Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Bus Error

Altera_Forum
Honored Contributor II
1,733 Views

Hi, 

I am currently working on an OpenCL application with multiple kernels targeted to Altera FPGA. 

Upon execution, the application breaks with an error message " bus error ". 

In order to trace the place of error I just added certain print statements. 

To my surprise after the addition of the print statements, the execution completed without printing any error message. 

Can anyone Explain this behavior? 

How should I handle this error in case I confront it again in future ? 

 

Also I find the message " cvp failed " coming up even for sample vector addition application. 

Is there a way to tackle this error ? 

 

 

Thanks
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
977 Views

Which version of the tools are you using and are you sure the flash on your board has been configured? Did this issue appear after being able to successfully run kernels on the same board in the past?

0 Kudos
Altera_Forum
Honored Contributor II
977 Views

Hi  

I am using Altera version 13.0sp1. 

Ya Im sure the flash is configured. 

For the sample codes I dint get any bus error. But I get CVP failed error 

But for the multikernel implementation, I get both the bus error as well as Cvp Failed error 

 

 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
977 Views

Try running "aocl diagnostic". Also is 13.0SP1 the first version you have ever used or have you used earlier versions like 13.0 in the past? Have you always recieved a bus/CvP failed error or did this just start happening recently? 

 

Also if you are using a Nallatech board and might have a flash image older than 13.0SP1 you might want to try these instructions: http://www.alteraforum.com/forum/showthread.php?t=41749
0 Kudos
Altera_Forum
Honored Contributor II
977 Views

Hi 

I ran the aocl diagnostic command. I get DIAGNOSTIC_PASSED Message at the end. 

I did follow the instructions specified in the aforementioned link to set up the altera environment.  

The CvP failed error has been happening for all the applications that have tried executing, including the altera samples. 

The bus error happens only with the multi kernel application. And the error disappears if I introduce intermediate prints between the kernel calls 

Yes 13.0Sp1 is the first version that I have ever used. 

 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
977 Views

Sorry about the delay, which board are you using?

0 Kudos
Altera_Forum
Honored Contributor II
977 Views

 

--- Quote Start ---  

Hi 

I ran the aocl diagnostic command. I get DIAGNOSTIC_PASSED Message at the end. 

I did follow the instructions specified in the aforementioned link to set up the altera environment.  

The CvP failed error has been happening for all the applications that have tried executing, including the altera samples. 

The bus error happens only with the multi kernel application. And the error disappears if I introduce intermediate prints between the kernel calls 

Yes 13.0Sp1 is the first version that I have ever used. 

 

Thanks 

--- Quote End ---  

 

 

Have you make progress in this issue? Thanks!
0 Kudos
Reply