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!

AR# 50278

Vivado IP Flows - Is there a way, with Tcl, to determine if an IP core will be delivered with an Example design?

描述

Is there a way, with Tcl, to determine if an IP core will be delivered with an Example design or C-models?

解决方案

The get_property command can be used to get all of the know targets available for an IP in the IP Catalog.

For example, the command "get_property known_targets [get_ipdefs -filter {NAME=~selectio_wiz}]" returns "synthesis example instantiation_template simulation". Therefore, you can see that an example design is available for the Select I/O Wizard IP.

A simple tcl script that will find all IP in the IP catalog that support a particular target type can easily be created.

For example, the script below finds all IP that deliver example targets:

set ipd [get_ipdefs]

for

each ip $ipd {

set known_targets [get_property known_targets $ip]

if { [lsearch $known_targets example] != -1 } {

puts $ip

}

}

You could easily modify the script to find all IP that deliver c-models, etc.

AR# 50278
日期 10/19/2012
状态 Active
Type 综合文章
器件
  • FPGA Device Families
Tools
  • Vivado
的页面