182
ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Chapter 5:
ChipScope Engine Tcl Interface
::chipscope::csefpga_get_config_reg
Reads the configuration register bits of the target FPGA device.
Syntax
::chipscope::csefpga_get_config_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 ConfigReg [csefpga_get_config_reg $handle 2 $DeviceBitCount]
Back to list of all CseFpga Tcl Commands
Table 5-49:
Arguments for Subcommand ::chipscope::csefpga_get_config_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)