21.12.4 cut_device

Description

This Tcl command removes one or more devices from the chain. It places the removed device in the clipboard. Chain programming mode must be set to use this command. See the paste_device command for more information.

cut_device -name {name}

Arguments

ParameterTypeDescription
namestringSpecifies the device name. You can repeat this argument for multiple devices.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneThe device with name 'device_name' doesn't exist.
NoneRequired parameter 'name' is missing.
NoneParameter 'param_name' is not defined. Valid command formatting is 'cut_device [-name "name"]+'.

Supported Families

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

Example

The following example removes the devices 'MyDevice1' and 'MyDevice2' from the chain.

cut_device -name {MyDevice1} -name {MyDevice2}

See Also

  • paste_device