Commands to Create IP - 2021.1 English

Vivado Design Suite User Guide: Designing with IP (UG896)

Document ID
UG896
Release Date
2021-07-08
Version
2021.1 English

The create_ip command is used to create IP customizations.

Perform this operation as described in Using the Manage IP Flow. When you create IP with the Manage IP flow, you can subsequently use that IP in Project and Non-Project mode.

The following script shows how to created a manage IP project, create and customize an IP, and generate a DCP:

# Create a Manage IP project
create_project <managed_ip_project> ./managed_ip_project -part <part> -ip
# Set the simulator language (Mixed, VHDL, Verilog)
set_property simulator_language Mixed [current_project]
# Target language for instantiation template and wrapper (Verilog, VHDL)
set_property target_language Verilog [current_project]
# Create an IP customization
create_ip -name c_accum -vendor xilinx.com -library ip -module_name c_accum_0
# configure the parameters for the IP customization
set_property -dict {CONFIG.Input_Width 10 CONFIG.Output_Width 10} [get_ips 
c_accum_0]
# Create a synthesis design run for the IP 
create_ip_run [get_ips c_accum_0]
# Launch the synthesis run for the IP
# Because this is a project, the output products are generated automatically
launch_run c_accum_0_synth_1 
Important: Xilinx recommends project-based flows. Project-based flows can run in either the Vivado IDE or using the Tcl commands.