ChipScope Pro Software and Cores User Guide
183
UG029 (v14.3) October 16, 2012
CseFpga Tcl Commands
::chipscope::csefpga_get_instruction_reg
Reads the instruction register of the target FPGA device and format the configuration-
specific status bits.
Syntax
::chipscope::csefpga_get_instruction_reg handle deviceIndex bitCount
Arguments
Returns
A list in the format:
{hexReg bitNameBuf}
where:
hexReg
String containing the register value (in hexadecimal).
bitNameBuf
A comma separated list of strings that represent configuration register bit names.
An exception is thrown if the command fails.
Example
Read the contents of the configuration register of the third device in the JTAG chain.
%set InstReg [csefpga_get_instruction_reg $handle 2 $DeviceBitCount]
Back to list of all CseFpga Tcl Commands
Table 5-50:
Arguments for Subcommand
::chipscope::csefpga_get_instruction_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.
bitCount
Length of the configuration register (in bits)