06-24-2014 12:05 AM
I have created a custom IP in IP repository. Then I instantiated the IP into a block design. After that, I made some changes to the IP's HDL files in the repository.
How do I get Vivado to update its local copy of the IP from the repository again?
06-27-2014 01:23 AM
Right click on "design_1" block design and click on "reset output procucts" followed by "generate output products".
06-24-2014 12:08 AM - edited 06-24-2014 12:24 AM
Refresh the IP repository and regenerate the IP output products. Check if the HDL changes are replicated in IP sources.
Another way of editing the user IP is right click on the user IP in block design and select "Edit in IP Packager". This opens IP Packager project, make HDL changes and repackage IP. This closes the IP Packager project and the original project will be updated automatically.
06-24-2014 12:11 AM
Next Review and Package the IP, by clicking on the Re-Package Button.In the project, Reset Output Products, and Re-Generate Output Products, and Generate the Top level HDL wrapper.(Attached screenshot)
Hope this helps.
06-24-2014 07:42 PM
I followed your instructions and it generated new HDL files within my project.
However, it seems the previous version HDL files are retained. Vivado copies my_custom_ip's HDL files from repository into project's local directory, under a randomly generated folder name. The path is like this:
When I regenerated the outputs, Vivado simply generated a new randomly-named folder and placed the new HDL files into it. It does not delete the original randomly-named folder.
1) How am I sure that Vivado uses the new HDL files to generate outputs, when both HDL folders are randomly named?
2) What is the intention of using a randomly named folder to house IP HDL files?
3) Must I retain the old randomly-named folder for Vivado to work properly? Can I delete it?
4) If I don't delete old randomly-named folders, can I tell which is the current one being used to generated the outputs simply by looking at the random string?
06-27-2014 12:06 AM
I tried several times. Your method does not work.
From within my project, I selected my IP and ran <Edit in IP Packager>. Vivado prompts me to create a project in the same directory as the IP in order to work on the IP, so I followed. I modified the IP's HDL file in repository by simply adding white spaces and saving. Finally I went to "Review and Package" and ran <Re-Package IP>. Then I was returned to the original project automatically.
In my project "IP Status" window, I ran <Rerun> to refresh. and "Current Version" show an increment in the "Rev. " numbering. The changes to HDL files are not reflect in the local copies held in folder "myproject.src/sources_1/ipshared/xilinx.com/myip_
I ran <Reset Runs> on Synth_1 and <Run Implementation> to completion. Again the changes to HDL files are not reflect in the local copies held in folder "myproject.src/sources_1/ipshared/xilinx.com/myip_
Did I miss out anything?
06-27-2014 12:11 AM
Did you regenerate the User IP files in original project after coming back from "Edit in IP Packager"?
Can you check the RTL files from with in the project (Sources --> IP sources) window?
06-27-2014 12:21 AM
How do you regenerate User IP files in original project?
I cannot see RTL files from Sources->IP Sources. The top level for my IP inside this window is myip.xci. When I double click on this XCI file, a dialog box pops up "Open the Block Design first to re-customize this IP". It does not open a RTL file.
06-27-2014 12:23 AM
Right click on IP and select "generate output products". Even after this u dont see the files, attach snapshot here.
06-27-2014 12:47 AM
Right click on the block design in IP sources tab as shown below.