View RSS Feed

niciki's blog

[Vivado 18.2] IP Packager TCL commands missing for interface parameters values

Rate this Entry
The problem:
In Vivado 2018.2 in the IP Packager, when we want to set a value for any interface parameter, we won't get any TCL commands in the Tcl Console.
This is probably a bug in the Vivado 2018.2.

The following images visualize the problem:

Click image for larger version. 

Name:	01_Edit_Interface.png 
Views:	316 
Size:	19.4 KB 
ID:	147090 Click image for larger version. 

Name:	02_Edit_Interface_parameters_missing.png 
Views:	237 
Size:	28.3 KB 
ID:	147091

Click image for larger version. 

Name:	03_Edit_Interface_adding_parameters.png 
Views:	247 
Size:	33.4 KB 
ID:	147092 Click image for larger version. 

Name:	04_Edit_Interface_adding_parameters.png 
Views:	248 
Size:	33.0 KB 
ID:	147093

Click image for larger version. 

Name:	05_Edit_Interface_adding_values.png 
Views:	262 
Size:	30.1 KB 
ID:	147094 Click image for larger version. 

Name:	06_Tcl_Console_doesnt_contain_values.png 
Views:	236 
Size:	11.2 KB 
ID:	147095

The solution:
I managed to find these missing TCL commands :)
You may copy them and edit for your needs if you want:
Code:
ipx::add_bus_parameter ASSOCIATED_BUSIF [ipx::get_bus_interfaces AXI_CLK -of_objects [ipx::current_core]]
ipx::add_bus_parameter FREQ_HZ [ipx::get_bus_interfaces AXI_CLK -of_objects [ipx::current_core]]
set_property value M_AXI [ipx::get_bus_parameters ASSOCIATED_BUSIF -of_objects [ipx::get_bus_interfaces AXI_CLK -of_objects [ipx::current_core]]]
set_property value 250000000 [ipx::get_bus_parameters FREQ_HZ -of_objects [ipx::get_bus_interfaces AXI_CLK -of_objects [ipx::current_core]]]
------------------------------------------------------
Is this blog entry helpful or does it need an improvement?
Please leave the comment below.

Updated 20th September 2018 at 06:52 by niciki

Tags: None Add / Edit Tags
Categories
Xilinx Vivado Workarounds , Vivado , IP , Interface , TCL

Comments