Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12652 Discussions

interrupt from sgdma dont arrive when the optimization level is ON

Altera_Forum
Honored Contributor II
1,113 Views

Hello  

I have a c design that request packets from a qsys component .  

The packets pass through a sgdma and are returned on DDR memory 

The sgdma create an interrupt when finish to pass each packets 

 

When the optimization level is turned on , the interrupt dont arrive  

Can anybody help on this ? 

 

Thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
386 Views

Hello 

 

redefining some variable to be volatile have fixed the problem
0 Kudos
Reply