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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

netlistUDFAsMacro

Determines whether user-defined functions (UDFs) are flagged as errors or are converted to macro references. AMS Designer does not provide a graphical interface for setting this variable.

Syntax

amsDirect.vlog netlistUDFAsMacro boolean t | nil

Values

 

t

Specifies that the netlister is to convert UDFs to macro

 

references.

nil

Specifies that the netlister is to flag UDFs with errors and not

 

produce a netlist. This is the default.

Description

amsDirect.vlog netlistUDFAsMacro boolean t

Tells the AMS netlister to convert UDFs to macro references. For example, the following schematic uses UDFs to specify the value of the resistors.

The netlister uses equivalent macro references in the netlist.

resistor #(.r(‘f1(1.0))) (* ... *) R1 ( ... ); resistor #(.r(‘f2(1.0))) (* ... *) R1 ( ... );

April 2004

456

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

The referenced macros must be defined in an accessible location, as described in“Preparing to Netlist User-Defined Functions” on page 140.

April 2004

457

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

neverwarn

Suppresses all warning messages.

Syntax

amsDirect.vlog neverwarn boolean t | nil

Values

 

t

Suppresses all warning messages.

nil

Warning messages are displayed. This is the default.

April 2004

458

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

noline

Tells the compiler not to locate the source line of errors, potentially improving performance.

Syntax

amsDirect.vlog noline boolean t | nil

Values

 

t

The compiler does not locate the source line of errors.

nil

The compiler locates the source line of errors. This is the default.

April 2004

459

Product Version 5.3

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