Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

Data cache flush guaranteed to complete before returning?

Altera_Forum
Honored Contributor II
802 Views

Hi, 

 

I'm working with a multi nios-ii implementation where there is a shared off-chip memory bank. Access to the shared memory is protected with a mutex across the CPUs and the DCACHE is enabled on the processors. If I call alt_flush_cache() before releasing the mutex am I guaranteed that the flush was actually completed before the alt_flush_chache() call returns (as opposed to just informing the dcache but not waiting for it to complete the flush back to memory)? 

 

Thanks!
0 Kudos
0 Replies
Reply