Import package pin and port placement information
Syntax
read_csv [‑quiet_diff_pairs] [‑quiet] [‑verbose] <file>
Usage
Name | Description |
---|---|
[-quiet_diff_pairs]
|
Suppress warnings about differential pair inference when importing I/O ports |
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
<file>
|
Pin Planning CSV file |
Categories
Description
Imports port definition and package pin placement information from a comma separated value (CSV) file.
The port definitions in a CSV file can be imported into an I/O Pin Planning project. In a Pin Planning project, importing a CSV file replaces the current port definitions. Any ports in the design that are not found in the imported CSV file will be removed.
In all other projects the port definitions are defined in the source design data, however package pin assignments and port attributes can be read from the specified CSV file.
The ports read from the CSV file can not have spaces in the name, or the tool will return an error. The specific format and requirements of the CSV file are described in the Vivado Design Suite User Guide: I/O and Clock Planning (UG899).
Arguments
-quiet_diff_pairs
- (Optional) The tool transcripts messages related to pins that may be inferred as differential pairs when importing the CSV file. This option suppresses messages related to inferring differential pairs.
-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.
<file>
- (Required) The file name of the CSV file to be imported.
Examples
The following example imports a CSV file into an open project:
read_csv C/Data/pinList.csv
The following example sets up a new IO Pin Planning project, and then imports the specified CSV file into it, and infers any differential pairs in the CSV file:
create_project myPinPlan C:/Data/myPinPlan -part xc7v285tffg1157-1
set_property design_mode PinPlanning [current_fileset]
open_io_design -name io_1
read_csv C:/Data/import.csv
infer_diff_pairs -filetype csv C:/Data/import.csv