174
ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Chapter 5:
ChipScope Engine Tcl Interface
::chipscope::csejtag_db get_device_name_for_idcode
This subcommand is used to get the name of a device in the database using the device
IDCODE
.
Syntax
::chipscope::csejtag_db get_device_name_for_idcode handle idcode
Arguments
Returns
A string containing the device name.
An exception is thrown if the subcommand fails.
Example
Look in the database for the name of the device belonging to
IDCODE
01010101010101010101010101010101
.
%set deviceName [::chipscope::csejtag_db get_device_name_for_idcode
$handle “01010101010101010101010101010101”]
Back to list of all CseJtag Tcl Commands
Table 5-42:
Arguments for Subcommand ::chipscope::csejtag_db
get_device_name_for_idcode
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
.
idcode
IDCODE
for the desired device.