Abstract
When we opened Modelsim-Altera, we can see that the producer has already added the libraries of mega function of Quartus II. Can we add permanent library mapping on our own?
Introduction
Use environment: Modelsim-Altera 6.3g _ p1 (with Quartus II 8.1)
As we all know, Modelsim se is faster than Modelsim-Altera, and the simulation speed is also faster, however, the biggest feature of Modelsim-Altera is that the Lib of Altera mega function has been mapping, so that we can easily simulate it. If we have a created Lib in Modelsim, we hope that, like Modelsim-Altera, we can perform automatic mapping every time we open the blockchain. What should we do?
Step 1:
Use NotePad to Open c: \ Altera \ 81 \ modelsim_ AE \ ModelSim. ini. This is a unique feature. First, change it to "customizable 』.
Step 2:
Add the library mapping in the [library] section, for example, my_lib = C:/my_lib/. Note that it is the skew of UNIX runtime, not the reverse skew of Windows runtime. The last example is as follows:
[Library]
My_lib = C: / My_lib
; Altera specific primitive library Mappings
Vital2000 = $ Model_tech /../ Vital2000
IEEE = $ Model_tech /../ IEEE
OpenGL = $ Model_tech /../ OpenGL
STD = $ Model_tech /../ STD
Std_1_skit = $ Model_tech /../ Std_1_skit
Synopsys = $ Model_tech /../ Synopsys
Step 3:
Store ModelSim. ini in the memory and change the modularity to "unique 』.
Step 4:
After you restart Modelsim, you can see that my_lib has been added to library mapping.
See also
(Original) How to Use Modelsim to simulate megafunction or LPM? (SOC) (volume core) (Modelsim)