ChipScope Pro Software and Cores User Guide
193
UG029 (v14.3) October 16, 2012
CseCore Tcl Commands
::chipscope::csecore_get_core_status
Retrieves the static status word from the target ChipScope Pro core.
Syntax
::chipscope::csecore_get_core_status handle [list deviceIndex
userRegNumber coreIndex] bitCount
Arguments
Returns
A nested list. The outer list contains two elements: an inner list and a string representing
the core status (in hexadecimal). The inner list contains the following elements:
Note:
An exception is thrown if the command fails.
Example
Get core status of first core connected to ICON core inside fourth device on the second
USER
register.
%set coreRef [list 3 2 0]
%set coreStatus [csecore_get_core_status $handle $coreRef]
Back to list of all CseCore Tcl Commands
Table 5-60:
Arguments for Subcommand ::chipscope::csecore_get_core_status
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
[list
deviceIndex
userRegNumber
coreIndex]
A list containing three elements:
•
Device index (0 to
n
-1) in the
n
-length JTAG chain
•
BSCAN block
USER
register number (starting with 1)
•
Index for core unit. First core unit connected to ICON
has index 0.
bitCount
Length of status word (in number of bits)
Element
Description
manufacturerId
Manufacturer ID (integer)
coreType
Core type (integer)
coreMajorVersion
Core major version (integer)
coreMinorVersion
Core minor version (integer)
coreRevision
Core revision (integer)