Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

interrupt from sgdma dont arrive when the optimization level is ON

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello

    redefining some variable to be volatile have fixed the problem