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 SPI-4.2 core for different configurations.

The demonstration test bench can be programmed to transmit a range of stimuli by modifying TSCLK_LCK.

Testcase Package—contains constants used by the testcase module

Testcase Module—generates data and status

Sink Calendar Sequence—contains the channel order for the Sink core status

Source Calendar Sequence—contains the channel order for the Source core status

The following sections describe each module, including customization methods and resulting behavior. The module descriptions are applicable to both VHDL and Verilog designs. Language-specific details for VHDL are provided in Appendix A, “VHDL Details.” Language-specific details and source code showing how to further randomize input to the SPI-4.2 core for Verilog are provided in Appendix B, “Verilog Details.”

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 user-defined and can be modified, while others are defined when the core is generated. Table 4-10provides test bench constants that can be modified. These constants are modified by regenerating the core in the CORE Generator system.

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 20-word

 

 

 

training pattern sent to the Sink core (0 means

 

 

 

don’t send periodic training).

 

 

 

 

SNK_DATA_MAX_T

Integer

4000 <0-65535>

Sets the number of cycles between training

 

 

 

patterns sent to the Sink core (0 means don’t send

 

 

 

periodic training).

 

 

 

 

SPI-4.2 v8.5 Getting Started Guide

www.xilinx.com

39

UG154 March 24, 2008

Page 39
Image 39
Xilinx UG154 Customizing the Demonstration Test Bench, Test Case Package, 10Testcase Package User-Defined Constants, Range

UG154 specifications

Xilinx UG154 is a comprehensive user guide that provides in-depth information about the architecture, features, and technologies of Xilinx's FPGA (Field Programmable Gate Array) devices. This guide is particularly vital for developers, engineers, and designers who work with Xilinx products, as it serves as a key resource throughout the development lifecycle.

One of the main features of Xilinx UG154 is its coverage of the device architecture, which details the programmable logic cells, configurable interconnects, and I/O capabilities. Xilinx FPGAs are known for their flexibility and scalability, allowing designers to implement complex digital circuits and systems that can be modified post-manufacturing, enabling rapid prototyping and iterative design processes.

Another key aspect highlighted in UG154 is the technological advancements in the latest Xilinx architectures, such as UltraScale and UltraScale+. These architectures incorporate advanced process technologies, providing improved performance and power efficiency. High-speed serial transceivers, embedded processing capabilities, and extensive memory options are also discussed, showcasing how these features enhance system integration and reduce design time.

The guide also delves into Xilinx's software ecosystem, featuring the Vivado Design Suite, which streamlines the design process through integrated design tools and a unified development environment. The Vivado suite supports various high-level synthesis, simulation, and analysis tools, facilitating a smoother transition from concept to implementation.

In addition to hardware and software integration, UG154 covers the importance of IP cores, which are pre-designed functional blocks that can be easily integrated into FPGA designs. Xilinx provides a vast library of IP cores, ranging from basic logic functions to sophisticated signal processing algorithms, enabling engineers to accelerate development without sacrificing performance.

Another focus of UG154 is the emphasis on design best practices and optimization techniques that can be employed to maximize the capabilities of Xilinx devices. Topics such as timing closure, resource optimization, and power management are among the critical areas addressed, which help designers achieve the desired performance within the constraints of their applications.

Overall, Xilinx UG154 serves as a vital resource that equips engineers with the knowledge and tools necessary to leverage the full potential of Xilinx FPGAs. By understanding the features, technologies, and architectural characteristics detailed within this guide, designers can create innovative solutions across a range of applications, including telecommunications, automotive, aerospace, and industrial automation.