21.12.11 paste_device

Description

This Tcl command pastes the devices that are on the clipboard in the chain, immediately above the <position_name> device, if this parameter is specified. Otherwise it places the devices at the end of the chain. The chain programming mode must be enabled.

paste_device [-position_name {position name}]

Arguments

ParameterTypeDescription
position_namestringOptional argument that specifies the name of a device in the chain.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'position_name' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'paste_device [-position_name "position_name"]'.

Supported Families

Supported Families
PolarFire®
PolarFire SoC
RTG4
SmartFusion® 2
IGLOO® 2

Example

The following example pastes the devices on the clipboard immediately above the device 'MyDevice' in the chain.

paste_device -position_name {MyDevice}

See Also

  • copy_device
  • cut_device