10GBASE-KR Ethernet TRD
78
UG1058 (v2017.1) April 19, 2017
Chapter 5:
Reference Design Details
•
type of request
indicates the type of request and it can either be:
°
s
which specifies a single register read request, or
°
b
which specifies a bulk read request
Use a single register read for debugging purposes or for reading registers which are not
monitored by the GUI.
Use a bulk read command to make the GUI constantly poll all test parameters and statistics.
This eliminates the need to send multiple commands for each individual value. A bulk read
command reads the registers in a predefined order.
•
output type
indicates output type and it can be:
°
h
specifies the value sent out by the server will be the actual data width i.e., 4 bytes
°
a
specifies the value sent out by the server will be an 8-byte hexadecimal string
•
AAAA
denotes four character hexadecimal numeric string representation of the
command number which will eventually be mapped to the actual register offset in the
server application. Using different command numbers instead of the actual register
values allows the GUI to remain constant in spite of changes in the hardware design or
the application.
Example Read command:
R s a 0001
: Read a single register corresponding to command number
0001
and the
reported value from the server should be in 8-byte hexadecimal format.
Read command response:
1. The command number is read by the server and the appropriate register is identified, its
value is read, and is stored in a 4-byte data value.
2. Based on the output type specified in the read command, the data is either directly
transmitted to the client by the server, or it is converted to an 8-character string
denoting an 8-character hexadecimal number and then sent out to the client on the
control computer side.
Currently the application only supports output type of 8-character hexadecimal string.
An example Read command output response:
F000000F
.
Write Command
W <Command Number denoted as a 4-character hexadecimal numeric string
AAAA> < Data, represented as an 8-character hexadecimal numeric
string DDDDDDDD>
•
W
denotes a Write command