Forum Discussion
Hi,
Unfortunely, we does not provide any source code for it.
But if you are using Cyclone V SoC eval board.
You may refer to link below
https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/cyclone/v-sx.html
We do provide all the example including Memory, XCVR, GPIO and PCIe 1.0 x4
Regards,
Wincent_Intel
- corestar2 years ago
Contributor
Hello @Wincent_Altera ,
I had been using those examples as well (eg the ep_gen1x4_22.1_balanced). They are somewhat helpful (no APPS or other black boxes in Qsys), and have a toplevel that shows how to connect to some of the QSYS outputs. It sort of shows how to handle resets. But the examples seem to be full of bugs, so I'm not sure how much I trust them. For example, the they do not meet timing and drive lines that are outputs. For example, reconfig_mgmt_readdata is an output from Qsys, but they drive it to zero. Many of the pins are assigned locations that do not exist (eg the pcie_rx and pcie_tx, pcie_refclk). The examples were clearly never actually run.
I ordered a Terasic board that seems to include useful examples. Includes Linux driver and application, and Quartus FPGA project (not just a .qsys file). There is a Qsys system, but no black boxes.Hopefully, it will help. The Linux driver is from Altera, but apparently from a Wiki that no longer exists.
I'll give a shot and hopefully get things working. You seem pretty knowledgeable about PCIe if I have more specific questions :-).
Thanks