Forum Discussion

AEsqu's avatar
AEsqu
Icon for Contributor rankContributor
2 years ago

defparam issue vqm

Hello,

I face a new issue with Quartus prime pro (together with a .vqm from Synplify), I did not have this issue with Quartus 13.1 (same RTL code) for the stratix 3. What shall I do?

RTL Module:


module rng4_sa_intg #(
APB_WIDTH = 12
) (

// FPGA Clock
`ifdef ID_CFG_DTRNG_FPGA // FPGA support
input logic ip_fpga_ringo_clk,
`endif // ID_CFG_DTRNG_FPGA // FPGA support

input logic clk_and_reset_p_pclk,
input logic clk_and_reset_p_rstn,
...

Instantiation in RTL (black box in that project, the rng4_sa_intg is in another .vqm)

rng4_sa_intg #(
.APB_WIDTH(12)
) u_trng (

`ifdef ID_CFG_DTRNG_FPGA // FPGA support
.ip_fpga_ringo_clk (free_running_48mhz_clk),
`endif // ID_CFG_DTRNG_FPGA // FPGA support

.clk_and_reset_p_pclk (rng_apb_clk),


.vqm content (stratix10_fpga_a_mix.vqm):

rng4_sa_intg u_trng (
.ip_fpga_ringo_clk(free_running_48mhz_clk),
.clk_and_reset_p_pclk(rng_apb_clk),
...
.test_p_async_disable(GND)
);
defparam u_trng.APB_WIDTH=12;
// @1005:9418


other .vqm with the rng4_sa_intg block (rng4_sa_intg_stratix10.vqm):

/* Synopsys
.origName=rng4_sa_intg
.langParams="APB_WIDTH"
APB_WIDTH=12
*/
input ip_fpga_ringo_clk ;
input clk_and_reset_p_pclk ;

.....

Using Synplify R-2021.03 + patch.


Quartus prime pro 21.1.0 error:

Error(14394): Verilog HDL error at stratix10_fpga_a_mix.vqm(3013071): APB_WIDTH is not declared under the prefix "u_trng"
Error(16186): Can't elaborate top-level user hierarchy


I use in the .qsf:

set_global_assignment -name VQM_FILE ../../rng4_sa_intg/synplify/synthesis/rng4_sa_intg_stratix10.vqm
set_global_assignment -name VQM_FILE ../../stratix10/synplify_synth_quartus_fit/synthesis/stratix10_fpga_a_mix.vqm

Kind Regards,

Alex.

23 Replies

    • AEsqu's avatar
      AEsqu
      Icon for Contributor rankContributor

      I have replied to your email, let me know if you received it.

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

    I did not receive your email. I am sending something to your email.


    • AEsqu's avatar
      AEsqu
      Icon for Contributor rankContributor

      I replied to your personal email.

  • AEsqu's avatar
    AEsqu
    Icon for Contributor rankContributor

    Hello,

    Are you inspecting the provided test cases at your side?

    Alex.

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

    I have replied to your email. I create a ftp for you to upload the file.

    I will take a look.

    Let me know any concern on this.


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

    I was on long public holiday and will take a look at the design.

    Will update you.


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

    Alex,


    How urgent this issue is?

    Does it roadblock you development?

    I am checking this with engineering team


    • AEsqu's avatar
      AEsqu
      Icon for Contributor rankContributor

      Hello,

      This is not blocking my project at the moment.

      Kind Regards,

      Alex.

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

    Understood and thanks.

    Will update you regarding this issue.


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

    As mentioned in the email, I had feedback this issue to our engineering. However, due to different priority on hand in engineering, the fix will take some time. I am sorry to inform this. Since it not full roadblock your full development, you may reopen the case for follow up in the email in the loop.