![]() |
bram
Vitis Drivers API Documentation
|
Implements the XBram self-test.
The implementation of the XBram driver's self test function. This SelfTest is only applicable if ECC is enabled. If ECC is not enabled then this function returns XST_SUCCESS. See xbram.h for more information about the driver.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a sa 11/24/10 First release 3.01a sa 01/13/12 Changed Selftest API from XBram_SelfTest(XBram *InstancePtr) to XBram_SelfTest(XBram *InstancePtr, u8 IntMask) and fixed a problem with interrupt generation for CR 639274 Modified Selftest example to return XST_SUCCESS when ECC is not enabled and return XST_FAILURE when ECC is enabled and Control Base Address is zero (CR 636581) Modified Selftest to use correct CorrectableCounterBits for CR 635655 Updated to check CorrectableFailingDataRegs in the case of LMB BRAM. 3.02a sa 04/16/12 Added test of byte and halfword read-modify-write 3.03a bss 05/22/13 Added Xil_DCacheFlushRange in InjectErrors API to flush the Cache after writing to BRAM (CR #719011) 4.3 aru 04/09/19 Used UINTPTR instead of u32 for Addr in XBram_SelfTest() 4.5 mn 04/12/20 Resolve build warnings for ARMCC toolchain 4.15 vn 07/30/26 Fix Doxygen warnings
4.15 tb 09/15/26 Align Doxygen comments with AMD standards.
Functions | |
| int | XBram_SelfTest (XBram *InstancePtr, u8 IntMask) |
| Runs a self-test on the BRAM driver and device. More... | |