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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scskipstop

Syntax

amsDirect.simcntl scskipstop string "0.0"

Values

The default is 0.0.

April 2004

528

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scspeed

Specifies the setting for the speed dial on thePerformance pane of the AMS Options window. The Speed dial setting establishes the tradeoff between simulation performance and accuracy by writing the options speed parameter to the analog simulation control file.

Generally, higher settings result in better performance but with some loss in accuracy.

Syntax

amsDirect.simcntl scspeed int 0 | 1 | 2 | 3 | 4 | 5 | 6

Values

 

0

The options speed parameter is not written to the simulation

 

control file, effectively turning the speed dial off and allowing the

 

underlying settings to take their default values (unless they are

 

individually overridden). This is the default.

1

Writes options speed = 1 to the analog simulation control file.

2

Writes options speed = 2 to the analog simulation control file.

3

Writes options speed = 3 to the analog simulation control file.

4

Writes options speed = 4 to the analog simulation control file.

5

Writes options speed = 5 to the analog simulation control file.

6

Writes options speed = 6 to the analog simulation control file.

The scspeed variable sets values for the following fields in the AMS Options window. If you then change the value in one of these fields, the new value overrides the value set by the scspeed variable.

Pane

Field

For more information, see

 

 

 

Tran Analysis

Error preset

“scerrpreset” on page 485

Performance

Node reduction

“scmaxrsd” on page 501

 

threshold

 

Convergence/Accuracy

Reltol

“screltol” on page 518

Convergence/Accuracy

Vabstol

“scvabstol” on page 544

April 2004

529

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

Pane

Field

For more information, see

 

 

 

Convergence/Accuracy

Iabstol

“sciabstol” on page 490

Tran Convergence/Accuracy

Lteratio

“sclteratio” on page 497

Tran Convergence/Accuracy

Relref

“screlref” on page 517

Tran Convergence/Accuracy

Integration method

“scmethod” on page 504

Tran Convergence/Accuracy

Maxstep

“scmaxstep” on page 502

 

 

 

Example

amsDirect.simcntl scspeed int 3

Causes the environment to write the following statements to the analog simulation control file.

amsOptions options + speed = 6

In addition, the fields affected by thescspeed variable change to reflect the corresponding values.

Field

Value

 

 

Error preset

moderate

Node reduction threshold

<Value defaulted>

Reltol

<Value defaulted>

Vabstol

1e-6

Iabstol

1e-12

Lteratio

<Value defaulted>

Relref

<Default value>

Integration method

<Default value>

Maxstep

<Value defaulted>

 

 

April 2004

530

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scspscflag

An internal variable used by AMS Designer. Do not change this variable manually.

Syntax

amsDirect.simcntl scspscflag boolean t | nil

Values

t

nil

Description

An internal variable used by AMS Designer.

April 2004

531

Product Version 5.3

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