Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Implementing in BRAM using Megawizard

Altera_Forum
Honored Contributor II
1,646 Views

I need help in megafunction. how to instantiate the megafunction in the Verilog code.

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
786 Views

Once you have the megafunction generated, you can instantiate it like any other verilog module. 

 

Usually one of the files generated is either a verilog file, or black box with the port definitions. You just the same port calls and include the qip file as part of the syntheis stage. 

 

Usually they also have a .vo file for simulation. So you can simulate the design with that. 

 

Pete
0 Kudos
Altera_Forum
Honored Contributor II
786 Views

Thank you.

0 Kudos
Reply