2017-04-09 168 views
0

我試圖在Quartus中使用矢量波形文件在我的VHDL設計中使用仿真波形工具進行功能仿真。然而,當我來運行模擬我得到以下錯誤:哪裏可以在Quartus Prime Lite中安裝用於功能仿真的編譯器件庫?

# ** Error: ORB-SLAM.vho(31): Library maxv not found. 
# -- Loading package TEXTIO 
# -- Loading package std_logic_1164 
# -- Loading package std_logic_arith 
# ** Error: ORB-SLAM.vho(34): (vcom-1136) Unknown identifier "MAXV". 
# 
# ** Error: ORB-SLAM.vho(36): VHDL Compiler exiting 
# End time: 12:57:23 on Apr 09,2017, Elapsed time: 0:00:00 
# Errors: 3, Warnings: 0 
# ** Error: C:/Modeltech_pe_edu_10.4a/win32pe_edu/vcom failed. 
# Executing ONERROR command at macro ./ORB-SLAM.do line 3 

Error. 

我相信這可能有一些做的ModelSim(這是安裝在我的計算機上),或者安裝了正確的庫的Quartus沒有設備我試圖模擬 - 在這種情況下是MAXV。對於我從Altera網站下載的所有器件,我都有一些.qdz文件,我已經將它們安裝在Quartus中,所以我強烈懷疑我需要使用Quartus的EDA模擬庫編譯器爲Modelsim編譯這些文件,不知道在哪裏輸出它們以使其工作。任何幫助將不勝感激!

感謝, 馬修

回答

2

我懷疑你需要編譯庫裏面的ModelSim MAXV,就像你編譯任何其他VHDL(即不需要特殊的工具)。以下是我們的一個培訓課程的說明,這些課程用於編譯Cyclone IV(非MAXV)。我可以調整他們的MAXV,但這將涉及我做一些研究,你可以這樣做:

To simulate the gate-level netlist, you will need to compile the generated simulation model in ModelSim. This references libraries called

altera 

and

cycloneive 

If you are using ModelSim Altera Edition, precompiled version of these libraries are provided and so you can miss out this step. If you are using any other version of Modelsim, you will need to compile these libraries yourself:

Create a new library called altera . Compile into this library the following source files, which you will find in the quartus/eda/sim_lib directory of the Quartus installation.

altera_primitives_components.vhd 
altera_primitives.vhd 

Create another new library called cycloneive .

Compile into this library the following source files, which you will also find in the quartus/eda/sim_lib directory of the Quartus installation.

cycloneive_atoms.vhd 
cycloneive_components.vhd 
+0

我知道你回答了這個問題,但感謝您的幫助! – Omnomnious

相關問題