Problems with hardware accelerator memory access

Re: Problems with hardware accelerator memory access

by Herman Kristian Dieset -
Number of replies: 0

Hi!

Thank you for your reply. I've corrected the connection in qsys to


In C, I've tried two things. Defining the variables as unsigned int in the main loop, which gave the console output presented in the first post. Then I tried defining them globally, as shown here:


The addresses differ, but the read value from memory is still zero. I also tried defining them globally with the volatile keyword, but got the same result. Do I need to define the variables in another way? 

Best regards,

Herman Dieset