Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21599 Discussions

MegaFunction Creation Options?

Altera_Forum
Honored Contributor II
1,038 Views

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?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
347 Views

 

--- 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
0 Kudos
Reply