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++

how can i bypass cache

Altera_Forum
Honored Contributor II
904 Views

how can i make my onchip mem be uncached when accessed? 

i searched the forum, there are several methods: 

bit31, ldwio/stwio, and dcache_flush function, 

but how were them used? 

i tried them but failed? 

can someone give me a detailed example? 

thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
200 Views

Hello sjtuj, 

 

A lot of information about the Nios II cache functions can be found in the “Nios II Software Developer’s Handbook”. I think chapter 7 “Cache & Tightly-Coupled Memory” will bring you further. 

 

http://www.altera.com/literature/lit-nio2.jsp (http://www.altera.com/literature/lit-nio2.jsp

 

Best regards, 

niosIIuser
0 Kudos
Reply