User manual
34 www.xilinx.com SPI-4.2 v8.5 Getting Started Guide
UG154 March 24, 2008
Chapter 4: Detailed Example Design
R
Demonstration Test Bench
The demonstration test bench emulates a PHY device by generating and receiving packet
data across the SPI-4.2 interface. The interface between the demonstration test bench and
the SPI-4.2 core is illustrated in Figure 4-2.
The modules for sending data and status are described in “Customizing the
Demonstration Test Bench,” later in this section. As described below and shown in
Figure 4-3, the demonstration test bench consists of the following modules:
• Clock Generator
• Startup
• Stimulus
• Data Monitor
Figure 4-2: Demonstration Test Bench Connections
Demonstration
Testbench
Stimulus
Module
Data
Monitor
Status
Monitor
SPI-4.2 Core
Sink Core
User
Sink
Interface
SPI-4.2
Sink
Interface
Source Core
User
Source
Interface
SPI-4.2
Source
Interface
TCtl_N
TCtl_P
TDat_N
TDat_P
TSClk
TStat
TDClk_N
TDClk_P
RCtl_N
RCtl_P
RDat_N
RDat_P
RSClk
RStat
RDClk_N
RDClk_P
IdleRequest
TrainingRequest
SnkDip2ErrRequest
Source Static Config Signals
Sink Static Config Signals
SrcInFrame
SnkInFrame










