ChipScope Pro Software and Cores User Guide
151
UG029 (v14.3) October 16, 2012
CseJtag Tcl Commands
::chipscope::csejtag_target get_pin
This subcommand retrieves the value of a JTAG TAP pin for a previously opened and
locked JTAG target device.
Note:
The JTAG target must be locked by using the
::chipscope::csejtag_target lock
subcommand before calling this subcommand.
Syntax
::chipscope::csejtag_target get_pin handle pin
Arguments
Returns
JTAG TAP pin value {1=set, 0=clear}
An exception is thrown if the subcommand fails.
Example
Get the current value of the TDO pin.
%set value [::chipscope::csejtag_target set_pin $handle $CSEJTAG_TDO]
Back to list of all CseJtag Tcl Commands
Table 5-23:
Arguments for Subcommand ::chipscope::csejtag_target get_pin
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
.
pin
JTAG TAP pin identifier
{$CSEJTAG_TMS | $CSEJTAG_TCK
| $CSEJTAG_TDI | $CSEJTAG_TDO}
.