Assert APIs and Macros - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
Release Date
2021.1 English

This file contains basic assert related functions for Xilinx software IP.

The xil_assert.h file contains assert related functions and macros.

Assert APIs/Macros specifies that a application program satisfies certain conditions at particular points in its execution. These function can be used by application programs to ensure that, application code is satisfying certain conditions.

Table 1. Quick Function Reference
Type Name Arguments
void Xil_Assert
  • const char8 * File
  • s32 Line
void Xil_AssertSetCallback
  • Xil_AssertCallback Routine
void XNullHandler
  • void * NullParameter