Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Comunicados
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 Discussões

Implementing in BRAM using Megawizard

Altera_Forum
Colaborador honorário II
1.654 Visualizações

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

0 Kudos
2 Respostas
Altera_Forum
Colaborador honorário II
794 Visualizações

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
Altera_Forum
Colaborador honorário II
794 Visualizações

Thank you.

Responder