Xil_TestDCacheRange - 2022.2 English

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

Perform DCache range related API test such as Xil_DCacheFlushRange and Xil_DCacheInvalidateRange.

This test function writes a constant value to the Data array, flushes the range, writes a new value, then invalidates the corresponding range.

Prototype

s32 Xil_TestDCacheRange(void);

Returns

  • -1 is returned for a failure
  • 0 is returned for a pass