ChipScope Pro Software and Cores User Guide
157
UG029 (v14.3) October 16, 2012
CseJtag Tcl Commands
::chipscope::csejtag_tap get_device_count
This subcommand is used to get the number of devices in the current JTAG chain.
Note:
The JTAG target must be locked by using the
::chipscope::csejtag_target lock
subcommand before calling this subcommand.
Syntax
::chipscope::csejtag_tap get_device_count handle
Arguments
Returns
The number of devices in the chain.
An exception is thrown if the subcommand fails.
Example
Obtain the number of devices in the JTAG chain.
%set deviceCount [::chipscope::csejtag_tap get_device_count $handle]
Back to list of all CseJtag Tcl Commands
Table 5-29:
Arguments for Subcommand ::chipscope::csejtag_tap
get_device_count
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
.