Block RAM Driver - 2025.1 English - UG1629

MicroBlaze V Processor Reference Guide (UG1629)

Document ID
UG1629
Release Date
2025-07-09
Version
2025.1 English

The standalone BSP block RAM driver is used to access the ECC registers in the LMB BRAM Interface Controller, and also provides a comprehensive self test.

By implementing the Vitis platform C project Peripheral Tests, a self-test example including the block RAM self test for each LMB BRAM Interface Controller in the system is generated. Depending on the ECC features enabled in the LMB BRAM Interface Controller, this code performs all possible tests of the ECC function. See the Vitis Unified Software Platform Documentation Landing Page (UG1416) for more information.

The self-test example can be found in the standalone BSP block RAM driver source code, typically in the sub-directory microblaze_riscv_0/libsrc/bram_v4_7/src/xbram_selftest.c.