Forum Discussion

travisa's avatar
travisa
Icon for New Contributor rankNew Contributor
3 years ago

PCIe DMA transfer design code Compilation error.

I was trying to compile the DE5A_NET.qpf file of the `DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_DDR4/` in Quartus Prime Pro version21.4, getting some compilation error and the error message is attached with this.

I am compiling this sample project for an Arria 10 GX FPGA with 10AX115N2F45E1SG Board.

PS: Opening the project, I got a message for IP up-gradation and I did that.

14 Replies

  • travisa's avatar
    travisa
    Icon for New Contributor rankNew Contributor

    Hi,

    The expanded error massage you asked is attached (Quartus_Compilation_Error.png). Also, please see the underlined lines in the two fotos of verilog code where I have made a change (substitution.png and definition.png). Instead of initializing the "pcie_a10_hip_0_hip_pipe_sim_pipe_rate" to 1'b0 (please see the attached file DE5a_NET_Verilog_Error.png with error message, "Verilog HDL error at DE5A_NET.v(389): constant is not allowed"), I initialized it with a variable "entho" which is defined as wire[1:0]. With this hack, the project compiled without any error. Not sure that is what I am suppose to do to as a permanent solution. Do you have any suggestion regarding this?

  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi Travisa,


    Glad that you solve the problem, Also thanks for sharing the information with me.

    May I know how you came out with the "entho" variable idea ? is it stated in any user guide ?

    With that information, I might further escalate this issue to the top level so that they can work something on this.


    I think the best of FPGA is customization, with that flexibility also it might bring to miss competitive sometimes (for some specific device)

    It is quite hard to pin point exactly what goes wrong as there is no exact right or wrong in the pin variable.

    But as long as the design can be compiled, there shall be no problem.

    In case you are facing new error, feel free to open a new case, we are here to help.

    Do apologise cannot help too much here, thanks again for sharing with me the solution.


    WIsh you have a nice day ahead.

    Regards,

    Wincent_Intel