How to make a custom IP (that integrated with an example design) to create testbench in Arria 10
Hi,
I have a custom IP of a counter and that connected to the PCIe DMA transfer example design for the Arria 10 device(I have attached the counter code counter.v with this message). I also added an Avalon FIFO IP that stream data from counter IP to the PCIe DMA transfer example design.
(for the PCIe DMA transfer example design with DDR4, I followed the Chapter-7 section- 7.6 of DE5a_Net_User_Manual.pdf attached)
I have a Quartus project file DE5A_NET.qpf and opened it in Quartus Prime Pro.
Then launched Platform Designer System and opened the PCIe DMA transfer example design (ep_g3x8_avmm256_integrated.qsys).
Added Avalon FIFO IP and custom generated IP for the counter (of which verilog file is attached). Followed steps like System Sync Info, Validate System Integrity and generating HDL.
When I turn on the simulation option in the Generate HDL GUI (turn on means selecting VHDL/Verilog option for simulation. Turned off means selecting none for the simulation option).
I gets some error (attached error_simulation.PNG).
But when just Synthesis option= Verilog and simulation= none, no error.
I am aware that this is something related to counter code which is synthesis-able only. Also I think it fails in the creating testbench stage. Do you have any suggestion regarding how to make a custom IP out-of counter.v code (to attach to the example design) that is compatible for both synthesis and simulation?
I am working in Arria 10 GX device (10AX115N2F45E1SG) and my host computer is based on windows 10. And I am using Quartus Prime Pro 18.4 version.
No, the file you put in the simulation files section is the design file that should be used when the design is simulated, not a simulation testbench. This can be the same file as the synthesis file or it could be a different design file optimized for simulation.