Forum Discussion

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

MegaFunction Creation Options?

When creating a mega function, does it make any difference if you select AHDL, VHDL or Verilog VHDL for the output file? Does it all get mapped to the same Logic Elements in the same way regardless?

1 Reply

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

    --- Quote Start ---

    When creating a mega function, does it make any difference if you select AHDL, VHDL or Verilog VHDL for the output file? Does it all get mapped to the same Logic Elements in the same way regardless?

    --- Quote End ---

    That's pretty much correct.

    The Modelsim Altera Starter simulator only supports VHDL or Verilog (not both at the same time), so if you want to simulate your system, then you need to select a specific language.

    If you code in VHDL or Verilog, then you will often code lpm_counter and other components directly in your code rather than going through the MegaWizard tool.

    Cheers,

    Dave