在修改vivado工程,添加新的模块后,没有自动生成驱动,xparameters.h和BSP中的libsrc均没有正确生成驱动。
点击Modify this BSP‘s Settings
可以看到,新加入的axi_bram的驱动是none。
点击Driver列的下选框,选择bram或generic都会有以下错误
An error has occurred. See error log for more details.(SwPlatform) Failed to call setDriver
Reason: ERROR: [Common 17-55] 'set_property' expects at least one object.
Resolution: If [get_<value>] was used to populate the object, check to make sure this command returns at least one valid object.