02-14-2019 06:57 AM - edited 02-14-2019 07:20 AM
Hi,
As I know, to clean a project should be enough to reset runs as explained here:
https://forums.xilinx.com/t5/Design-Entry/How-to-clean-project/td-p/384077
However, due to some tests, I noticed that resetting runs is not enough, at least with Vivado 2018.3.
This is the following test I have done to claim this:
1) I created a design where the AXI DMA is configured as Scatter Gathered (SG) mode, I have generated the bitstream and then I have exported the hardware design to XSDK. The XAxiDma_HasSg(InstancePtr) reports correctly that the AXI DMA is configured with SG.
2) After step 1), I have modified the AXI DMA's options disabling the SG mode through the IP customization window. I deleted the hardware wrapper from XSDK, I re-created the design HDL wrapper, reset and re-generated the output products, reset runs, generate a new bitstream and finally I re-exported the hardware from Vivado to XSDK. AFter all these steps, the XAxiDma_HasSg(InstancePtr) still returns that the AXI DMA is configured with SG Mode, wich is contradictory to what I have done (disabling it).
Due to this simple issue I noticed after disabling a simple option, I think that the Vivado system is not 100 % reliable about project cleaning.
So what is the correct and reliable way to RESET or CLEAN the current project, even after some hrdware changes ?
Please suggest a solution.
Regards,
simozz
02-14-2019 07:29 AM
There may be a better way now, but looking at the link you provided, the post given 'after' the accepted solution offers some more complete removal steps.
Hope that helps
If so, please mark as solution accepted. Kudos also welcomed. :-)
02-14-2019 08:09 AM
What solution are you referring to ? Removing the runs directory content ?
In this case this does not solve the problem, neither removing the content of the design diagram into the srcs directory.
02-14-2019 08:15 AM
In the link you provided, there was an 'accepted solution' (marked by the gray box) which appears to be insufficient... However, the post just below that one that says... You can right click on a completed process run and select "reset xxx run" and then select "Delete the generated files in the working directory". You can also manually remove the runs directory e.g. sim_1, synth_1.
02-14-2019 08:21 AM - edited 02-14-2019 08:57 AM
02-19-2019 01:20 PM
Hi @simozz,
I think the issue is that the exported HW might be getting saved in the SDK workspace and not being updated.
Could you try to go into your project directory and delete the <project_name>.sdk folder?
After that you can export HW again and open the SDK to see if it got updated.
Thanks,
02-20-2019 07:18 AM - edited 02-21-2019 01:20 AM
Hello @anunesgu,
Today I could not reproduce the problem. Without erasing the sdk folder it didn't mismatch as described in the 1st post.
I'd not like to have done a lot of confusion...