(Reporter) how to add permanent library ing to Modelsim? (SOC) (Modelsim)

Source: Internet
Author: User
Tags synopsys

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.