Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

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

Altera_Forum
Honored Contributor II
3,045 Views

Hello all, 

 

I am completely new to vhdl, altera and modelsim so please bear with me if the question is too simple. I have tried to scout the web for any leads - but so far without any real progress. 

 

I have created a simple structural design based on 74xxx components from the altera maxplus2 library (altera\13.0\quartus\libraries\vhdl\altera). I know this can be done as behavioral - but I am transferring an old TTL design that I want to verify. 

 

I have included in my vhdl file: 

 

LIBRARY altera; 

USE altera.maxplus2.ALL; 

 

Following setp by step the "getting started wtih quartus ii simulation using the modelsim-altera software" guide to open up modelsim with nativelink I get the following error message in the transcript window: 

# ** Error: (vcom-11) Could not find altera.maxplus2. 

 

And from this point I cannot progress. I have tried to compile the maxplus2 library with the modelsim compile functionality - but in all honesty I am not really sure what I am doing. I get a maxplus2 folder in RTL-WORK directory - but it doesnt help at all as I get the same error when I re-execute the "do"-command line. 

 

Any pointers as to where I can look for further reading on this topic or any advice to resolve this is highly appreciated. 

 

br /mattias 

 

 

fyi: I work in msft windows environment.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
2,092 Views

All, 

 

I found a potential solution over at xlinx's forum: http://www.xilinx.com/itp/xilinx10/isehelp/pp_p_process_compile_hdl_simulation_libraries.htm 

 

From that discussion I used the following command: 

vcom -93 -explicit -reportprogress 300 -work altera {C:\altera\13.0\work\maxplus2.vhd}  

 

It appears that quartus' maxplus2 library gets compiled into the existing modelsim altera library. 

 

Following this i could re-compile my "design" without any issues and get into simulation window. 

 

Not sure whether this is the "appropriate" and long term solution - and not sure if it works as i have not completed my simulation yet - i have quite a few "vsim-3473 component not bound" errors to resolve first :-) 

 

Please let me know if you have any other thoughts. 

 

br /mattias
0 Kudos
Reply