Import an IP file and add it to the fileset
Syntax
import_ip [‑srcset <arg>] [‑name <arg>] [‑quiet] [‑verbose] [<files>]
Returns
list of file objects that were added
Usage
Name | Description |
---|---|
[-srcset]
|
(Optional) Specifies the source file set containing the objects to be upgraded Default: The current source fileset Values: Source set name |
[-name]
|
(Optional) Specifies a replacement name for the imported IP; may not be used with multiple files. Default: The current name for the imported IP Values: The new name for the imported IP |
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
[<files>]
|
Names of the IP files to be imported Values: A list of XCI (and/or XCO) file name(s) |
Description
Adds an existing XCI or XCO file as an IP source into the current project, and copies it into the local project directory structure.
The import_ip
command allows you to read existing IP files directly, and copy them into the local project folders. Use the read_ip
or add_files
command to add IP files by reference into the current project.
Use the create_ip
command to create new IP files from the current IP catalog.
Arguments
-srcset
<arg> - (Optional) Specifies the source file set to import the IP files into. If not specified, the default source file set is sources_1.
-name
<arg> - (Optional) The name to assign to the IP object as it is added to the current source fileset. This option can only be used when a single file is specified in <files>.
-quiet
- (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose
- (Optional) Temporarily override any message limits and return all messages from this command.
set_msg_config
command.Examples
import_ip C:/Data/FPGA_Design/10gig_eth.xci -name IP_block1