Forum Discussion

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

Everytime Quartus2 invokes Modelsim, Modelsim has to recompile atlera devices again!

I am so confused that modelsim has to recompile everytime when it's invoked by quartus2, since modelsim has the libraries in the list. As this causes lots of time to recompile! How to avoid that?

i've compiled libraries primitive, cycloneii, lpm and altera_mf in modelsim and modified the modelsim.ini config file, but the same problem still exists

:confused: :confused: :confused: :confused:

4 Replies

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

    I've compiled the following verilog file:

    220model.v , altera_primitives.v, cycloneii_atoms.v and altera_mf.v

    I've named it as 220model, primitives, cycloneii, altera_mf respectively in modelsim.

    I havn't compiled the .vhd files, is this the root cause??
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    how are you running ModelSim? i expect the .do file is compiling those libraries, so you could just comment those lines out

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

    --- Quote Start ---

    how are you running ModelSim? i expect the .do file is compiling those libraries, so you could just comment those lines out

    --- Quote End ---

    Hi,

    I've chose Modelsim in EDA Tool Settings, and have written the testbench file in NativeLink settings.

    After compilation I used Tools-> EDA Tool Simulation->Run EDA RTL Sim...

    i don't know where the do file you've mentioned locates...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i don't think 220model.v goes into a library called 220model, check the Quartus II handbook simulation section

    seems like NativeLink tries to compile the libraries even though they already exist. i would just comment out the lines where the libraries are compiled in the NativeLink .do file found in simulation/modelsim