04-26-2018 07:27 AM
Is there a way in Vivado/SDK to import a newly exported hardware (i.e. Top.hdf) into SDK without having to close SDK and relaunching it? My usual flow when I have a new hardware design in Vivado is to:
1. Launch SDK, delete the existing top_hardware in project-explorer.
2. Close SDK.
3. In Vivado export hardware including bitstream (generating a Top.hdf).
4. Launch SDK from Vivado which opens the new hardware in project explorer.
I was just wondering if I could avoid step 2 where I have to close SDK, and step 4 where I have to relaunch it. I was hoping I could keep SDK open, export hardware from Vivado, and then somehow in SDK import the new hardware.
04-26-2018 07:46 AM
Ideally, you should be able to update the hw without closing SDK.
However, there was a known issue in 2017.2. Please go through https://www.xilinx.com/support/answers/69489.html
04-26-2018 07:53 AM
04-26-2018 03:15 PM
As mentioned above, there is an issue with the 2017.2 version of the tools. In other versions of the tool, you should be able to leave SDK open when you export the hardware in Vivado. Once the HDF file is exported, SDK should see it and ask you if it is ok to import into the project. If the new HDF file is different from the previous HDF file, the hardware platform project should automatically update. You may need to "Regenerate" the BSP and then clean the application projects.
04-26-2018 03:20 PM
Thanks for the response. I just tried that where I deleted the hw_platform from the Project Explorer in SDK, and then went to Vivado and did a hardware export and nothing happened in SDK. If I exit out of SDK and then relaunch it from Vivado then it will show up of course.
04-26-2018 03:27 PM
You shouldn't need to delete the hw_platform. It should get updated with the new HDF.
You can also create a new hw_platform by:
File -> New -> Other...
04-26-2018 03:46 PM