Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Cannot the parameters list be empty in SystemVerilog?

Hi All,

What's the problem with the following code?


  pmu# ()
i_pmu (// Outputs
           .clk0            (clk_mn),                
           // Inputs
           .rstn_ext        (rstn_ext),
           .clk_ext         (clk_ext));

Cannot the parameters list be empty? I'm receiving the "Error (10170): Verilog HDL syntax error at amp_top.v(272) near text: ")"; expecting ".", or an operand". Why?

Thank you!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Quartus doesn't tolerate empty parameter lists, no.

    Cheers,

    Alex