cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
1,163 Views
Registered: ‎09-09-2016

Propagate the update of bd.tcl from a IP design/package to the used IP issue ?

Jump to solution

Hi,

On a user customized IP I've got a problem about propagation of changes of the bd.tcl. When I updated the init{} or propagate{} proc in my IP there were no change in my design using this IP.  Yes I update the IP catalog and upgrade the IP. All other changes were committed (parameters, net, interface,...) but not the bd.tcl content .I removed it or put BIG syntaxe error and there was no complaints. validate_bd_design wasn't affected.

After some while I saw that content of bd.tcl was "included" in a namespace with the IP name and there was indeed no change inside. The content was the initial value of my bd.tcl.

 

Finally I discovered that I have to stop and restart Vivado to get the new bd.tcl content included in the namespace. Closing and reopen project without restarting Vivado have no effect.

 

Is there a "cleaner" way to propagate bd.tcl changes ? Is the job of upgrade tcl and in this case how ?

 

I'm in V2017.3

 

Thanks

1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
1,310 Views
Registered: ‎07-22-2008

I contacted a developer in the IP services group and he said that the bd.tcl files are intentionally not read back in again due to a decision they made dealing with efficiency optimization.

Therefore in his opinion, closing and re-opening Vivado was the correct solution.

View solution in original post

4 Replies
Highlighted
Xilinx Employee
Xilinx Employee
1,311 Views
Registered: ‎07-22-2008

I contacted a developer in the IP services group and he said that the bd.tcl files are intentionally not read back in again due to a decision they made dealing with efficiency optimization.

Therefore in his opinion, closing and re-opening Vivado was the correct solution.

View solution in original post

Highlighted
Observer
Observer
1,072 Views
Registered: ‎09-09-2016
Ok howardp I understand the idea.
May be it would be appreciable to have a notice in the IP development manual (or elsewhere) to inform user of this special procedure that is not coherent with the other steps of IP development where all is very assisted and easy (tanks for the job). As all is simple and work fluently we blame our code and we don't think about an exception in the process. I lost about 2 or 3 days to understand what's happen.
Best regards
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
1,055 Views
Registered: ‎07-22-2008

I've made a request to add a note about this to the documentation.

0 Kudos
Highlighted
Observer
Observer
214 Views
Registered: ‎01-10-2020

For debugging purposes, it may be convenient to know that procedure hooks in bd.tcl are loaded in namespace with name of the IP.

E.g. 

::be.local_user_axi_SomeThing_2.0::post_propagate

One can redefine this procedure without restarting Vivado.

 

0 Kudos