/* This function returns a reference to an XVtc_Config structure based on the core id,  */
XVtc_Config* XVtc_LookupConfig(u16 DeviceId)
/* This function returns a reference to an XVtc_Config structure based on the core id,  */
XVtc_Config* XVtc_LookupConfig(u16 DeviceId)
{
	extern XVtc_Config XVtc_ConfigTable[];
	XVtc_Config *CfgPtr = NULL;
	int i;
	for (i = 0; i < XPAR_XVTC_NUM_INSTANCES; i++) {
		if (XVtc_ConfigTable[i].DeviceId == DeviceId) {
			CfgPtr = &XVtc_ConfigTable[i];
			break;
		}
	}
	return CfgPtr;
}
/** @}