Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16556 Discussions

Driver and associated documentation to interface to PCIe Hard IP for Cyclone V

ToddW
Novice
1,684 Views

We're developing a couple 3U OpenVPX PCIe peripheral boards. I have a Cyclone V GT Dev Kit, but can't locate any information on drivers used to Tx/Rx data and configuration for the PCIe HardIP interface. Any guidance to design examples and documentation is most appreciated.

0 Kudos
5 Replies
Nooraini_Y_Intel
Employee
711 Views

Hi,

 

Currently I am reviewing the forum for any open questions and found this thread. I apologize that no one seems to answer this question that you posted. Since it has been a while you posted this question, I'm wondering if you have found the answer? If not, please let me know, I will try to assign/find someone to assist you. Thank you.

 

Regards,

Nooraini

 

0 Kudos
SengKok_L_Intel
Moderator
711 Views

Hi,

 

For PCIe example design, you can refer to AN456, however, there is no much information on driver and which usually need to develop by user.

 

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an456.pdf

 

Regards -SK

0 Kudos
Nooraini_Y_Intel
Employee
711 Views

Hi ToddWW,

 

Perhaps you can take a look the PCIe Linux driver source files are available at these wiki links:

https://fpgawiki.intel.com/wiki/PCI_Express_in_Qsys_Example_Designs

https://fpgawiki.intel.com/wiki/Reference_Design:_Gen3x8_AVMM_DMA_with_external_DDR4_-_Arria_10

 

Regards,

Nooraini

 

0 Kudos
ToddW
Novice
711 Views

Unfortunately, Linux drivers aren’t going to be helpful as we’re gearing the design for a Win10 OS DoD customer. Do you know of a Win10 driver example?

Here are some additional questions we have:

PCIe Hard IP

* I believe that the Cyclone PCIe Hard IP supports either Dynamic Clock Recovery (DCR) or the use of a 100 MHz Reference Clock. Is this a correct understanding?

* From what I’ve been told, OpenVPX is moving away from the use of a Ref Clock.

* Are there any issues with DCR operation from either a Tx or Rx standpoint?

* What option does Altera recommend for ease of use?

* If a Ref Clock is used, is there any limitation or restriction on which Ref Clock pin on the FPGA Transceiver banks the clock is attached to?

Software Driver & DMA

* I can’t find any information regarding the software driver Intel/Altera uses to communicate with the PCIe Hard IP in the Cyclone V.

* Does Altera have such a driver?

* If so, where is it located so I can download it from their website?

* How is DMA enabled in the Hard IP and how is it configured?

* Are there Rx/Tx FIFOs in the Hard IP and does the user have control over FIFO Almost Full or Almost Empty signaling?

Platform Designer

* I’m interested in taking training courses on Creating PCI Express Links Using FPGAs (IPCIE) <

https://www.intel.com/content/www/us/en/programmable/support/training/course/ipcie.html> and Advanced Qsys System Integration Tool Methodologies (IQSYS102) <https://www.intel.com/content/www/us/en/programmable/support/training/course/iqsys102.html

> but both are showing no classes are scheduled.

* Any possibility of getting the course materials for these so I can self-study?

FPGA Configuration Options

* Looking for a recommendation of the latest best practices on configuration.

* In the past, I’ve always used single-bit serial devices (EPCS type) for FPGA configuration using AS configuration

* I see that there are 3rd party four-bit serial devices (EPCQ type) now.

* I also see the Flash/Max example on Cyclone V DVK I purchased that use a 16b parallel flash in conjunction with a MAX V

* Do you or Intel/Altera have a recommendation for FPGA configuration? I’d like to keep the configuration as simple and straightforward as possible. We have no issues with time for configuration (unless addl constraints are required for the use of PCIe Hard IP), so serial single-bit is fine unless you recommend otherwise.

ToddW

 

0 Kudos
SengKok_L_Intel
Moderator
711 Views

Hi Sir,

For PCIe DMA example, you can refer to the AN690. As I can see, it came with linux and window application driver, but the detail information of how to create the driver is not available.

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an690.pdf

The PCIe support 100Mhz reference clock, you can locate it closer to the transceiver bank of PCIe, I don’t see the DCR option as reference clock is available in user guide, please share with us if there is a document mentioned cyclone V support DCR as reference clock.  As for the Instructor-Led courses, you can try to request a class in your region (from the bottom of the link).

In term of configuration, it is up to the designer to decide base on their requirement, if there is no concern of the configuration time, then you may just choice the method that you are familiar and comfortable. Perhaps, you can open a new thread to discuss this in detail if needed. 

 

Regards -SK

0 Kudos
Reply