Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15469 Discussions

Error while trying to simulate anything using modelsim altera containing altera megafunctions (altera_mf_ver).

TTed01
Beginner
407 Views

# Error opening C:/build/swbuild/SJ/nightly/18.1std/625/l64/work/modelsim/eda/sim_lib/altera_mf.v

# Path name 'C:/build/swbuild/SJ/nightly/18.1std/625/l64/work/modelsim/eda/sim_lib/altera_mf.v' doesn't exist.

 

Quartus works fine and synthesisizes that but model sim on the other hand.

 

I do not have such folder in C:/

 

I can find the altera_mf.v in C:\intelFPGA_lite\18.1\modelsim_ase\altera\verilog\src

 

Maybe it has wrong directory by default? Tried installing on second computer and go the same result.

 

Thanks!

0 Kudos
1 Reply
AnandRaj_S_Intel
Employee
262 Views

Hi James,

 

Can elaborate the steps?

 

Try to to include below lines in simulation script and check.

 

set path_to_quartus C:/intelFPGA_lite/18.1/quartus

vlib altera_mf

vmap altera_mf altera_mf

vcom -work altera_mf -2002 -explicit $path_to_quartus/eda/sim_lib/altera_mf_components.vhd

vcom -work altera_mf -2002 -explicit $path_to_quartus/eda/sim_lib/altera_mf.vhd

 

Regards

Anand

Reply