Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to Call @ltera LPM in RTL and do Simulte??

Status
Not open for further replies.

realtek

Member level 5
Member level 5
Joined
Mar 15, 2004
Messages
89
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
870
Hi :
I need call @ltera LPM_ROM and LPM_RAM_DP in my RTL(for FPGA Verify)
can any FPGA master help me
1. How to call LPM in my RTL Code(Verilog)?
2. How to Simulate the Code ?
pls give a example !

very appreciate!
Tks in advance!!
 

Hi realtek

Answer for 1 is:
Use MegaWizard Plug-In Manager from Quartus software to generate ROM. Only what you need are parameters of ROM memory. This is the simplest way to use parametrized LPM's without errors and problems. At the end of configuration, Quartus will generate code ready to instantiate.

Answer fo 2 is:
It depends on which simulator are you using. In Quartus it is very simple: You must "draw" waveforms as a tesbench and use Simulation Tool to perform simulation. Also ActiveHDL and ModelSim are very very good documented about this. Which simulator are you using ?

Best reg and good luck
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top