XilinxProcessorIPLib/drivers/aiengine/src/lib/xaielib.c
u32 XAieLib_NPIRead32(u64 Addr)
{
#ifdef __AIESIM__
	return XAieSim_NPIRead32(Addr);
#elif defined __AIEBAREMTL__
        return Xil_In32(Addr);
#else
	return XAieIO_NPIRead32(Addr);
#endif
}
/*****************************************************************************/
/**
*
* This is the NPI IO function to read 32bit data from the specified address.
*
* @param	Addr: Address to read from.
*
* @return	32-bit read value.
*
* @note		This only work if NPI is accessble.
*
*******************************************************************************/
This is the NPI IO function to read 32bit data from the specified address.
This is the NPI IO function to read 32bit data from the specified address .
u32 XAieLib_NPIRead32(u64 Addr)
{
#ifdef __AIESIM__
	return XAieSim_NPIRead32(Addr);
#elif defined __AIEBAREMTL__
        return Xil_In32(Addr);
#else
	return XAieIO_NPIRead32(Addr);
#endif
}
u32 XAieLib_NPIRead32 ( u64 Addr ) { #ifdef __AIESIM__ return XAieSim_NPIRead32 ( Addr ) ; #elif defined __AIEBAREMTL__ return Xil_In32 ( Addr ) ; #else return XAieIO_NPIRead32 ( Addr ) ; #endif }
This is the NPI IO function to read 32bit data from the specified address.
This is the NPI IO function to read 32bit data from the specified address .