User XVC 1.0 Commands - 2022.2 English

Vivado Design Suite User Guide: Programming and Debugging (UG908)

Document ID
UG908
Release Date
2022-10-19
Version
2022.2 English

The XVC 1.0 Protocol commands are summarized in the following table

Table 1. Description of XVC Commands
Command Description
getinfo

Command format:

getinfo:

This command gets the XVC Service version. The service returns the following string when it receives "getinfo:"

xvcServer_v1.0:<xvc_vector_len>\n

<xvc_vector_len> is the max width of the vector that can be shifted into the service.

shift

Command format:

shift:[num bits][tms vector][tdi vector]

This command shifts in num_bits using the byte vectors tms_vector and tdi_vector

num_bits is an integer in little-endian mode.

This represents the number of TCK clk toggles needed to shift the vectors out.

tms_vector is a byte sized vector with all the TMS shift bits.

Bit 0 in Byte 0 of this vector is shifted out first.

The vector is num_bits and rounds up to the nearest byte.

tdi_vector is like tms_vector but this represents all the tdi vectors to be shifted in.

This command returns a byte vector of the same size as tms_vector with the corresponding tdo bits sampled for every bit shifted in.

Bit 0 in Byte 0 of this vector is the first tdo value read from the shift

settck

Command format:

settck:[period]

This command attempts to set the service tck period to [period].

[period] is specified in ns.

This is a little-endian integer value

This command returns the applied period when it completes settck:.

Returned value is specified in ns.

This is a little-endian integer value