Forum Discussion

PiotrWija's avatar
PiotrWija
Icon for New Contributor rankNew Contributor
3 years ago
Solved

Synthesis error while getting parameters from interface

Hi,

I'm trying to synthesis code where based on parameters from interface I create structure and the once again I take interface parameters. Such a case results with error:

Error(13433): Verilog HDL Defparam Statement error at top.sv(34): value for parameter "WIDTH_2" must be constant expression 

I check the code in Vivado and Questa and it works well.

Please find attached source code and log from quartus.

Steps to replicate:

  1. Use `Quartus Prime Pro Edition 22.2.0` with any devices installed
  2. Create a new project, add following code to `top.sv` file.
  3. Set `top` as Top-level Entity
  4. Run `Analysis & Synthesis`
  • Update from Engineering Team: The issue is planned to fix in the Quartus future release version 23.1.


    Thanks.

    Best Regards,

    Ven Ting



6 Replies

  • VenT_Altera's avatar
    VenT_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    Update from Engineering Team: The issue is planned to fix in the Quartus future release version 23.1.


    Thanks.

    Best Regards,

    Ven Ting



  • ShengN_altera's avatar
    ShengN_altera
    Icon for Super Contributor rankSuper Contributor

    Hi,


    Internal latest feedback:

    This issue got fixed by Verific in Aug-22 release. Yet to integrate this Verific release into Quartus.


    Now, asking internal team for any workaround or patch released for this issue. Please allow some working time.


    Thanks,

    Best regards,

    Sheng


  • VenT_Altera's avatar
    VenT_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hi,


    Thanks for attaching the file. I will check this with the Engineering Team. It might take some time to debug the issue, please stay tuned.


    Thanks.

    Best Regards,

    Ven Ting


  • VenT_Altera's avatar
    VenT_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    FYI, Engineering Team requires some time to investigate further to the error. Kindly stay tuned with us.


    Thanks.

    Best Regards,

    Ven Ting


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

    Hi,

    thank you for the update. I do not need any workaround. I will wait for Quartus 23.1.

    Best regards,

    Piotr Wija