Design -1 – Altera Arria 10 Avalon-ST User Manual

Page 31

Advertising
background image

Getting Started with the Configuration Space

Bypass Mode Qsys Example Design

3

2014.08.18

UG-01145_avst

Subscribe

Send Feedback

This Qsys design example demonstrates Configuration Space Bypass mode for the Arria 10 Hard IP for

PCI Express IP Core. A Root Port BFM provides stimulus to the Endpoint design. The Endpoint bypasses

the standard Configuration Space to access the custom Configuration Space and memory of two

functions. The Configuration Space Bypass Example Design performs the following functions:
• Accepts Configuration, Memory, and Message TLPs on the Arria 10 Hard IP for PCI Express RX

Avalon-ST interface

• Translates Type 0 Configuration Read and Configuration Write Requests to Avalon-MM read and

write requests that target the Configuration Space of either Function 0 or Function 1.

• Responds to invalid Type 0 Configuration Requests with an Unsupported Request (UR) status in a

Completion Message.

• Converts single dword Memory Read and Memory Write Requests to access 32-bit registers of the

target function using the Avalon-MM interface.

• Maps two contiguous MBytes of memory for the two functions with the first MByte for Function 0 and

the second MByte for Function 1.

• Sets up two registers for each function.

• Drops the following invalid Write Requests:

• Memory Write Requests with a payload of more than one dword

• Messages with data

• Returns Completer Abort (CA) status in Completion message for invalid Memory Read Requests such

as Memory Read Requests with a payload greater than one dword.

• Returns a Completion Status of Successful Completion for valid Configuration Requests to Function 0

and Function 1.

The following figure illustrates, the components of the Configuration Space Bypass Mode Qsys Example

Design. The example design includes the following components:
DUT: The Arria 10 Hard IP for PCI Express. The example turns on the Enable Configuration Space

Bypass parameter.

APPS: The Configuration Space Bypass application demonstrates Configuration Space Bypass mode.

pcie_reconfig_driver_0: The PCIe Reconfig Driver drives the Transceiver Reconfiguration Controller.

This driver is a plain text Verilog HDL file that you can modify if necessary to meet your system

requirements.

©

2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are

trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as

trademarks or service marks are the property of their respective holders as described at

www.altera.com/common/legal.html

. Altera warrants performance

of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any

products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,

product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device

specifications before relying on any published information and before placing orders for products or services.

ISO

9001:2008

Registered

www.altera.com

101 Innovation Drive, San Jose, CA 95134

Advertising