05-27-2015 12:39 PM - edited 05-27-2015 01:31 PM
Sorry to ask a question that may be simple to some, but I can't find a solution anywhere.
I use Vivado 2014.4 wizard to create a custom IP. All fine. Now I want to edit this IP and package it with an different version.
I choose "Edit in IP packager" in the IP Catalog and this creates a project for the existing IP.
I do the editing and then when I go to re-package the design I don't find any way to change the root directory.
This is supposed to change from myip_1.0 to myip_2.0 for examlpe. Chnaging the version from 1.0 to 2.0 doesn't change the root directory:
What is the correct way of creating a new version of an IP?
I think I found the answer in ug1118 and I don't like it:
To save a specific version of your IP prior to re-packaging, the recommended flow is to manually copy the packaged IP directory contents to a new location.
Anyone has a better idea?
05-27-2015 11:16 PM - edited 05-27-2015 11:18 PM
@benradu The one in the user guide is the only way and recommended one.
Read the note.
IMPORTANT: The IP packager does not automatically archive and save previous versions of custom IP. Each time the IP is re-packaged, the IP location overwrites the data with the newer version of the IP. So if you would like to maintain both the versions of your ip you should manually copy the packaged IP directory contents to a new location.
05-28-2015 03:14 AM
When you do "Edit in IP packager" and repackage the IP, the revision number is changed (incremented) automatically. So when you open a project which uses this old IP the tool will prompt you to upgrade the IP.
Why do you want to change the root directory?
05-28-2015 06:15 AM - edited 05-28-2015 08:12 AM
According to Vivado IP versioning here:
the three version levels are meant to be used for showing how significant the changes are.
So Major and Minor may need to be changed, and when you do so, the root directory has to change as well to match the two numbers. It would be nice to have an easy way to create a new version of an IP. I though that this is what the Package IP window is for:
When you type a new version in the version box, all other files, especially the root directory should change automatically.
Thank you for your help!
10-02-2015 07:18 AM - edited 10-02-2015 07:22 AM
It would be really great if Xilinx would put more effort in (vido) tutorials that show how to do this in practice. look at the forums how many people are struggling with the basic stuff in Vivado.
The IP Packager has like 3 options (package project, directory, ...) but it's far from clear which method to use when.
It would be great if a video would just show how to build a simple custom IP, integrate this one in another (application) project. Then you modify something to the custom IP, but keep both versions. Re-package. Update the application with the new IP. Also showing how to revert to the previous version. It would really help a lot of people.
Then another tutorial should show how to re-use this IP on multple projects, and how to version control this IP and application projects.