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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scerror

Prints error messages.

Syntax

amsDirect.simcntl scerror boolean t | nil

Values

 

t

The simulator prints error messages. This is the default.

nil

The simulator does not print error messages.

Description

This variable determines the value assigned to the options error option in a generated simulation control file.

Example

You set the variable

amsDirect.simcntl

scerror boolean nil

In response, the generated simulation control file contains

amsOptions options + error = no

April 2004

484

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scerrpreset

Specifies a collection of parameter settings for the analysis. The collection you specify affects simulation speed and accuracy.

Syntax

amsDirect.simcntl scerrpreset cyclic "moderate" | "conservative" | "liberal"

Values

 

moderate

Simulation accuracy approximates a SPICE2 style simulator.

conservative

Simulation is the most accurate but also the slowest. This setting

 

is appropriate for sensitive analog circuits.

liberal

Simulation is fast but less accurate. This setting is suitable for

 

digital circuits or for analog circuits that have only short time

 

constants.

Description

This variable determines the value assigned to the tran errpreset option in a generated simulation control file.

Example

You set the variable

amsDirect.simcntl

scerrpreset

cyclic "conservative"

In response, the generated simulation control file includes

amsAnalysis tran

+stop = 0.001

+errpreset = conservative

April 2004

485

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scfastbreak

Specifies the evaluation method to use for VHDL-AMSbreak statements.

Syntax

amsDirect.simcntl scfastbreak boolean t | nil

Values

 

t

Requests a method of evaluating VHDL-AMS break statements

 

that is often faster than the default method. Under some

 

circumstances, the method chosen by setting scfastbreak to

 

t does not comply with the VHDL-AMS standard. Possible

 

non-compliance with the standard arises when the break

 

statement is associated with a discontinuity that causes a

 

zero-delay Q’ABOVE event. The Q’ABOVE event might be

 

reported with a tiny delay, rather than the expected zero delay.

 

This method might also produce simulation results that differ

 

slightly from the results obtained when the default method is

 

used.

nil

Requests the break statement evaluation method that complies

 

strictly with the VHDL-AMS standard. This is the default.

Example

amsDirect.simcntl scfastbreak boolean t

Directs the simulator to use the potentially faster method of evaluating VHDL-AMS break statements.

April 2004

486

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scgmin

Specifies the minimum conductance across each nonlinear device.

Syntax

amsDirect.simcntl scgmin string "conductance"

Values

conductance

The minimum conductance.

Description

This variable determines the value assigned to the options gmin option in a generated simulation control file.

Example

You set the variable

amsDirect.simcntl

scgmin string "1e-11"

In response, the generated simulation control file contains

amsOptions options + gmin = 1e-11

April 2004

487

Product Version 5.3

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