162
ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Chapter 5:
ChipScope Engine Tcl Interface
::chipscope::csejtag_tap set_device_idcode
This subcommand sets the
IDCODE
for a given device in the current JTAG chain. Passing a
null string indicates the device does not support the
IDCODE
instruction.
Note:
The JTAG target must be locked by using the
::chipscope::csejtag_target lock
subcommand before calling this subcommand. Also, the device count must be set prior to calling this
subcommand using the
::chipscope::csejtag_tap set_device_count
.
Syntax
::chipscope::csejtag_tap set_device_idcode handle deviceIndex idcode
Arguments
Returns
An exception is thrown if the subcommand fails.
Example
Set the IDCODE of the device at index 0 to
01010101010101010101010101010101
.
%::chipscope::csejtag_tap set_device_idcode $handle 0
“01010101010101010101010101010101”
Back to list of all CseJtag Tcl Commands
Table 5-34:
Arguments for Subcommand ::chipscope::csejtag_tap
set_device_idcode
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
.
deviceIndex
Device index (0 to
n
-1) in the
n
-length JTAG chain.
idcode
A 32-character string of ones and zeros
representing the 32-bit
IDCODE
of the device.