192
ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Chapter 5:
ChipScope Engine Tcl Interface
CseCore Tcl Commands
The following CseFpga Commands are described in detail in this section:
•
::chipscope::csecore_get_core_count
•
::chipscope::csecore_get_core_status
•
::chipscope::csecore_is_cores_supported
::chipscope::csecore_get_core_count
Gets the number of cores attached to an ICON core that is in the target FPGA device and
attached to a particular USER scan chain register.
Syntax
::chipscope::csecore_get_core_count handle deviceIndex userRegNumber
Arguments
Returns
The number of cores.
An exception is thrown if the command fails.
Example
Get the number of cores attached to the ICON core in the
USER3
register of the third device
in the JTAG chain.
%set coreCount [csecore_get_core_count $handle 2 3]
Back to list of all CseCore Tcl Commands
Table 5-59:
Arguments for Subcommand ::chipscope::csecore_get_core_count
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.
userRegNumber
BSCAN block
USER
register number (starting with 1)