ChipScope Pro Software and Cores User Guide
185
UG029 (v14.3) October 16, 2012
CseFpga Tcl Commands
::chipscope::csefpga_get_user_chain_count
Determines the number of
USER
scan chain registers in the target FPGA device.
Syntax
::chipscope::csefpga_get_user_chain_count handle idcode
Arguments
Returns
The number of
USER
scan chain registers in the device (0 if the device does not have any
USER
scan chain registers).
An exception is thrown if the command fails.
Example
Get the number of USER scan chain registers supported by the device to which $idcode
refers.
%set numUserRegs [csefpga_get_user_chain_count $handle $idcode]
Back to list of all CseFpga Tcl Commands
Table 5-52:
Arguments for Subcommand
::chipscope::csefpga_get_user_chain_count
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
.
idcode
IDCODE
for the desired device.