UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer fred@adapteva
Observer
14,088 Views
Registered: ‎07-23-2014

IP Packager not updating revision on changes?

Greetings,

 

I've been using Vivado 14.3 for a few weeks now, under Ubuntu 14.04.  It's been working pretty well.  Starting today there has been a change in the design flow, I don't know why it's changed but it's got me stalled at the moment.  

 

I am creating a number of IP blocks and then connecting them together into a large block hierarchical diagram that then has a testbench around it for verification.  When I find I need to make a change to one of my IP blocks I open an editing project I saved for that specific block, make my changes, go through all the packaging steps until all the checkmarks are green, then press the "RePackage IP" button.  It claims the design has been re-packaged.

 

Then back to my large project I first refresh all the IP repositories, run the IP status report, it picks up the new revisions, and I upgrade the changed modules.  This seems like a lot of work especially if I only changed one like of Verilog, but it has been working for me for a few weeks.

 

Starting yesterday when I press "RePackage IP" it reports success, but my downstream project does not see any change to the library module.  If I open the component.xml file for the module the revision number (<xilinx:coreRevision>) has not changed, in fact it doesn't look like the xml file has been changed at all.

 

Hmmm, if I touch e.g. a parameter default and re-package again, the new default is saved to component.xml~, not component.xml where I was looking for it.  But still the revision has not changed, so even if I save that to component.xml and go back to my testbench now I get "incompatible IP" because the source is different but the revision is the same.

 

I have to think I've bumped some setting somewhere that caused this change in behavior, but I don't know what or where to look.

 

Any help appreciated!

7 Replies
Contributor
Contributor
13,973 Views
Registered: ‎08-30-2011

Re: IP Packager not updating revision on changes?

I had the same problem. Very frustrating. Changes made to the source VHDL is not reflected in the IP Packager. Also the icon that is supposed to appear to perform this update does not appear. Also, there is no "Generate output products" because this is an RTL project. But I did get it work as follows:

 

Project Description and Conditions:
----------------------------------------------

  1. I am using Vivado 2014.4
  2. This is a simple RTL module for which I created a repository in the local .srcs directory by running "Create and Package IP".
  3. When I make a change to the source VHDL and run "Repackage-IP', the changes is not reflected. (For this test I changed the input ports which is easily seen.

Fix:

  1. In "Package IP" window select "Ports and Interfaces".
  2. Right click in window and select "Import IP Ports" and "OK".
  3. For me the list of ports that appear in this window changed immediately confirming that the IP Packager reintergrated/merged the change. No need here to generate output files.

Hey Xilinx: What is the permanent fix to this issue???

 

Michael Stamler

Xicore Research Ltd.

 

Tags (2)
0 Kudos
Adventurer
Adventurer
13,628 Views
Registered: ‎08-31-2009

Re: IP Packager not updating revision on changes?

I've also seen this exact same problem,  if I recall at least as far back as 2012.3. Michael's work around worked for me. But why does this bug persist?

 

Charlie

 

0 Kudos
Xilinx Employee
Xilinx Employee
13,597 Views
Registered: ‎09-20-2012

Re: IP Packager not updating revision on changes?

Hi Charlie,

 

Which OS are you using? and what is the Vivado version?

 

Is it possible to share the test project for investigation?

 

Thanks,

Deepika.

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
Contributor
Contributor
12,700 Views
Registered: ‎08-30-2011

Re: IP Packager not updating revision on changes?

I came across this post again because I ran into the same problem again. 

 

Same situation:

1. I have a small RTL project with one simple file

2. I synthesize it to check for errors

3. I generate IP from Tools menu 

4. I use this as an IP respository IP in another project OK

5. I update the IP core RTL but changes are not sensed by the IP packager.

 

So I applied my own fix as described in my 2011 post and it updates locally. But when I regenerate the IP core it is not updated in the main project. I refreshed the repositories there but still no potatoes.

 

To fix the problem I had to delete the IP core instance and then instantiate a new one. Then I saw the update.

 

Is there an easier way to do this?

 

BR

Michael Stamler

 

0 Kudos
Adventurer
Adventurer
12,683 Views
Registered: ‎05-29-2014

Re: IP Packager not updating revision on changes?

On 2015.5 (windows 7 64 bit) I have a similar problem. If I enable the "create archive of IP" option, then the changes in the version, files, interfaces are saved in the component.xml file and the IP is generated correctly. But if I disable the option, then no modification is done to the xml file.

How to solve this problem? Is it a bug?

 

0 Kudos
Visitor blackforest
Visitor
12,235 Views
Registered: ‎06-24-2015

Re: IP Packager not updating revision on changes?

The problem of not updating the IP revision number correctly when re-packaging an IP seen to happen since Vivado 2015.1 (and still in 2015.2). In Vivado 2014.4 it was however working.

 

Comparing the Tcl commands output on the Tcl console between version 2014.4 and 2015.2 reveals that the ipx::* commands which are called when the "Re-package IP" button is hit have been changed. 

 

2014.4:

 

        ipx::update_ip_instances -delete_project true

 

2015.2:

 

        ipx::create_xgui_files [ipx::current_core]

        ipx::update_checksums [ipx::current_core]

        ipx::save_core [ipx::current_core]

        close_project -delete

 

While the ipx::update_ip_instances command does increment the IP revision number, the others used in 2015.2 do not.

An SR for this issue has been filed (#10315423).

 

Possible workaround: Run "ipx::update_ip_instances" in the Tcl console instead of hitting the "Re-package IP" button. 
(I'm not sure if you need to run any of the 2015.2 ipx::* commands before, but I don't think so.)

 

Hope this helps. 

 

 

0 Kudos
Visitor blackforest
Visitor
12,158 Views
Registered: ‎06-24-2015

Re: IP Packager not updating revision on changes?

Alternatively, you could also manually increment the core revision by 1 with the following command (before hitting the "Re-package IP" button):

 

    set_property core_revision [expr [get_property core_revision [ipx::current_core]] + 1] [ipx::current_core]

0 Kudos