最近在摸索怎么在Xilinx上实现SOPC,有诸多疑问。目前的情况是能够跑一下流水灯。目前有这么些疑问:
关于模版文件中使用的函数:
int UartLiteSelfTestExample(u16 DeviceId)
{
int Status;
/*
* Initialize the UartLite driver so that it is ready to use.
*/
Status = XUartLite_Initialize(&UartLite, DeviceId);
if (Status != XST_SUCCESS) {
return XST_FAILURE;
}
/*
* Perform a self-test to ensure that the hardware was built correctly.
*/
Status = XUartLite_SelfTest(&UartLite);
if (Status != XST_SUCCESS) {
return XST_FAILURE;
}