Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20400 Discussions

Simulation with PCI Express created with Qsys in a sub-system



I'm designing a system with PCI Express based on Cyclone V GT. I create firstly a qsys called "pcie.qsys" by using exemple design with pcie_cv_hip_avmm. And I create another qsys for my application called "app.qsys". And I create a "top.qsys" that contains these two sub-systems "pcie.qsys" and "app.qsys". All necessary interfaces of PCI Express are presents at "top.qsys". When I test "pcie.qsys" as top with testbench generated by Qsys, that works fine. But when I put it in "top.qsys" as a sub-system, that doesn't works any longer. I found that some BFM files such as altpcietb_bfm_driver_avmm.v, altpcietb_bfm_top_rp.v are not created when I use "pcie.qsys" as a sub-system. Someone has a idea for this?

0 Kudos
1 Reply
Hie, For Cyclone V PCIe simulation, if using the reference design from Cyclone V user guide, the file hierarchy cannot be changed, otherwise the simulation cannot run. This is because Quartus includes .tcl or do file to compile and load the necessary simulation libraries to run simulation. Hence, changing file naming and hierarchy needs to be done at the tcl file used to invoke simulation as well. Please refer to our user guide (Pg 2-4) on running simulation correctly. Do let me know if you have further questions. Regards, Nathan
0 Kudos