21.13.1.43 read_id_code

Description

This Tcl command reads the ID code of a device. Each device has a unique ID, thereby executing this command returns a hexadecimal value.

Note:

​​Being able to read the IDCODE is an indication that the JTAG interface is working correctly.

read_id_code [-deviceName "device name"]

Arguments

ParameterTypeDescription

deviceName

none

Specify device name. This parameter is optional if only one device is available in the current configuration.

Return TypeDescription

Hexadecimal number

Returns the hexadecimal ID code of the DUT/product.

Error Codes

Error CodeDescription

None

None

Supported Families

PolarFire
PolarFire SoC
SmartFusion 2
IGLOO 2
RTG4

Example

The following command reads the IDCODE from the current configuration:

read_id_code

See Also

  • set_debug_device

  • read_device_status