Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Error while simulating with ModelSim

Hello guys

I'm still a very beginner in Quartus II and FPGA programming in general.

I'm still trying to run the simple example of hello world available in the quartus folder using the altera manual here www.altera.com/literature/an/an351.pdf (http://www.altera.com/literature/an/an351.pdf) and after making all the steps (making the design with SOPC builder, adding the file in the Quartus II) i'm trying to simulate with ModelSim (having the "hello world" signal after it has been converted from C language to VHDL).

I have the following errors

--- Quote Start ---

# ** Error: (vcom-11) Could not find ./vhdl_libs/altera.altera_europa_support_lib.# ** Error: C:/SAMY/SOPC_Test/onchip_memory2_0.vhd(19): (vcom-1195) Cannot find expanded name: 'altera.altera_europa_support_lib'.# ** Error: C:/SAMY/SOPC_Test/onchip_memory2_0.vhd(19): Unknown record element "altera_europa_support_lib".

--- Quote End ---

Then

--- Quote Start ---

# ** Error: C:/SAMY/SOPC_Test/onchip_memory2_0.vhd(32): VHDL Compiler exiting# ** Error: C:/Applications/Modeltech/win32/vcom failed.

--- Quote End ---

But as i searched in several posts, i things the last two errors are very commun and may just mean that the simulation was aborted.

Any Ideas?!

It's kinda urgent. Big thanks for your help !

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi,

    I am getting error while simulating the quarus project which has instantiated RAMs and SOPC builder.I got the compiled result but struck up with simulating it.

    I got the following errors:

    Error: (vcom-11) Could not find altera.altera_europa_support_lib.

    Error: E:/niosprocessor1/nios.vhd(24): (vcom-1195) Cannot find expanded name "altera.altera_europa_support_lib".

    # ** Error: E:/niosprocessor1/nios.vhd(24): Unknown expanded name.

    I add the library altera.altera_europa_support_lib. to model sim and compiled it but am getting same errors.

    Pls help me to remove these errors....

    thank you
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,Guys

    i am a beginner in operating Quartus II and FPGA programming.

    ia m trying to run Hello world program.when i am runing the system in Nios 2 SBT i am getting the following error. can someone help me Plz.......

    # Unable to locate ModelSim executable file 'vsim.exe' at the given path: C:\altera\New folder\simulation\modelsim\vsim.exe
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Just a guess... try to install Modelsim in a folder without a space in the name.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thankyou daixiwen.

    guru your advices just worked out correctly.

    now the program is running fine.

    i am also getting the output.

    can u suggest me some more examples through which i can learn more.

    once again Thankyou