Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
AMS.pdf
Скачиваний:
70
Добавлен:
05.06.2015
Размер:
2.68 Mб
Скачать

Virtuoso AMS Environment User Guide

E

Compiling Cadence-Provided Libraries

This appendix explains the purpose and use of the amsLibCompile tool.

Purpose of the amsLibCompile Tool on page 646

Running the amsLibCompile Tool Manually on page 646

April 2004

645

Product Version 5.3

Virtuoso AMS Environment User Guide

Compiling Cadence-Provided Libraries

Purpose of the amsLibCompile Tool

The purpose of the amsLibCompile tool is to compile the Verilog modules in the following

Cadence provided libraries:

ahdlLib

basic

bmslib

rfLib

sample

The amsLibCompile tool runs automatically during the post-load phase of the amsEnv kit installation process. Before the tool runs, either automatically or manually, ensure that:

The kits containing the referenced libraries are installed so that the libraries exist in the hierarchy

The Verilog compiler, ncvlog, is in the executable search path ($PATH)

If libraries fail to compile during the installation process, or if the libraries need to be recompiled for use with a different version of the NC tools, you can run amsLibCompile manually.

Running the amsLibCompile Tool Manually

If the libraries listed in the previous section do not compile successfully during the installation process, or if you need to recompile the libraries for use with a different version of the LDV tools, you can run the amsLibCompile tool manually.

To run the amsLibCompile tool manually,

You must have write permission to the libraries

You must start the amsLibCompile tool from the root of the DFII installation hierarchy. In other words, you must start the tool in the directory that contains the tools directory

Example

Assume there are two LDV installations available:

/ams/ldv50/s1

April 2004

646

Product Version 5.3

Virtuoso AMS Environment User Guide

Compiling Cadence-Provided Libraries

/usr2/ldv51

Also assume that, of these two, your $PATH includes only /ams/ldv50/s1.

1. Run the amsLibCompile command.

amsLibCompile

The tool prompts you to select one of the following responses:

1)Add an LDV installation directory

2)Compile with /ams/ldv50/s1

3)Quit

2.The LDV hierarchy listed is not the one you want to use, so select the first option to add another hierarchy:

1

The tool prompts you as follows:

Enter path (as returned by ncroot command):

3.Type the fully-qualified path to the hierarchy containing the ncvlog executable that you want to use to compile the libraries.

/usr2/ldv51

The tool adds this path to the list of LDV hierarchies.

4.When asked to do so, press Enter to continue:

The tool returns to the numbered menu, which now includes your newly-entered path to the LDV hierarchy:

1)Add an LDV installation directory

2)Compile with /ams/ldv50/s1

3)Compile with /usr2/ldv51

4)Quit

5.Choose the number that corresponds to the LDV hierarchy that you want to use to compile the libraries:

3

The tool processes each of the libraries in turn, printing status messages about the success or failure of each compilation.

6.When asked to do so, press Enter to continue:

7.When you are done compiling libraries, type the number corresponding to Quit

4

Note: Compiling the libraries with ncvlog from different versions of the LDV hierarchy creates separate, version-specific.pak files in your libraries so that they can later be used with the different versions of AMS Designer.

April 2004

647

Product Version 5.3

Virtuoso AMS Environment User Guide

Compiling Cadence-Provided Libraries

April 2004

648

Product Version 5.3

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]