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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

logFileAction

Controls the generation of log files.

Syntax

amsDirect.vlog logFileAction cyclic "Overwrite log file" | "Append log file" |

"No log file"

Values

 

Overwrite log file

Overwrites the log file each time ncvlog runs. This is the default.

Append log file

Appends all ncvlog log information to a single file.

No log file

Specifies that no log file be created.

Examples

The ams.env variable

amsDirect.vlog logFileAction cyclic "Overwrite log file"

generates an ncvlog command similar to the following.

ncvlog

-logfile /usr1/cds11752/alpha6/test8/SAR_A2D/tutorial_run/ncvlog.log

The ams.env variable

amsDirect.vlog logFileAction cyclic "Append log file"

generates an ncvlog command similar to the following.

ncvlog

-logfile /usr1/cds11752/alpha6/test8/SAR_A2D/tutorial_run/ncvlog.log -append_log

The ams.env variable

amsDirect.vlog logFileAction cyclic "No log file"

generates an ncvlog command similar to the following.

ncvlog -nolog

April 2004

420

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

logFileName

Sets the name of the log file.

Syntax

amsDirect logFileName string "logFileName"

Values

 

logFileName

Specifies the name of the log file. The default is

 

ams_direct.log.

Description

When the AMS netlister processes a design, it creates a log file that contains errors, warnings, and informational messages about the design. You can use this variable to name the log file.

The logFileName that you specify with this variable interacts with the CDS_LOG_PATH environment variable to determine the actual log file name that is used.

If logFileName is an absolute path, the log file is written tologFileName.

If logFileName is a relative path and

CDS_LOG_PATH is null, logFileName is placed in the current directory.

CDS_LOG_PATH is non-null, the value of CDS_LOG_PATH is prepended to the logFileName.

Setting both logFileName and the CDS_LOG_PATH to absolute paths causes a fatal error.

Note that the -LOg option of the amsdirect command takes precedence over the logFileName variable. For more information, see “Netlistingfrom the UNIX Command Line” on page 70.

Examples

The logFileName variable is not used and CDS_LOG_PATH environment variable is unset. The default logFileName is used and log data goes to ams_direct.log in the current directory.

April 2004

421

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

The logFileName variable is not used and CDS_LOG_PATH environment variable is set to the absolute path

/usr1/dave/test7

Log data goes to

/usr1/dave/test7/ams_direct.log

The logFileName variable is set to the absolute path

/usr1/dave/test8/test8_log2

The CDS_LOG_PATH environment variable is set to the absolute path

/usr1/dave/test8

The logFileName variable takes precedence and the log data is written to

/usr1/dave/test8/test8_log2

The logFileName variable is set to the relative path

./usr1/dave/test8/test8_log2

The CDS_LOG_PATH environment variable is set to

/usr1/dave/test8

In this case, the CDS_LOG_PATH is prepended to the logFileName and log data goes to

/usr1/dave/test8/usr1/dave/test8/test8_log2

April 2004

422

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

macro

Defines macros for thencvlog command.

Syntax

amsDirect.vlog macro string "macros"

Values

 

macros

Macros to be defined. The format must be as illustrated in the

 

following example. The default is an empty string.

Example

amsDirect.vlog macro string "4-gate2-or4-slow8-'16’h03'"

Generates an ncvlog command similar to the following.

ncvlog

-define gate=or -define slow=16’h03

April 2004

423

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

markcelldefines

Inserts ‘celldefine and ‘endcelldefine compiler directives to tag module instances as cell instances.

Syntax

amsDirect.vlog markcelldefines boolean t | nil

Values

 

t

Inserts ‘celldefine and ‘endcelldefine compiler

 

directives to tag module instances as cell instances.

nil

Does not insert ‘celldefine and ‘endcelldefine compiler

 

directives to tag module instances as cell instances. This is the

 

default.

Example

 

amsDirect.vlog

markcelldefines boolean t

Generates an ncvlog command similar to the following.

ncvlog -libcell

April 2004

424

Product Version 5.3

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