Xilinx UG154 Microscope & Magnifier User Manual


 
SPI-4.2 v8.5 Getting Started Guide www.xilinx.com 43
UG154 March 24, 2008
Demonstration Test Bench
R
and the status for that channel. This sends the status and the channel to the stimulus
module for transmission to the core. The stimulus module ensures that the status is sent in
the correct location of the calendar sequence.
Calendar Sequence Files (Sink and Source)
The snk_calendar.dat and src_calendar.dat files are used to define the order that
status is sent on the SPI-4.2 Interface. The number of lines in a file is equal to the length of
the calendar sequence (SnkCalendar_Len
+ 1 and SrcCalendar_Len +1). Each line of
the file represents an 8-bit calendar entry in hexadecimal format. For example, a calendar
with a length of five and a sequence of <channel 0, channel 1, channel 0, channel 2, channel
3> can be generated by the following format:
00
01
00
02
03
File names are defined in the test case package, and can be changed if desired.