XilinxProcessorIPLib/drivers/aiengine/src/lib/xaielib.c
u32 XAieLib_AssertNonvoid(u8 Cond, const char *func, const u32 line)
{
	if(!Cond)
		XAieLib_print("Assert: %s, line %d\n", func, line);
#ifdef __AIEBAREMTL__
	Xil_AssertNonvoid(Cond);
#else
	assert(Cond);
#endif
	return 0;
}
/*****************************************************************************/
/**
*
* This asserts if the condition doesn't meet.
*
* @param	Cond: Condition to meet. Should be 0 or 1.
*
* @return	0
*
* @note		None.
*
*******************************************************************************/
This asserts if the condition doesn't meet.
This asserts if the condition doesn ' t meet .
u32 XAieLib_AssertNonvoid(u8 Cond, const char *func, const u32 line)
{
	if(!Cond)
		XAieLib_print("Assert: %s, line %d\n", func, line);
#ifdef __AIEBAREMTL__
	Xil_AssertNonvoid(Cond);
#else
	assert(Cond);
#endif
	return 0;
}
u32 XAieLib_AssertNonvoid ( u8 Cond , const char * func , const u32 line ) { if ( ! Cond ) XAieLib_print ( " \n " , func , line ) ; #ifdef __AIEBAREMTL__ Xil_AssertNonvoid ( Cond ) ; #else assert ( Cond ) ; #endif return 0 ; }
This asserts if the condition doesn't meet.
This asserts if the condition doesn ' t meet .