21.12.14 set_device_ir

Description

This Tcl command sets the IR length of a non-Microchip device in the chain. Chain programming mode must be set. The device must be a non-Microchip device.

set_device_ir -name {device name} -ir {integer value}

Arguments

ParameterTypeDescription
namestringSpecifies the non-Microchip device name.
irintegerSpecifies the IR length greater than or equal to 2.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'name' is missing.
NoneRequired parameter 'ir' is missing.
Noneir: Invalid argument value: 'value' (expecting integer value).
NoneParameter 'ir' must be greater than or equal to 2.
NoneParameter 'name' has illegal value.
NoneThe device with name 'device_name' doesn't exist.
NoneThe device 'device_name' is an Microchip device. The command 'set_device_ir' only applies to non-Microchip devices.
NoneParameter 'param_name' is not defined. Valid command formatting is 'set_device_ir -name "name" -ir "integer value"'.

Supported Families

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

Example

The following example sets the IR length to '2' for the non-Microchip device 'MyDevice':

set_device_ir -name {MyDevice} -ir {2}