Demonstration Test Bench
R
Lastly, the signal SnkInFrame is created in the status monitor by inverting SnkOof. This signal is used by the stimulus module to send training. See Appendix C, “Data and Status Monitor Warnings.”
Customizing the Demonstration Test Bench
The demonstration test bench can be used with default settings or customized to observe the behavior of the
The demonstration test bench can be programmed to transmit a range of stimuli by modifying TSCLK_LCK.
•Testcase
•Testcase
•Sink Calendar
•Source Calendar
The following sections describe each module, including customization methods and resulting behavior. The module descriptions are applicable to both VHDL and Verilog designs.
Test Case Package
The test case package contains a list of constants that define the ways that the cores and demonstration test bench operate. Some of these are
Table 4-10: Testcase Package User-Defined Constants
Name | Constant | Default Value | Description | |
Type | (Range) | |||
|
| |||
|
|
|
| |
SNK_CAL_DATA | String | snk_calendar.dat | Contains the name of the file with the Sink | |
|
| <filename> | calendar sequence to be programmed. | |
|
|
| ||
|
|
|
| |
SRC_CAL_DATA | String | src_calendar.dat | Contains the name of the file with the Source | |
|
| <filename> | calendar sequence to be programmed. | |
|
|
| ||
|
|
|
| |
SNK_ALPHA_DATA | Integer | 3 <0 - 255> | Sets the number of repetitions of the | |
|
|
| training pattern sent to the Sink core (0 means | |
|
|
| don’t send periodic training). | |
|
|
|
| |
SNK_DATA_MAX_T | Integer | 4000 | Sets the number of cycles between training | |
|
|
| patterns sent to the Sink core (0 means don’t send | |
|
|
| periodic training). | |
|
|
|
|
| www.xilinx.com | 39 |
UG154 March 24, 2008