ChipScope Pro Software and Cores User Guide www.xilinx.com 175
UG029 (v14.3) October 16, 2012
CseJtag Tcl Commands
::chipscope::csejtag_db get_irlength_for_idcode
This subcommand is used to get the IR length of a device in the database using the device
IDCODE.
Syntax
::chipscope::csejtag_db get_irlength_for_idcode handle idcode
Arguments
Returns
A string containing the size of the IR (in bits).
An exception is thrown if the subcommand fails.
Example
Look in the database for the IR length of the device belonging to IDCODE
01010101010101010101010101010101.
%set irlen [::chipscope::csejtag_db get_irlength_for_idcode $handle
“01010101010101010101010101010101”]
Back to list of all CseJtag Tcl Commands
Table 5-43: Arguments for Subcommand ::chipscope::csejtag_db
get_irlength_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.