Chapter 5: ChipScope Engine Tcl Interface
::chipscope::csejtag_tap shift_device_dr
This subcommand is used to shift a stream of bits into and out of the data register of a
particular device the JTAG chain. Device padding is performed by this subcommand by
assuming all non-target devices are in BYPASS mode, then adding the necessary heading
and trailing bits to accommodate for the position of the target device in the chain. For raw
data shifting into the chain DR, see ::chipscope::csejtag_tap shift_chain_dr .
Note:
subcommand before calling this subcommand. This subcommand must be called before
::chipscope::csejtag_tap shift_device_dr
BYPASS
Syntax
Arguments
Table 5-39: Arguments for Subcommand ::chipscope::csejtag_tap shift_device_dr
170
The JTAG target must be locked by using the
mode, otherwise unexpected and unintended results can occur.
::chipscope::csejtag_tap shift_device_dr handle deviceIndex shiftMode
exitState progressCallbackFunc bitCount hextdibuf [-hextdimask
hextdimaskval] [-hextdomask hextdomaskval]
Argument
Type
handle
deviceIndex
shiftMode
exitState
progressCallb
ackFunc
Required
bitCount
hextdibuf
-hextdimask
hextdimaskval
Optional
-hextdomask
hextdomaskval
www.xilinx.com
::chipscope::csejtag_target lock
to ensure all non-target devices as in
Description
Handle to the session that is returned by
::chipscope::csejtag_session create.
Device index (0 to n-1) in the n-length JTAG chain.
{CSJTAG_SHIFT_READ | CSJTAG_SHIFT_WRITE |
CSJTAG_SHIFT_READWRITE)
State to end in after shift is complete
(CSEJTAG_SHIFT_DR if no state change is desired).
Progress callback function that can be used to monitor
progress of JTAG target operations. The format of the
progress callback function is:
proc progressCallbackFunc (handle
totalCount CurrentCount progressStatus)
{...}
The progress callback function must return either
$CSE_STOP or $CSE_CONTINUE. If no progress callback
function is necessary, a 0 should be passed into this
argument position.
Number of bits to shift.
Data buffer that holds the data bits to be written into TDI.
The least-significant bit is shifted into TDI first.
Specifies that a mask word hextdimaskval should be
applied to the data buffer bits before the data is shifted into
the TDI pin of the JTAG TAP.
Specifies that a mask word hextdomaskval should be
applied to the data buffer bits after the data is shifted out
of the TDO pin of the JTAG TAP.
ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Need help?
Do you have a question about the ChipScope Pro and is the answer not in the manual?
Questions and answers