cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
6,336 Views
Registered: ‎08-15-2013

how could i set FREQ_HZ bus parameter in "Package IP->Interface" to global parameter?

Hi, i have a design with axi stream interface, and in order to integrate using IPI(Vivado 2013.2), i have to pack this IP first.

and the FREQ_HZ parameter must be pre-defined(ex. 50MHz).

 

However, the actural system freq could vary and adjust in other zynq project, if the system clk is different from the pre-defined value, error occurs. 

 

if this FREQ_HZ become global parameter, and can be adjusted after packaging with IPI GUI, the entire design flow

would be better and less iteration.

 

is this possible?

 

Owen

0 Kudos
8 Replies
Highlighted
Contributor
Contributor
6,171 Views
Registered: ‎01-22-2014

Hi,

 

I have the same problem.

 

Have you found a solution?

 

Thanks

 

0 Kudos
Highlighted
Scholar
Scholar
6,169 Views
Registered: ‎09-05-2011

Can you check the following AR:
http://www.xilinx.com/support/answers/56610.htm
0 Kudos
Highlighted
Participant
Participant
4,067 Views
Registered: ‎09-17-2014

I have the same problem.  

 

It would be very useful to be able to 

1. define input parameters for the block design module of a project

2. use these parameters for the values of FREQ_HZ in blocks or to pass to submodules

0 Kudos
Highlighted
Teacher
Teacher
4,051 Views
Registered: ‎03-31-2012

please don't post to 2 year old threads. Create a new thread.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos
Highlighted
Scholar
Scholar
4,043 Views
Registered: ‎04-04-2014


@muzaffer wrote:
please don't post to 2 year old threads. Create a new thread.

Even if it's related and helps to keep all relevant responses in the same post? Isn't that more preferable? Sorry if this isn't the accepted approach, but I'm genuinely interested as to why it's better to have a topic scattered over several threads instead of in one?

Highlighted
Explorer
Explorer
3,992 Views
Registered: ‎04-22-2015

I have the same problem.  Tried creating a new thread with the question, that didn't get it answered either.

 

Highlighted
Contributor
Contributor
1,328 Views
Registered: ‎06-27-2016

Apologies for adding a response to a very old thread but I had a similar issue and could not find a solution anywhere.

I am posting here in case anyone else comes across this and needs a painful but effective solution that can be implemented without resorting to manual methods per http://www.xilinx.com/support/answers/56610.htm.

For a situation with many clocks it is tedious to manually apply FREQ_HZ parameters in the IP Packager GUI. Whenever a change is made to the source design, it is obnoxious to have to repeatedly do many manual edits in the IP Packager GUI.

It is possible to use TCL and file editing - with SED or equivalent - to eliminate the need for manual GUI actions.

For my custom IP, generated from a block design and the IP packager, I used IPX TCL console commands similar to this to add the FREQ_HZ parameter to my clocks. In my case I had 16 clocks with names of a form [M|S]_[R|T]X[0-7]_ACLK.

ipx::add_bus_parameter FREQ_HZ [ipx::get_bus_interfaces M_TX0_ACLK -of_objects [ipx::current_core]]

After completing package IP the component.xml file can then be edited to add the FREQ_HZ value.

From this:

<spirit:value spirit:id="BUSIFPARAM_VALUE.M_TX0_ACLK.FREQ_HZ"/>

To this (in my case 156.25Mhz was the desired value):

<spirit:value spirit:id="BUSIFPARAM_VALUE.M_TX0_ACLK.FREQ_HZ">156250000</spirit:value>

Re-editing with the IP Packager will verify that the FREQ_HZ values have been added. Updating the IP in the parent block design and re-running Validate Design will verify elimination of mismatched frequency settings.

I am sure there must be a better way but I couldn't figure one out and at least this allows me to use command line methods rather than manual GUI actions to add and set the FREQ_HZ parameter to my custom IP's clocks.

0 Kudos
Highlighted
Voyager
Voyager
1,196 Views
Registered: ‎03-17-2011

Hi,

It is actually possible. Here are the tcl commands:

ipx::infer_bus_interface clk_125 xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
ipx::add_bus_parameter FREQ_HZ [ipx::get_bus_interfaces clk_125 -of_objects [ipx::current_core]]
set_property value 125000000 [ipx::get_bus_parameters FREQ_HZ -of_objects [ipx::get_bus_interfaces clk_125 -of_objects [ipx::current_core]]]

Regards,

 

--Sebastien