ChipScope Pro Software and Cores User Guide
173
UG029 (v14.3) October 16, 2012
CseJtag Tcl Commands
::chipscope::csejtag_db lookup_device
This subcommand is used to look up a device in the database using the device
IDCODE
.
Syntax
::chipscope::csejtag_db lookup_device handle idcode
Arguments
Returns
A list in the format:
{deviceName irlen cmd_bypass}
where
deviceName
String containing the name of the device
irlen
Number of bits in the IR of the device
cmd_bypass
String containing the
BYPASS
instruction for the device (usually all ones)
An exception is thrown if the subcommand fails.
Example
Look in the database for the device information belonging to IDCODE
01010101010101010101010101010101
.
%set deviceInfo [::chipscope::csejtag_db lookup_device $handle
“01010101010101010101010101010101”]
Back to list of all CseJtag Tcl Commands
Table 5-41:
Arguments for Subcommand ::chipscope::csejtag_db lookup_device
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
.
idcode
IDCODE
for the desired device.