Return to previous page Advance to next page
FPGA Editor Guide
Chapter 3: Using the FPGA Editor

Moving and Swapping Components and Macros

Use the Swap command to move a placed component to an unused site, to move a placed macro to an unused series of sites, or to swap the locations of two placed components.

Moving Components

To move a component to an unused site, perform the following steps. In this procedure, the component you are moving must be a placed component. Steps 1 and 2 can be done in either order.

  1. Select the component you want to move.

  2. Select the unused site to which you want to move the component.

    The component and the site must be the same type of block: IOB and IOB, or CLB and CLB.

  3. Select Edit Swap.

The component moves to the unused site. If Automatic Routing is On, the component is routed after it is placed.

Moving Macros

Moving macros is described in the “Moving Macros in Your Design” section of the “Working with Physical Macros” chapter.

Swapping Components

To swap the locations of two components, perform the following steps.

Note: The components you are swapping must both be placed components.

  1. Select one of the components to swap.

  2. Select the second component.

    Both components must be the same type of block: IOB and IOB, or CLB and CLB.

  3. Select Edit Swap.

The two components are unrouted, and their locations are switched. If Automatic Routing is Off, the components remain unrouted after the swap, even if they were routed before the swap. If Automatic Routing is On, the two components are routed after they are swapped.

Swapping Component Pins

You can also use the Swap command to swap pins on a component. You can swap pins on all Xilinx devices.

The FPGA Editor only allows you to swap pins that are permitted for the mode in which the component is programmed. When the pins are swapped, the internal component logic is modified to match the new pin positions.

To swap component pins, perform the following steps.

  1. Select the two pins you want to swap.

  2. Select Edit Swap.

The two pins are unrouted, and their locations are switched. If Automatic Routing is Off, the pins remain unrouted after the swap, even if they were routed before the swap. If Automatic Routing is On, the two pins are routed after they are swapped. The programming of the component changes to reflect the pin swap.