Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16556 Discussions

Implementing in BRAM using Megawizard

Altera_Forum
Honored Contributor II
1,192 Views

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

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
332 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
332 Views

Thank you.

0 Kudos
Reply