Forum Discussion

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

Missing LIbrary for ModelSim in Quartus II Version 13.0 SP1

Hi,

I am using Quartus II Web Edition 13.0 SP1 (the last version to support the EPM7128S I believe)

The device exists in Quartus II and I have been able to build a schematic.

When I try to run a simulation, ModelSim generates errros such as

# Top level modules:

# First

# Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov 2 2012

# -- Compiling module First_vlg_sample_tst

# -- Compiling module First_vlg_check_tst

# -- Compiling module First_vlg_vec_tst

#

# Top level modules:

# First_vlg_vec_tst

# vsim -L max7000s_ver -L altera_ver -L altera_mf_ver -L 220model_ver -L sgate -c -t 1ps -novopt work.First_vlg_vec_tst

# Loading work.First_vlg_vec_tst

# ** Error: (vsim-19) Failed to access library 'max7000s_ver' at "max7000s_ver".

#

# No such file or directory. (errno = ENOENT)

# Loading work.First

# ** Error: (vsim-19) Failed to access library 'max7000s_ver' at "max7000s_ver".

When I look in the verilog directory below \modelsim_ase_\altera I can see max, maxii and maxiv directories, but not a specific max7000s one.

Can anyone help me find/fix the problem please?

regards

Dave

5 Replies

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

    I know Quartus has dropped support for the MAX7000. THey probably removed the libraries from modelsim also.

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

    Hi,

    thanks for the reply, but I don't think that is the problem. Yes, the MAX7000 has been removed from 13.1, but it is still present in 13.0SP1.

    If I launch the Simulation Library Compiler, I see the MAX7000 in the list of Available Families, and the MAX7000S in the Selected Families box.

    There is also a text string advising "Note: ModelSim-Altera software comes packaged with precompiled simulation libraries.

    So, it would appear that both Quartus II and ModelSim are aware of the 7000S, but that the library is not actually present?

    regards

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

    OK, after a bit more digging around, I find that the Help file for Version 13.0 lists

    "ModelSim-Altera Precompiled Libraries

    ....

    max MAX 3000 and MAX 7000

    maxii MAX II

    maxv MAX V

    ...."

    Suggesting to me that the max library should be used for the MAX7000

    When I look in modelsim.ini, I see

    Under VHDL

    "max = $MODEL_TECH/../altera/vhdl/max

    maxii = $MODEL_TECH/../altera/vhdl/maxii

    maxv = $MODEL_TECH/../altera/vhdl/maxv"

    Under Verilog

    "max_ver = $MODEL_TECH/../altera/verilog/max

    maxii_ver = $MODEL_TECH/../altera/verilog/maxii

    maxv_ver = $MODEL_TECH/../altera/verilog/maxv"

    i.e., no entry for MAX7000S

    If I manual create entries

    "max7000s = $MODEL_TECH/../altera/vhdl/max

    max7000s_ver = $MODEL_TECH/../altera/verilog/max"

    i.e., pointing to the max directory as suggested by the help file, the simulation seems to be created OK.

    SO : FOLLOW UP QUESTIONS

    1. Is what I have done valid, i.e., will not lead to incorrect simulation results?

    2. Does this suggest an error in the setup for V13.1SP1, or

    3. Have I done something else to break the association between MAX7000S and the max library?

    regards

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

    if max7000 needs library max then what you done is correct mapping

    it seems that mapping was not done in your setup
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Thanks for the reply, it seems like I have stumbled across a solution then!

    Regards

    Dave