SPI-4.2 v8.5 Getting Started Guide www.xilinx.com 47
UG154 March 24, 2008
Procedures Module
R
The send_status procedure is used to change the status for a particular channel.
The get_status procedure is called to check status of a specific channel. It will cause the
status value of that channel to be returned to the testcase.
ADDR2 0 to 255 Channel on which the second packet should be
sent.
BYTES2 1 to 255 The number of bytes to send in the second burst.
NUM_CYCLES 0 to [5 - roundup
(BYTES1/2)]
The number of idle cycles between the first and
second burst.
Tabl e A -6 : send_status (PBt, channel, value) Inputs
Name Range Description
CHANNEL 0 to 255 Defines the channel for which status is updated.
VALUE 00,01,10,11 Defines the new status value to assign to the
selected channel.
Tabl e A -7 : get_status (PBt, channel) Inputs
Name Range Description
CHANNEL 0 to 255 Defines the channel for which status is read.
Tabl e A -5 : sop_spacing (PBr, Bytes1, Err1, Addr1, EOP2, Err2, Addr2, Bytes2,
num_cycles) Inputs (Continued)
Name Range Description