在完成ZYNQPL与PS数据交互实验中,采用BRAM方式,其中自定义IP核ps_pl_bram_rd。然而当自定义IP核封装完毕以后并没有在对应的文件夹中生成driver文件,所以也没有.h与.c文件,导致后续vitis导入.xsa文件时,并没有生成对应的BSP板级支持包。
下图可见ps_pl_bram_rd并没有找到driver文件,
经过多方了解大部分视频教程sdk版本,在一些论坛上了解到vitis2020.1会出现这种bug,在2020.2中运行不会出现问题。最后在xilinx官网找到响应文档,在自定义IP核时,当IP核是AXI总线模式就会出现这种情况。
xilinx官网指南:AMD Customer Community
SOLUTION
For the 2020.1 version, the work-around is to create the AXI4 peripheral IP in the 2019.2 release and add the custom IP repository in Vivado 2020.1.
Users can then edit the IP in Vivado 2020.1 using "Edit in IP Packager" by right-clicking the added custom IP from the IP catalog. They should now see the software driver file group in Vivado 2020.1.
This issue is fixed in Vivado 2020.2.
综合以上建议,直接更换vitis2020.2版本。