XilinxProcessorIPLib/drivers/aiengine/src/lib/xaielib.c
void XAieLib_NPIWrite32(u64 Addr, u32 Data)
{
	XAieLib_NPISetLock(0);
#ifdef __AIESIM__
	XAieSim_NPIWrite32(Addr, Data);
#elif defined __AIEBAREMTL__
        Xil_Out32(Addr, Data);
#else
	XAieIO_NPIWrite32(Addr, Data);
#endif
	XAieLib_NPISetLock(1);
}
/*****************************************************************************/
/**
*
* This is the NPI IO function to write 32bit data to the specified address.
*
* @param	Addr: Address to write to.
* @param	Data: 32-bit data to be written.
*
* @return	None.
*
* @note		This only work if NPI is accessble.
*
*******************************************************************************/
This is the NPI IO function to write 32bit data to the specified address.
This is the NPI IO function to write 32bit data to the specified address .
void XAieLib_NPIWrite32(u64 Addr, u32 Data)
{
	XAieLib_NPISetLock(0);
#ifdef __AIESIM__
	XAieSim_NPIWrite32(Addr, Data);
#elif defined __AIEBAREMTL__
        Xil_Out32(Addr, Data);
#else
	XAieIO_NPIWrite32(Addr, Data);
#endif
	XAieLib_NPISetLock(1);
}
void XAieLib_NPIWrite32 ( u64 Addr , u32 Data ) { XAieLib_NPISetLock ( 0 ) ; #ifdef __AIESIM__ XAieSim_NPIWrite32 ( Addr , Data ) ; #elif defined __AIEBAREMTL__ Xil_Out32 ( Addr , Data ) ; #else XAieIO_NPIWrite32 ( Addr , Data ) ; #endif XAieLib_NPISetLock ( 1 ) ; }
This is the NPI IO function to write 32bit data to the specified address.
This is the NPI IO function to write 32bit data to the specified address .