AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE User's Guide Page 223

  • Download
  • Add to my manuals
  • Print
  • Page
    / 288
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 222
December 2013 Altera Corporation Cyclone V Hard IP for PCI Express
User Guide
17. Testbench and Design Example
This chapter introduces the Root Port or Endpoint design example including a
testbench, BFM, and a test driver module. You can create this design example using
the design described in Chapter 2, Getting Started with the Cyclone V Hard IP for PCI
Express.
When configured as an Endpoint variation, the testbench instantiates a design
example and a Root Port BFM, which provides the following functions:
A configuration routine that sets up all the basic configuration registers in the
Endpoint. This configuration allows the Endpoint application to be the target and
initiator of PCI Express transactions.
A Verilog HDL procedure interface to initiate PCI Express transactions to the
Endpoint.
The testbench uses a test driver module, altpcietb_bfm_driver_chaining to exercise
the chaining DMA of the design example. The test driver module displays
information from the Endpoint Configuration Space registers, so that you can
correlate to the parameters you specified using the parameter editor.
When configured as a Root Port, the testbench instantiates a Root Port design example
and an Endpoint model, which provides the following functions:
A configuration routine that sets up all the basic configuration registers in the Root
Port and the Endpoint BFM. This configuration allows the Endpoint application to
be the target and initiator of PCI Express transactions.
A Verilog HDL procedure interface to initiate PCI Express transactions to the
Endpoint BFM.
The testbench uses a test driver module, altpcietb_bfm_driver_rp, to exercise the
target memory and DMA channel in the Endpoint BFM. The test driver module
displays information from the Root Port Configuration Space registers, so that you
can correlate to the parameters you specified using the parameter editor. The
Endpoint model consists of an Endpoint variation combined with the chaining DMA
application described above.
1 The Altera testbench and Root Port or Endpoint BFM provide a simple method to do
basic testing of the Application Layer logic that interfaces to the variation. However,
the testbench and Root Port BFM are not intended to be a substitute for a full
verification environment. To thoroughly test your Application Layer, Altera suggests
that you obtain commercially available PCI Express verification IP and tools, or do
your own extensive hardware testing or both.
Your Application Layer design may need to handle at least the following scenarios
that are not possible to create with the Altera testbench and the Root Port BFM:
It is unable to generate or receive Vendor Defined Messages. Some systems
generate Vendor Defined Messages and the Application Layer must be designed
to process them. The Hard IP block passes these messages on to the Application
Layer which, in most cases should ignore them.
December 2013
UG-01110-1.5
Page view 222
1 ... 222 223 224 ... 288

Comments to this Manuals

No comments