RISC-V API Calls

data_cache_invalidate_all()

Usage void data_cache_invalidate_all(void)
Include driver/vexriscv.h
Description Invalidate whole data cache. Critical to ensure the data coherency between the cache and the main memory.

data_cache_invalidate_address()

Usage void data_cache_invalidate_address(address)
Include driver/vexriscv.h
Description Invalidate the address data cache. Critical to ensure the data coherency between the cache and the main memory.

instruction_cache_invalidate()

Usage void instruction_cache_invalidate(void)
Include driver/vexriscv.h
Description Invalidate the whole instruction cache. Critical to ensure the instruction coherency between the cache and the main memory.
Note: For more information on the usage of the cache invalidation API, see iCacheFlushDemo and dCacheFlushDemo.