Swap two locations
Syntax
swap_locs [‑quiet] [‑verbose] <aloc> <bloc>
Usage
Name | Description |
---|---|
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
<aloc>
|
First location (port/cell/site - should be of same type as 'bloc') |
<bloc>
|
Second location (port/cell/site - should be of same type as 'aloc') |
Categories
Description
Swaps the LOC constraints assigned to two similar logic elements. A logic element is an element that can be placed onto a device resource on the FPGA.
Some DRC checking is performed when the swap_locs
command is executed to ensure that the two selected elements can in fact be assigned to their new locations. If the location of either element is invalid for any reason, the swap_locs
command will fail and an error will be returned.
Arguments
-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.<aloc> - (Required) The location of the first logic element to swap. This can be specified as a port, a cell, or a device site.
<bloc> - (Required) The location of the second logic element to swap. This can be specified as a port, a cell, or a device site. This must match the type specified by the <aloc> variable.
Examples
swap_locs [get_sites {OLOGIC_X2Y1}] [get_sites {OLOGIC_X2Y0}]