Xil_Assert - 2021.1 English

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

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

Implement assert.

Currently, it calls a user-defined callback function if one has been set. Then, it potentially enters an infinite loop depending on the value of the Xil_AssertWait variable.

Note: None.

Prototype

void Xil_Assert(const char8 *File, s32 Line);

Parameters

The following table lists the Xil_Assert function arguments.

Table 1. Xil_Assert Arguments
Name Description
File filename of the source
Line linenumber within File

Returns

None.