190
ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Chapter 5:
ChipScope Engine Tcl Interface
::chipscope::csefpga_get_sys_mon_reg
Reads from a System Monitor register.
Syntax
::chipscope::csefpga_get_sys_mon_reg handle deviceIndex hexAddress
Arguments
Returns
A data value (in hexadecimal) read from the System Monitor DRP register at address
hexAddress
.
An exception is thrown if the command fails.
Example
For the second device in the JTAG chain, read the System Monitor register at address
0x07
.
%set hexOutData [csefpga_get_sys_mon_reg $handle 1 7]
Back to list of all CseFpga Tcl Commands
Table 5-57:
Arguments for Subcommand ::chipscope::csefpga_get_sys_mon_reg
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.
hexAddress
System Monitor DRP register address (in hexadecimal) to
be read from.