Description
This Tcl command copies a device in the chain to the clipboard. Chain programming mode must be set. See the paste_device command for more information.
copy_device -name {name}
Arguments
| Parameter | Type | Description | 
|---|
| name | string | Specifies the device name. You can repeat this argument to copy multiple devices. This paramater is mandatory. | 
| Return Type | Description | 
|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|
| None | Required parameter 'name' is missing. | 
| None | The device with name 'test_name' doesn't exist. | 
| None | Parameter 'param_name' is not defined. Valid command formatting is 'copy_device [-name "name"]+'. | 
Supported Families
            
            | Supported Families | 
|---|
| PolarFire® | 
| PolarFire SoC | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
 
        Example
The example copies the device 'MyDevice1' to the same location with a new name 'MyDevice2'.
copy_device -name {MyDevice1} -name {MyDevice2}